-
Posts
485 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Gideon So
-
@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 -
Hi @nozero I believe the only file you need to modify is config.php. You need to modify the following: 1. $config->httpHosts I wonder if your hosting company allow remote access to the DB server. Gideon
-
Hi, The module works well so far but I have just found that it is not working when it is place in the home template. I get the following error message in the browser console. Uncaught TypeError: ProcessWire.config.InputfieldCKEditor is undefined I tried to place the field to other template and it works normally. Any hints?? Gideon
-
Hi @li181 Sorry for my late reply. Seems that your code in the template tries to prepend something that is not a page object to a page array. Would you mind post the code in your template? Gideon
-
Hi @li181 I think you can check Setup -> Logs -> Errors to have more info and then come back for further assist. Gideon
-
Try put $page->children into the custom PHP code field. Gideon
-
Maybe just $page->children in the custom selector field? Gideon
-
Yes. It is OK to add any fields to the user template. I have built a project with this method and see no draw backs so far. Gideon
-
Hi @BillH Thanks for you kind hint. It was the file permission of the assets and modules folder causes the error. It is fixed now. Gideon
-
I migrated a site to a hosting company which provides cPanel to manage the domain. I have some errors like the following: 2021-07-09 05:09:32.453548 [ERROR] [5674] [HTAccess] Failed to open [/home/misfmorg/public_html/site/.htaccess]: Permission denied 2021-07-09 05:09:28.141643 [ERROR] [5674] [HTAccess] Failed to open [/home/misfmorg/public_html/site/assets/files/1058/.htaccess]: Permission denied 2021-07-09 05:09:27.067796 [ERROR] [5674] [HTAccess] Failed to open [/home/misfmorg/public_html/site/assets/files/1093/.htaccess]: Permission denied 2021-07-09 05:09:26.775691 [ERROR] [5674] [HTAccess] Failed to open [/home/misfmorg/public_html/site/assets/files/1091/.htaccess]: Permission denied 2021-07-09 05:09:26.672877 [ERROR] [5674] [HTAccess] Failed to open [/home/misfmorg/public_html/site/assets/files/1099/.htaccess]: Permission denied 2021-07-09 05:09:26.471388 [ERROR] [5674] [HTAccess] Failed to open [/home/misfmorg/public_html/site/assets/files/1092/.htaccess]: Permission denied 2021-07-09 05:09:26.086949 [ERROR] [5674] [HTAccess] Failed to open [/home/misfmorg/public_html/site/assets/files/1053/.htaccess]: Permission denied I checked the permission if the .htaccess file is correct and I wonder why the web server keep searching .htaccess file in every folder in the site assets folder. Any hint is welcome. Gideon
-
Uncaught Wire Exception d/d sort with sort field defined.
Gideon So replied to rick's topic in General Support
Sorry. Wrong thread Gideon -
Hi @Krlos Can you post your code here? Gideon
- 7 replies
-
- styling
- pagination
-
(and 3 more)
Tagged with:
-
Hi @Krlos You can set currentItemClass = 'active'. https://processwire.com/docs/front-end/markup-pager-nav/ Gideon
- 7 replies
-
- styling
- pagination
-
(and 3 more)
Tagged with:
-
Hi @OrinTerry, I think it is the problem of Windows 7 rather than the CMS system. I am afraid that the problem may still persist after you migrate to ProcessWire. Gideon
-
How can invoke ->size() for a image in file field type
Gideon So replied to picarica's topic in General Support
Hi @picarica, Welcome to the forum. size() method only applicable to image field but not file field. Gideon -
I edited my original post. Please take a look. Gideon