Jump to content

kongondo

PW-Moderators
  • Posts

    7,529
  • Joined

  • Last visited

  • Days Won

    160

Everything posted by kongondo

  1. Cool...let us know how it goes..
  2. Version of PW? See also https://processwire.com/talk/topic/6279-pdo-enabled-but-not-recognized-by-pw/
  3. Are your other sites still working fine? No Apache error logs?
  4. 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
  5. You mean this module by Ryan? https://processwire.com/talk/topic/417-extending-image-field/?p=3351
  6. 30 minutes with PW and he has an opinion!...Anyway, horses for courses
  7. 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
  8. 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...
  9. 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
  10. @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...
  11. Yes. You would need to edit your post using the 'full editor'.....
  12. Have a read here as well for 'Best practices before upgrading' https://github.com/ryancramerdesign/ProcessWire#upgrades
  13. .... Distinguished, Hero, Full member, etc - those come automatically with number of posts (I think)....They are not related to pw-moderator........
  14. Processwire is the tool for building anything ....lots of examples around the forums...
  15. 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....
  16. kongondo

    World Cup 2014

    Stolen from the web :
  17. kongondo

    World Cup 2014

    Why on earth have they given Messi the Golden Ball? Surely, should have been either Mueller, Robben or James Rogdriguez!!!! at least...tsk, tsk...
  18. kongondo

    World Cup 2014

    Well done Germany, congrats! Best team of the tournament, all round very good team. See you in 2018!
  19. 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'
  20. kongondo

    World Cup 2014

    Congrats Dutch on coming 3rd! ...Brazil? What Brazil?
  21. 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?
  22. 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 )
  23. 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..
  24. OK, I'll assume it works then?
×
×
  • Create New...