Jump to content

howdytom

Members
  • Posts

    84
  • Joined

  • Last visited

Everything posted by howdytom

  1. gebeer, thanks for your reply and answering such a basic question :-) Yes, this is exactly I was trying to achieve. I really like the Processwire forum. It is such a friendly community with helpful replies.
  2. I getting back to my original question. I would love to extend my blog. I am able to display images without $pages->find() method. But how can I show ALL images in Pages::find() method? Removing first() throws an error Method Pageimages::size does not exist or is not callable in this context
  3. Thanks for your super-fast reply. Indeed, adding first() will show the blogpost image. This is exactly I was looking for. Perfect!
  4. Hi there, sorry for asking such a dump newbie question. I am trying to create a really simple minimal blog. How I can load image(s) from a template blog-post in my home.php? I am able to print fields e.g. titles, body, however images won't show up. Also image scaling doesn't work. The Field: images is set to "array if items". I really appreciate any reply. <!-- /.Load image from blog-blog template --> <?php $blogposts = $pages->find("template=blog-post"); foreach($blogposts as $blogpost){ $blogimages = $blogpost->images; $imgthumb = $blogimages->size(500, 300); echo "<img src='{$imgthumb->url}' alt='{$imgthumb->description}'>"; echo "<h2><a href='{$blogpost->url}' >{$blogpost->title}</a></h2>"; echo "<p>{$blogpost->body}</p>"; echo "<br>"; } ?>
  5. Thank you. Yes, I have purchased ProFields. This is exactly I was looking for. Beautiful and fast!
  6. What is the best to way to structure my PW Template for long blogposts with repeating text paragraphs, images and custom code? I am looking for a flexible solution to add and rearrange text or images. A blogpost looks always different: --TEXT PARAGRAPH (CKEditor) --IMAGE --IMAGE --TEXT PARAGRAPH (CKEditor) --IMAGE --CUSTOM CODE FIELD --TEXT PARAGRAPH (CKEditor) Here's what I came up with so far... 1. One approach could be using CKEditor along with ckeditor config.autoGrow. However I don't like the idea to add all content into one giant textfield and with one looooong scrollbar. 2. Repeater module seems to be the right choice. But text and image fields are always bundled within the repeater, even when no text field is required. Editing long post could be really confusing. 3. ProFields and Repeater Matrix looks like the right solution I am looking for. According to the ProFields description it is possible to add, combine, arrange different fields in one Repeater. Is that correct? Thank you for any help.
  7. Excellent. Thank you for your quick reply. Wireshell is exactly I was looking for.
  8. Hi there, I am a Drupal themer and sitebuilder for some time and consider switching to Processwire. In Drupal you can use Drush, a command-line shell for installing modules and clearing Cache… It really speeds up working with site projects. As I found out you can also use git or composer to install Processwire. However it looks like it's limited to Core only. Is that correct? Is it possible to use composer to install Processwire modules? Thank your for your help and pointing me in the right direction.
×
×
  • Create New...