-
Posts
500 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Gideon So
-
{solved} find a field from parent pages by ID
Gideon So replied to neophron's topic in General Support
Hi @neophron I think the findIDs function only returns the IDs of the found pages but not full wire page objects. https://processwire.com/api/ref/pages/find-i-ds/ You should try using: <?php foreach ($pages->findMany('id=1223|1224|1225, sort=-created')->children as $item) : ?> or <?php foreach ($pages->find('id=1223|1224|1225, sort=-created')->children as $item) : ?> Gideon -
Hi @wishbone I fully understand your feeling. I came from a non coder background, too. If you are willing to pay for a working contact form. I suggest you to buy Ryan's FormBuilder. Gideon
-
Hi @wishbone Maybe you can take a look at this module. Gideon
-
Hi @benbyf Read the following post to solve aiom error with php8. Gideon
-
Hi @Spiria The backend looks amazing. Would you please share how you make it? Gideon
-
Module: AIOM+ (All In One Minify) for CSS, LESS, JS and HTML
Gideon So replied to David Karich's topic in Modules/Plugins
This error also happens with PHP 8. Modify line 707 $_timestamp = ''; to $_timestamp = null; Solve the error. Gideon -
How to setup a exsisting website to multilanguage
Gideon So replied to Angelino's topic in General Support
Hi @Angelino Yiu need to install language support core module first. Then install multilanguage text field, multilanguage textarea field and multilanguage page name. Then you can add new language to your site at setup -> Language Gideon -
@adrian Thanks. I will check it out later. Gideon
-
Hi @esspea Maybe you can post the css link html code here and tell us some more about your development environment. Then we can help. Gideon
-
->find('template=repeater_xxx') only works when logged in
Gideon So replied to joe_g's topic in General Support
Hi @joe_g Repeaters are actually pages resides under the admin page which is not accessible to roles other than superuser. Gideon -
->find('template=repeater_xxx') only works when logged in
Gideon So replied to joe_g's topic in General Support
Hi @joe_g Try add check_access=0 to your selector. https://cheatsheet.processwire.com/selectors/built-in-page-selector-properties/check_access-0/ Gideon -
@Roych , Use hanna code and hanna code dialog in a ckeditor field may fits your need. Gideon
-
Hi @fruid Try to validate your page with https://validator.w3.org/. Gideon
-
How to programmatically clear the page cache?
Gideon So replied to PawelGIX's topic in General Support
Hi @PawelGIX Sorry. Wrong answer. Gideon -
@wbmnfktr, Tag the wrong guy ?? Gideon
-
Hi @mikeindee, You may try commenting out all the lines in section 8A of the .htaccess file. Gideon
-
Hi @howsoonisnow90, I have updated the code. Please try the updated one. Gideon
-
Hi @kongondo, Thanks for checking my code. Have just updated it. Gideon
-
Hi @howsoonisnow90 <?php $root = $pages->get(1); $children = $root->children; echo "<ul>"; foreach($children as $child) { if($child->id == 0108) { echo "<li>$child->title"; echo "<ul>"; foreach($child->children as $grandchild) { echo "<li>$grandchild->title</li>"; echo "</ul>"; echo "</li>"; } else { echo "<li>$child->title</li>"; } } } echo "</ul>"; Hope this helps. Gideon
-
new website loads ProcessWire 3.x Installer page instead of home page
Gideon So replied to nozero's topic in Getting Started
Hi @nozero, Seems that the variable $indicator is not declared before lline 70. May be it should be $child->indicator? Just a guess. Gideon -
Is /wire/config/install.sql ever used after installation?
Gideon So replied to DrQuincy's topic in Getting Started
Hi @DrQuincy The answer is simply a NO. Gideon