Jump to content

MarkW

Members
  • Posts

    12
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Detroit, MI USA

Recent Profile Visitors

2,718 profile views

MarkW's Achievements

Jr. Member

Jr. Member (3/6)

7

Reputation

  1. Not that many ads and they will all be images with a link to another site. Sounds like what I want to do, too. Thanks for your input. Gives me a good idea what I need to do!
  2. Anyone have suggestions on a module or implementation for creating, displaying, tracking ads? Thinking of WordPress ad manager plugins for scheduling, tracking view and impressions, clicks, etc.
  3. Thank you very much. I will definitely give these a look and a try!
  4. Thanks, Adrian! I've been using Ryan's skyscraper demo to try and put together something like IMdB. Here's the function I copied and modified to output the template data for my purposes. function renderVideoData($page) { $searchUrl = wire('config')->urls->root . "search/"; $na = "<span class='na'>n/a</span>"; $videos = ''; foreach($page->videos as $v) { $videos .= "\n\t<li><a href='{$v->url}'>{$v->title}</a></li>"; } $out = "\n<table id='video_data' class='table table-responsive'>" . "\n\t<tbody>" . "\n\t<tr><th>Title </th><td>" . ($page->title ? "<a href='$searchUrl?year={$page->title}'>{$page->title}</a>" : $na) . "</td></tr>" . "\n\t<tr><th>Synopsis</th><td>" . ($page->synopsis ? : $na) . "</td></tr>" . "\n\t<tr><th>Release Year</th><td>" . ($page->year ? "<a href='$searchUrl?year={$page->year}'>{$page->year}</a>" : $na) . "</td></tr>" . "\n\t<tr><th>Director</th><td>" . ($page->director ? "<a href='$searchUrl?director={$page->director}'>{$page->director}</a>" : $na) . "</td></tr>" . "\n\t<tr><th>Cast</th><td>" . ($page->cast ? : $na) . "</td></tr>" . "\n\t<tr><th>Franchise</th><td>" . ($page->franchise ? "<a href='$searchUrl?franchise={$page->franchise}'>{$page->franchise}</a>" : $na) . "</td></tr>" . "\n\t<tr><th>Language</th><td>" . ($page->language ? "<a href='$searchUrl?language={$page->language}'>{$page->language}</a>" : $na) . "</td></tr>" . "\n\t<tr><th>VOD Rights</th><td>" . ($page->vod_rights ? "<a href='$searchUrl?vod_rights={$page->vod_rights}'>{$page->vod_rights}</a>" : $na) . "</td></tr>" . "\n\t<tr><th>Running Time</th><td>" . ($page->running_time ? : $na) . "</td></tr>" . "\n\t<tr><th>Hue</th><td>" . ($page->hue->select_value ? : $na) . "</td></tr>" . "\n\t<tr><th>Rating</th><td>" . ($page->rating ? : $na) . "</td></tr>" . "\n\t<tr><th>Cost</th><td>" . "$" . ($page->cost ? : $na) . "</td></tr>" . "\n\t<tr><th>Country</th><td>" . ($page->country ? : $na) . "</td></tr>" . "\n\t<tr><th>Term</th><td>" . ($page->term ? : $na) . "</td></tr>" . "\n\t</tbody>" . "\n</table>" ; return $out; } I am getting decent results on my single video except that I get the page_ids. I can't figure out how to get the title of the page instead of the page_ids to show. In my example above, it would be actor's names. I came across Lostkobrakai's post about using two foreach's to find the multiselects but I am unclear how to implement that in my function or if I need a new function altogether. Maybe I should make a function just so I can reuse the multiselect foreach function whenever I need it?
  5. I have several fields on a site I am working on and want to pull values from a multiselect field but all I get are the page_ids. Any help would be appreciated. Thanks.
  6. Wow, Ryan! Excellent work. My jaw hits the floor whenever you post stuff like this, which seems like constantly!
  7. I really like the dropdown blurbs and reviews! Excellent work.
  8. Hi Pete, thanks for the warm welcome! Yes, that's exactly what I was looking at. Here's generically what I need to do: Workflow Example contributor/author > proofer > editor > chief editor/publisher and to be able to fall back to the next level down if not yet approved, reject, or queue for publication. Everything is essentially a variation of this, but for each specified category (or I am guessing, each page template type in PW?). I have to run things through the workflow like: product reviews, music reviews, movie reviews, articles, products, illustrations, videos, advertisements, classified listings, etc. Glad to see it's on the RoadMap. Looks like PW has come a long way in a really short amount of time. I've just started playing with it on my desktop a bit, poking around and looking under the hood using the tutorials.
  9. Hi everyone! Just ran across PW yesterday while searching for a better way to implement a project I'm currently working on. I am very impressed and very excited about what can be done so easily in PW. Having said that, being a total newbie to PW and having little luck searching around the forums, I was wondering if there was a way to implement multi-step Workflows like concrete5 Enterprise? Thanks!!
×
×
  • Create New...