-
Posts
468 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Gideon So
-
Show page reference field on another page and connect
Gideon So replied to Roych's topic in API & Templates
Hi @Roych <?php $galeries = $pages->find("template=gallery-album"); ?> <?php foreach ($galeries as $galery) :?> <a href="<?=$galery->select_event_gallery->url; ?>">View Gallery</a> <?php endforeach;?> Gideon -
How to customize/modify the HTML generated by PW?
Gideon So replied to Lumi's topic in Getting Started
Hi @Lumi There is no ctime field in processwire. Please follow my example or Bernahrd's example and use created instead. Gideon -
Best way to move a Processwire site to a new server 2020?
Gideon So replied to modifiedcontent's topic in General Support
Hi @jon9china Nothing special to switch domain. Just remember to edit your config.php file and change $config->httpHosts to your new domain. $config->httpHosts = array('yournewdomain.com'); Gideon -
How to customize/modify the HTML generated by PW?
Gideon So replied to Lumi's topic in Getting Started
Hi @Lumi You can use the sort function. https://processwire.com/api/ref/fieldtypes/sort/ Something like the following I believe would work. $your_repeaters = $page->your_repeater_field->sort('created'); foreach($your_repeaters as $your_repeater) { //Your stuff goes here } Gideon -
Hi @bbeer Maybe you need to check your MYSQL / MariaDB version. Gideon
-
multi-instance and unpublished repeater items
Gideon So replied to Jennifer Stock's topic in General Support
Hi @Robin S You are right. The output formatting is off if pages are pulled from another ProcessWire instance. I am not sure whether it is intentional or a bug. For me it is not intuitive to use. Gideon -
multi-instance and unpublished repeater items
Gideon So replied to Jennifer Stock's topic in General Support
Hi @Jennifer Stock I am not sure I understand your situation. Do you have 2 ProcessWire sites which live in different folders. You want to access site B web data in site A? Do you set up ProcessWire multi-instances in site A? Gideon -
Hi @Michael PW Dev Welcome to the forum. The LanguageSupportFields Module is a core module that you don't need to download. Just click the install button will install the module and other required modules. Gideon
-
Hi @wishbone Glad that you sorted it out. Keep happy coding with ProcessWire. Gideon
-
Hi @wishbone $form[email] should be $form['email'] Gideon
-
Hi @wishbone Try change the following line to "Reply-To:" . $form[email] . "\r\n" . Gideon
-
Hi @Vincenzo If the folder permission without the execution bit then the affected user cannot enter the folder. Yes. You need to make the /var/www/html folder with the execution bit for user www-data. Gideon
-
Hi @cosmicsafari If I remember correctly, The dropdown value MUST match the the field's settings in FormBuilder. Otherwise FormBuilder won't process the form. I think you have to process the form with one of the formbuilder hook. https://processwire.com/store/form-builder/hooks/ Gideon
- 1 reply
-
- formbuilder
- api
- (and 4 more)
-
Hi @wbmnfktr Welcome to the TailwindCSS party. It is fun and the new always JIT and standalone CLI is awesome. Gideon
-
Hi @Thromisios Welcome to the PorcessWire community. I came from non coder background, too. I first started learning ProcessWire basics by following this tutorial. Gideon
-
Do you check if the form is submitted to avoid double submit of the form?? Gideon
-
Look like it is related to MySQL 8.0.17
-
Hi @Fuzzy No screenshot found and is there any error message you can find from the log? Gideon
-
He needs a A 13-field form and a 13-field form is not a simple contact form IMO. Gideon
-
{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