-
Posts
7,529 -
Joined
-
Last visited
-
Days Won
160
Everything posted by kongondo
-
Warning Message: Pdo (Pdo_Mysql) Is Required (For Mysql Database)
kongondo replied to doolak's topic in General Support
Cool...let us know how it goes.. -
Warning Message: Pdo (Pdo_Mysql) Is Required (For Mysql Database)
kongondo replied to doolak's topic in General Support
Version of PW? See also https://processwire.com/talk/topic/6279-pdo-enabled-but-not-recognized-by-pw/ -
Warning Message: Pdo (Pdo_Mysql) Is Required (For Mysql Database)
kongondo replied to doolak's topic in General Support
Apache logs errors? -
Warning Message: Pdo (Pdo_Mysql) Is Required (For Mysql Database)
kongondo replied to doolak's topic in General Support
Are your other sites still working fine? No Apache error logs? -
Nico has already shown you an example ....Have you tried echoing out the 'credits' field in the normal PW way? i.e. inside the foreach in Nico's example... echo $image->credits
-
You mean this module by Ryan? https://processwire.com/talk/topic/417-extending-image-field/?p=3351
-
30 minutes with PW and he has an opinion!...Anyway, horses for courses
-
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?