-
Posts
404 -
Joined
-
Last visited
-
Days Won
2
Everything posted by zoeck
-
Can I choose different templates when writing a page?
zoeck replied to Boost's topic in Getting Started
I think if all blog posts need the same fields, Berhard's solution is better. So you have to set the fields only once. But of course your solution works too ? -
Can I choose different templates when writing a page?
zoeck replied to Boost's topic in Getting Started
You can create different templates that have different designs (templatename.php) The author must select which template/design to use when creating a page. A template defines which fields are available on a page and which template file (/site/templates/templatename.php) is used. The content/text is then defined on a page. -
Bernhard has already posted a nice code example here ?
-
Try {$item->title}, does it work then? "<h3><a href='{$item->url}'>{$item->title}</a></h3>" .
-
Do I need the "Pro" plugins to build a full website?
zoeck replied to Castle's topic in Getting Started
You can program everything without the Pro modules. But with the modules you can implement many things easier, better and faster. Especially the ProFields are a must have in my opinion ? -
Only if a product can have multiple vendors ? So probably not… ? Just have a Look in modules-> Core -> install (available since PW Version 3.0.184)
-
Do you mean decimal field? Float is not the right field for prices ?
-
Did you select the correct template (not basic page) for the page you created? just edit the Page and Go to the page settings tab and Check the selected Template. your new „impressum.php“ file is in /site/templates? Which profile did you select during installation? eventually the Same Problem here ? ?
-
Do you know Padloper? https://processwire.com/talk/forum/62-padloper-support/ But it’s Not free: https://processwireshop.pw/padloper-2/padloper-2-buy-now/
-
Changelog Version Description 8.0.0 count() will now throw TypeError on invalid countable types passed to the value parameter. 7.2.0 count() will now yield a warning on invalid countable types passed to the value parameter. https://www.php.net/manual/en/function.count.php?
-
Just replace if($page->hasChildren() || count($page->siblings(false))) with if($page->hasChildren())
-
<?php namespace ProcessWire; $showsidebar = 0; // Set $showsidebar to 1 if the page has children or siblings if($page->hasChildren() || count($page->siblings(false))) $showsidebar = 1; if($showsidebar) { // Code with Sidebar } else { // Code without Sidebar } I think this should work, untested ?
-
templates Create Template in Admin from inside folder
zoeck replied to Micthew's topic in API & Templates
Just have a look ? It is not adjustable via the admin panel as far as I know. Only via this workaround -
I have also been using Latte for a few weeks. Thanks to Bernhard ? It's just so awesome to use latte. But you also learn new tricks every day. I'm looking forward to the public version of RockFrontend (by the way a brilliant module ? thanks again Bernhard!)
-
On one Website, i use "wowBook", but it's not free and unfortunately also requires jQuery... Have also been looking for a better solution for a long time.
-
Or use HTMX with _hyperscript ?
-
Megapixel is Not the Filesize ? It defines how many pixels an image has 2 Megapixel = 2.000.000 Pixel = approx 1731*1155 (= 1.999.305 Pixel)
-
I think it‘s the „Maximum Megapixel“ Configuration ? it‘s set to 2MP, it‘s too low for your Image ?
-
Just open your PW Admin Panel -> Modules -> Install Language Support Languages Support - Fields Languages Support - Page Names Languages Support - Tabs
-
Multi-lingual support video marked as private
zoeck replied to cst989's topic in Multi-Language Support
I think you should mention @ryan ?- 1 reply
-
- 1
-
DOMiD Labs – Microsite for a museum-related project
zoeck replied to schwarzdesign's topic in Showcase
Can you shortly explain how you use latte in PW? Do you use the "Template Engine Factory" module for this? Latte sounds very interesting! -
Timestamp value of date field always -1 day in the past
zoeck replied to Stefanowitsch's topic in General Support
I think this has to do with your time zone ? Do you have the Language Support module installed? If yes, go to Administration -> Languages and select the appropriate language Then edit the "wire--modules--languagesupport--languagesupport-module.json" file and set your locale in "C" (example: de_DE.UTF-8) Can you post a timestamp as an example? -
I think Wanze no longer uses PW, it was written here somewhere... "LAST VISITED October 23, 2021"
-
Nice Page! But why didn't you just adapt the admin theme to the CI? Thanks to @bernhard this is now very simple ? https://processwire.com/blog/posts/pw-3.0.179/