Oncord Community Logo
    • Recent
    • Popular
    • Register
    • Login
    1. Home
    2. Ben
    3. Topics
    BenB Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 10
    • Groups 0

    Topics

    • BenB

      Post category titles and posts display logic

      Watching Ignoring Scheduled Pinned Locked Moved Advanced Coding
      2
      0 Votes
      2 Posts
      3k Views
      K
      @Ben We currently have a tutorial on how to list post-category values. You can check it out here: Show Categories for a Post This guide will show you how to display all the categories associated with a post. If you only want to display the primary category, you can use the following code: \Components\Website\Posts\Categories::getColumn($post['post_category_id'], 'post_category_title') To check if there are posts in a category, you can use this code: <logic:if test="$post"> <p>West End:</p>
 <data:postrepeater paging="true" pagingrows="6" templatetype="list" postcategory="3" /> </logic:if>```
    • BenB

      Posts not flexing after minor code edit

      Watching Ignoring Scheduled Pinned Locked Moved Advanced Coding
      3
      0 Votes
      3 Posts
      2k Views
      BenB
      @kimguevarra Yep, that was it. One little word in the CSS! Thanks for the advice!
    • BenB

      Cascading masonry gallery styling

      Watching Ignoring Scheduled Pinned Locked Moved Advanced Coding
      4
      0 Votes
      4 Posts
      3k Views
      BenB
      Thanks Scott ... your answer would help explain the lack of straightforward solutions out there on the web! Glad to hear you're looking at implementing it once the standards are established.
    • BenB

      Under construction settings/code

      Watching Ignoring Scheduled Pinned Locked Moved Advanced Coding
      3
      0 Votes
      3 Posts
      3k Views
      BenB
      @StephenBlignault Thank you for your detailed response; that certainly looks like the type of solution I was after. Hadn't thought of using two design templates, but that makes perfect sense. Appreciate the insight and code!