Jump to content

zoeck

Members
  • Posts

    337
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by zoeck

  1. And why should this be? As you can see from Berhard's example, it is possible.
  2. Does the selection page then also have its own domain? Or how can it be reached, since the pages have their own domains?
  3. I think if the sites should not access the same data, then it is best to use 2 individual installations. This way you are most flexible and you can use processwire "normally" πŸ˜‰
  4. Aren't these actually two separate websites that have nothing to do with each other, Apart from a common landing page? Or should page 1 be able to access data from page 2? (this is not clear from your graphic) Or just have a look at the multi site support: https://processwire.com/docs/more/multi-site-support/ (but I don't think you need that at all?)
  5. Do you already have the numbers in the pages (as a field) that you show in the selection? Because you can change the label field in the input tab (from the page select field) to "Custom Format" and also display multiple fields.
  6. Just have a look at the Hanna Code Module Example πŸ˜‰ https://processwire.com/modules/process-hanna-code/ <?php namespace ProcessWire; foreach($page->children as $child) { echo "<p><a href='$child->url'>$child->title</a>"; } You are probably missing the processwire namespace in the php file πŸ˜‰
  7. Go to your Repeater Field configuration, and then To the Details tab. thereβ€˜s a β€žRepeater Element Labelβ€œ πŸ˜‰ you can use the Repeater fields for the label…
  8. Looks like there is an exitIf node now πŸ˜‰ But it seems there will be no include with condition and only one template 😞 {if $foo == 'bar'}{include 'somefile.latte'}{/if}
  9. I honestly haven't even been thinking about it, but I actually had a case where I used this - without "renderIf". But this is actually more of a workaround, as I simply include an empty latte file (the "blank.latte" file is displayed in the Tracy Panel) {include $pages->find("template=test")->count() ? "test.latte" : "blank.latte"} I think that is "a bit renderIf" in latte syntax πŸ˜‰ Two templates have to be specified at all times, otherwise an error will be displayed. It would be very cool if it would also work with a single template... I think currently you only have this benefit πŸ˜„
  10. The panel is quite interesting if you have a latte project, with layouts, different sections etc. - This makes it easy to see which files are being used. I think I use RockFrontent differently than you do πŸ˜„ Actually, I mainly use the standard functions of Latte as described in the documentation, without "extensions" of RockFrontend (But I use the styles/script functions πŸ˜‰). Of course, this may also have something to do with the fact that I'm still using latte for the first project. What real drawbacks do you see in the panel? Apart from the fact that it doesn't fit so well with your workflow I think I need to take a closer look at the panel again
  11. Hello @bernhard, as posted in the other thread, I tried adding the Latte Tracy Bar to RockFrontend. Just Added this to the RockFrontend.module.php: // Top of the Module add the LattePanel Class use Latte\Bridges\Tracy\LattePanel; // Add inside the "protected function renderFileLatte($file, $vars)" // After "$latte = new Engine();" add this to initialize the LattePanel if($this->modules->isInstalled("TracyDebugger")) LattePanel::initialize($latte); After that you have the LattePanel in Tracy πŸ˜‰ I have not been able to detect any problems so far.
  12. Or Check this Post from bernhard: (Important: only works with the new master version 3.0.210 πŸ˜‰)
  13. Have a look at this Thread and/or Module πŸ˜‰ https://processwire.com/talk/topic/2458-module-fieldtypeconcatenate/
  14. <div id="content"> <?php // get all children as $child foreach($page->children() as $child) { // get all images and output the single images foreach($child->get('images') as $image) { $thumb = $image->width(250); ?> <div class='favs'> <a href='<?=$image->url?>' data-uk-lightbox="image"> <img src='<?=$thumb->url?>' alt='<?=$child->title?>'> </a> <div class='text-favs'> <span><?=$child->title?></span> </div> </div> <?php } } ?> </div> Something like this πŸ˜‰ I think you should have another look at the php foreach function how it works πŸ˜‰
  15. You Can change what Field is Shown inside of the Admin Panel, you can find it in the Modules -> Core -> Page List -> Config It is also possible to change this setting for each template individually, Just Go to your template and Open the Advanced tab, thereβ€˜s a config for this πŸ˜‰ Just add a β€žShort Titleβ€œ field to your template and Show it in the Page tree…
  16. Okay then I'll have a look at it, I hope it's not that difficult to implement πŸ˜‰
  17. Happy new year πŸ˜‰ and another rockfrontend question πŸ˜„ I saw this information in the Latte documentation: https://latte.nette.org/en/develop#toc-debugging-and-tracy Is there an easy way to use this with the Tracy debugger and RockFrontend module? is it possible to add it here? https://github.com/baumrock/RockFrontend/blob/c7ac651f198f6470710b814ec50530b71dcfafb2/RockFrontend.module.php#L1443 When the templates get a bit bigger and more nested, that's definitely interesting πŸ˜‰
  18. Sorry that i hijack this post πŸ˜‰ But how did you divide the fields into 2 columns? That looks really good πŸ™‚ Are you using "Fieldset (Open)" for this?
  19. Config() is your Problem πŸ˜‰ (it’s only available when the functions api is activated) <?php echo $config->urls->httpRoot; ?>auction_longpolling.php
  20. I hope no beer from Kulmbach πŸ˜‰ Greetings from Bamberg πŸ˜‰
  21. Looks to me like $parentdate is never set? (before $parentdateminusstart)
  22. Theres also the "Combo ProField": https://processwire.com/store/pro-fields/combo/ But the ProFields are not free of charge πŸ˜‰
  23. Just have a Look in the Core modules and install the Clone Core Module… This should solve your problems πŸ˜‰
Γ—
Γ—
  • Create New...