-
Content Count
803 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Store
Downloads
Everything posted by PWaddict
-
There are no differences. Well I just have to enter the urls without http:// and include the http:// on the template file. I'm really curious why is this happening.
-
On another ProcessWire site I have on the same server I don't have that problem.
-
Hi, I have a field that would like to store a url starting with http:// but when I tried to save the page where that field exist, it redirects me to the front end site with 404 error and the page won't be saved. The browsers's address stays the same http://www.mysite.com/admin/page/edit/?id=1022. The same problem happens on both field types URL and Text. If the value starts with http:// then there is a problem. On locahost I don't have that problem. Thanks in advance!
-
I wanted to have a gmail address for all the automated outgoing mail for orders through Padloper but I'm not sure if it's possible. I've contacted my host and we were trying to do it with the help of the Wire Mail SMTP module but without success. It's not really a problem, I created a noreply email under the domain and problem solved. No need for gmail. I could do that at first but that's what happen when you haven't slept for 48 hours... Thanks guys for trying to help.
-
Hi, On localhost when using an email like this root@localhost.com everything was working fine but how can I use a gmail address on a server? Thanks in advance!
-
Default checked radio button within foreach loop ?
PWaddict replied to PWaddict's topic in API & Templates
Thank you very much guys. Great community! -
Check same field value in all children's page ?
PWaddict replied to PWaddict's topic in API & Templates
I used the Soma's version just to be safe. Thanks. -
Check same field value in all children's page ?
PWaddict replied to PWaddict's topic in API & Templates
The maximum children will be about 6. -
Hello again How can I set a default checked radio button within foreach loop? By simply including "checked" within input code, only the last option gets checked but I would like to have the first option as checked. Thanks in advance!
-
Check same field value in all children's page ?
PWaddict replied to PWaddict's topic in API & Templates
Did you edit it? The first one you posted which I got in my email is working perfectly: if(count($pages->get("$page->id")->children("my_field=0"))) { echo "Sold out"; } Thank you guys both for the help! -
Hello, I would like to check if a specific field has 0 value in ALL children of the current page and then echo for example: Sold Out. Can you help me? Thanks in advance!