Jump to content

gregory

Members
  • Content Count

    55
  • Joined

  • Last visited

Community Reputation

15 Good

About gregory

  • Rank
    Full Member

Contact Methods

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

Profile Information

  • Gender
    Male
  • Location
    Italy

Recent Profile Visitors

798 profile views
  1. Hi @Gideon So, I'm using pro module "Repeater Matrix". I enclose a series of screenshots regarding the template. Thanks for your help.
  2. Hi @Gideon So, "case_studies" is a repeater matrix field.
  3. Hi @Gideon So, the field type (named pdf) is "file".
  4. Hi everyone. I can't see the PDF uploaded via a field called "pdf". I get a url like this: http://localhost:8888/mywebsite/site/assets/files/1129/test.pdf%EF%BB%BF%EF%BB%BF Could anyone help me? Thank you. <?php foreach($page->case_studies as $item) { if($item->type == 'contenuto') { echo " <a class='btn btn-primary btn-sm' target='blank' href='{$item->pdf->first()->url}' role='button'>Download</a> "; } } ?>
  5. Thanks, that was what I was looking for! Thank you all for the support.
  6. 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.
  7. Hi @flydev, have you got to test it with Form Builder? Thank You.
  8. Thanks @kongondo, it works perfectly!
  9. 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}'>"; }
  10. 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
  11. Hi, does the module also support multiple languages?
  12. Now the new websites I build them only with Processwire. It is a powerful CMS and the community is very serious and professional.
  13. To be exact, I did this: if(count($story->imagefieldname)) { ... } Thank you again!
  14. Thanks so much! Now it works perfectly. Can I offer you a coffee?
×
×
  • Create New...