Jump to content

gregory

Members
  • Content Count

    37
  • Joined

  • Last visited

Community Reputation

11 Good

About gregory

  • Rank
    Jr. Member

Contact Methods

  • Website URL
    http://www.pixeldev.it

Profile Information

  • Gender
    Male
  • Location
    Italy
  1. Thanks, that was what I was looking for! Thank you all for the support.
  2. Hi guys. I need to create a field (link field) that allows me to select the internal pages to use as links. Do you have any suggestions? Thank you.
  3. Hi @flydev, have you got to test it with Form Builder? Thank You.
  4. Thanks @kongondo, it works perfectly!
  5. Hi guys. I would like to show only the first image as a preview of a slideshow. The code below shows the first image but is repeated. Do you know a solution? Thank you //Call image foreach($story->galleria as $img) { echo "<img src='{$story->galleria->first()->url}' alt='{$story->galleria->first()->description}'>"; }
  6. Hi guys, I need help. how do I translate Next Page? <?php if($page->next->id) {echo "<div class='float-right'><a class='button' href='{$page->next->url}'> Next Page </a></div>";} ?> I usually use this: <?php $lang = $user->language->name; if($lang == 'default') {echo "Next Page";} else {echo "Pagina successiva";} ?> or <?php echo __("Next Page"); ?> Thanks
  7. Hi, does the module also support multiple languages?
  8. Now the new websites I build them only with Processwire. It is a powerful CMS and the community is very serious and professional.
  9. To be exact, I did this: if(count($story->imagefieldname)) { ... } Thank you again!
  10. Thanks so much! Now it works perfectly. Can I offer you a coffee?
  11. It is right (sorry I come from WP). But in my case I have a page with a list of articles and the image field is also called in the article that has no image.
  12. Thank You for your response. In my case I need to write this, because I am in the post archive: if ($ story-> imagefieldname) { ... } But it does not work as it should because it recalls an image in other posts ...
  13. Hi guys, how can I do with php to show the div containing the image (if the image exists)? Thanks for your help.
  14. Hi guys, is it possible to set a menu item that points to an external url? Thank you
×
×
  • Create New...