-
Posts
469 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Gideon So
-
I have a repeater matrix field in which there is a repeater field that container a textarea field. How can I search text in the textarea?? I tried $pages->find("repeater_matrix_field.repaeter_field.textarea=%$q"), but return no results. Any idea how to do it?? Gideon
-
Get last three repeater posts to another template
Gideon So replied to Roych's topic in Getting Started
LimWub, Your code only shows the first 3. Try this: $Events = $pages->get('/Events/')->Events_repeat->find('limit=3,start=-3'); Gideon -
Backend and Frontend Shop Catalogue for PadLoper
Gideon So replied to kongondo's topic in Module/Plugin Development
Hi, Sounds very interesting and useful to many. Gideon -
Hi Adrian, Confirmed this version fixed the problem. Gideon
-
I have the same problem with repeater also. The solution is exclude the repeater page under admin in the module settings. Gideon
-
Uploading and work on PW while page redirects.
Gideon So replied to Speed's topic in General Support
@Speed You are welcome. Even better to change the document root in your web server setting. -
Uploading and work on PW while page redirects.
Gideon So replied to Speed's topic in General Support
it is better to do it the other way. Upload the new site to a sub folder. After you test it, create a redirect in the original folder to redirect all the request to the new site. -
Installed SSL cert, path to assets are now 404
Gideon So replied to biotech's topic in General Support
The .htaccess file come with ProcessWire should work out of the box. The only reason I can think of is that the web server doesn't allow you to override it's default setting values. Do you have access right to the web server config?? -
Problem insert url with sub-domain with underscore
Gideon So replied to Gideon So's topic in General Support
I see. Thanks. Gideon -
Hi, I found that it is not possible to insert a link with underscore in the sub-domain part of a url, for example, my_sundomain.mydomain.com. Once save the page the link becomes "/". Is it intentional or a bug?? Gideon
-
Welcome @handzain. This is a very friendly and helpful community. I believe you will get much help here like I did. Gideon
-
Hi, Done. https://github.com/processwire/processwire-requests/issues/56 Gideon
-
Hi, When upload a file with non ascii file name, all the characters get stripped. Is there any way to retain non ascii like Asian characters in file name?? Gideon
-
Hi, As far as I know, no '+' sign in selector. Gideon
-
Hi, Can you make a screen shot to give us a little more info?? Gideon
-
Outputting the value of the selected radio button (page field)
Gideon So replied to Christophe's topic in API & Templates
Hi, I think it should be $page->nameofthefield->title and $page->nameofthefield->value Gideon -
Can't access to admin page after change admin template to show 404
Gideon So replied to Gideon So's topic in General Support
Oooppps. Too many errors today. Didn't notice it until now. Thanks for reminding me. Edited. Gideon @kongondo -
Can't access to admin page after change admin template to show 404
Gideon So replied to Gideon So's topic in General Support
Hi BitPoet, I did think the same but I have no access to the client's database. I come with another way, make a custom login form to one of the page and login from the page. Then go back to the admin page. Thanks for your quick reply and help anyway. Gideon -
image httpUrl not woring in multi-instance
Gideon So replied to Gideon So's topic in General Support
Hi LostKobrakai, It works as expected. Hope this thread help someone in the future. Big thanks to you two. Gideon -
image httpUrl not woring in multi-instance
Gideon So replied to Gideon So's topic in General Support
Hi Bitpoet, Eventually you are right. In multi-instance environment, you need to call the first object even the limit of the image filed is set to 1. Maybe this is a bug in multi-instance support. Gideon -
image httpUrl not woring in multi-instance
Gideon So replied to Gideon So's topic in General Support
Hi, Yes. You can see it $site = new ProcessWire('/path/to/the/site/','url.of.the.site'); I tried to set the field both automatic and one. By the way $site->pages->get(pageid)->httpUrl works. Gideon -
image httpUrl not woring in multi-instance
Gideon So replied to Gideon So's topic in General Support
Hi BitPoet, Yes. The limit to this field is 1. So I think my syntax is right. Gideon -
Hi, I tried multi-instance and found that I cannot load image from other installation with $image->httpUrl. <?php $site = new ProcessWire('/path/to/the/site/','url.of.the.site'); echo $site->pages->get(pageid)->imagefield->httpUrl; ?> This return nothing. <?php $site = new ProcessWire('/path/to/the/site/','url.of.the.site'); echo $site->pages->get(pageid)->imagefield->url; ?> This only return the page path like site/assets/files/pageid/ I am using PW 3.0.33 Any ideas?? Gideon
-
Hi, Thanks. I will take a look and try. Gideon