Jump to content

quickjeff

Members
  • Posts

    323
  • Joined

  • Last visited

Everything posted by quickjeff

  1. Soma, is your name referenced to Brave New World the novel? Just thought I would ask. -The band title is for a list of band names that are playing at my clients bar. The names are spit out into the band page. We are trying to make the search field pull the data if a customers favorite band is playing and they have searched it. Since the names are not in the body, title or sidebar, I wanted to add the field to the search. Unfortunately it doesn't recognize the field in the search template.
  2. Hey Guys, So I'm creating a search template that will search all of my created fields for a query. Unfortunately, when I go to add 1 or 2 more from the stock search template as a test, I still am only searching the title, body and sidebar and not what I added. Any guidance on this? I have added the pipe line divider to add more fields manually to test the functionality behind the search template but no luck. Perhaps I am missing something? Here is a sample of what I am attempting, the piece of code I have included does not include everything in its entirety just the piece I am altering as a test. $matches = $pages->find("title|body|sidebar|band_title~=$q, limit=50"); As you can see I want to also search the field band_title but I have no results coming through. Last, is it possible to add search all fields? Versus inputing every field manually? Thanks for the help!
  3. Wow guys, absolutely works now! Best team ever here! You guys have helped a lot thank you so much!
  4. Mr. Bean!!! Had to use that pic, its classic! - Diogo, I am having some issues. Here is the repeater I have on a template labeled bands.php I need to pull the first 5 in the list. The repeater is used to create a band event page for my client, therefore there can be as many as 30 repeated on this page. I just want the home page displaying 5, the first 5 in the list. Any light on this? <?php foreach($page->band_performance as $band_performances) { echo " <article class='4u special'><header><h2>{$band_performances->band_date}</h2>"; echo "<h3>{$band_performances->band_title}</h3>"; if(count($band_performances->band_image)) {$image = $band_performances->band_image->getRandom(); echo "<a href='{$band_performances->band_website_url}' target='_blank' class='image featured'> <img src='{$image->url}' width='368' height='300' alt=' '/></a></header>"; echo "<p>{$band_performances->band_description}</p>"; echo "<p>Charge: {$band_performances->band_cover_charge}</p>"; echo "<p>Time: {$band_performances->band_hours}</p>"; echo "<footer><a href='{$band_performances->band_website_url}' class='button' target='_blank'>More Info.</a></footer></article>"; } ?>
  5. Awesome! Thank you for the warm welcome! I will give it a try now.
  6. Hi Guys, I am absolutely loving Processwire but need some assistance in a custom build. I have created a repeater for an internal page. I need to pull the data using GET or some other way to display the first five repeated sets onto my home page for my featured items section. Is this possible? If so, any examples? Guidance? Your help is much appreciated!
×
×
  • Create New...