-
Posts
7,479 -
Joined
-
Last visited
-
Days Won
146
Everything posted by kongondo
-
Trouble with install (Rackspace Cloudsites)
kongondo replied to adamspruijt's topic in General Support
Download it from Github (for reference, you would need to change the branch to 'dev' before downloading)...but here you go https://github.com/ryancramerdesign/ProcessWire/archive/dev.zip -
background slideshows? @Reems What 'other' problems did you encounter with the other scripts? Maybe better to state those here and get (hopefully) solutions rather than use a script that constrains you...
-
About guest, what Adrian meant is that have you by any chance disabled guest view of the pages within the templates of these pages? Look under Access for the templates of the pages that are not working properly...See screenshot below.. Btw, normally not a good idea to publicly expose your php info like that
-
@Matthew, I feel you. A string of bad luck? Difficult to assume it is all a coincidence. Will you move to another host? Just curious...
-
Error Applying Method To Images Field In A Module
kongondo replied to DV-JF's topic in Module/Plugin Development
Yes. You would need to edit your post using the 'full editor'..... -
Have a read here as well for 'Best practices before upgrading' https://github.com/ryancramerdesign/ProcessWire#upgrades
-
.... Distinguished, Hero, Full member, etc - those come automatically with number of posts (I think)....They are not related to pw-moderator........
- 13 replies
-
- pw-moderators
- member title
-
(and 1 more)
Tagged with:
-
Release: Rudimentary knowledge base site profile
kongondo replied to marcus's topic in Themes and Profiles
Processwire is the tool for building anything ....lots of examples around the forums... -
Remove Null Fields On Service Pages (Settings)
kongondo replied to Christian's topic in Modules/Plugins
Christian, could you please post your questions relating to Service Pages in that module's forum rather than as their own threads. I'm just getting confused . The forum is here: https://processwire.com/talk/topic/1654-module-pages-web-service-servicepages/ Edited for clarity.... -
Stolen from the web :
-
Why on earth have they given Messi the Golden Ball? Surely, should have been either Mueller, Robben or James Rogdriguez!!!! at least...tsk, tsk...
-
Well done Germany, congrats! Best team of the tournament, all round very good team. See you in 2018!
-
Output description of file field in a repeater
kongondo replied to Thomas108's topic in Getting Started
Let's break this down The name of the repeater: mp3_repeater Having iterated the repeater (foreach), each single repeater instance is assigned the variable: $mp3 $mp3 contains various fields one of which is a file field called: file The field file has its own 'internal' fields such as name, description, etc... Putting this together... $mp3->file->description ...should work. You had a typo in your syntax ($file). Btw, why are you using this? data-src='/processwire/site/templates/audio/$mp3->mp3_url' This should work... data-src='$mp3->file->url' -
Congrats Dutch on coming 3rd! ...Brazil? What Brazil?
-
Is this even possible? A template is tied to a page and its content is mapped to the fields attached to that template. If a page were to use another pages template these relations would be lost....I might be wrong here. Anyway, I don't really get what you are trying to do. Why would you want to use another template at runtime?
-
Tested. This should work... $p_user = wire('user')->name;// set user name $p_page = wire('pages')->get("title=$p_user");// try to get page with the same with user name $p = $this->modules->get('ProcessPageList'); $p->set('id', $p_page->id);// setting the parent page to user name page Edits: Edited code above to show class/module use context... Also edited some typos in your original code (which I also subsequently copy pasted )
-
I think $p->set('id', '12345') requires and integer. $p_page is not an id but an object. Try: $p->set('id', $p_page->id) Untested... If that is not the problem, then it is the $pages->find. If you are getting only one page, use $pages->get instead...since you only need one ID..
-
OK, I'll assume it works then?
-
Hi Alex, Welcome to ProcessWire and the forums... Not sure what error you are getting but I am guessing the problem is the ->id part. A $pages->find will return and array of pages (i.e. there will be multiple ids); so, you only need $pages->find("age>$minAge"). You can then iterate through them. See examples here: http://processwire.com/api/variables/pages/ Secondly, nothing to do with your error, but you need to sanitize your input values first. In this case, you need to do at least this: $minAge = (int) $input->get['minAge']; The above are quick examples...you might need to sort out your double versus single quotes in the selector...I often forget which is which ...I might have missed something....others will correct if I did
- 1 reply
-
- 2
-
What do you mean by no success? I also see that you haven't rendered your form...i.e. echo $form->render();//or return if in a function...
-
Very tense game that was. Commiserations my Dutch friends..... As for Argentina (or the Dutch for that matter)....I don't see them going past the Germans. Barring the impossible, the Germans have it! Best team of the tournament IMO.
-
That's the problem with depending on one player (Neymar)...but yesterday they missed Thiago Silva even more! I still think Germany would have beaten them with these two players around....Brazil never really showed up at this WC and let emotions get in the way too many times...
-
Yes...it was very painful to watch...I was expecting 1 - 0 or 2 -1 to Germany....not the humiliation we saw!
-
Uh, what just happened??! German efficiency in overdrive! Well done guys, sorry Brazil!
-
Mike, Thanks for the article. I haven't finished reading it yet, but it is looking good. I am still on page 1 and noticed this important typo... "...and why we prefer the latter" should be "...and why we prefer the former"