Jump to content

Archived

This topic is now archived and is closed to further replies.

canadvo

Custom Category Pages

Recommended Posts

canadvo

Our organization would like a section on just one of our category pages which would filter posts in that category by tag. It seems that everything I've read--on these forums, pagelines documentation and other wordpress forums--has said it is impossible to customize the layout of a specific category page differently from the others, meaning that all category pages will appear the same (apart from using a plugin like widget logic).

So I'm trying to figure out if I did the "impossible" with DMS2, and want an opinion on whether I should assume this change will hold.

 

https://www.dropbox.com/s/3v1fmykkmlk7j6r/01-Pagelines%20Forum%20Category.png?dl=0

https://www.dropbox.com/s/e1hqsa35zow5sb4/02-Pagelines%20Forum%20Category%28different%29.png?dl=0

The images I'm linking each show a different category layout from our dev site. The first one is the layout that all of the categories use. This is a snap of the "Blog" category. There is a set DMS template called "Blogtest" assigned to this layout.

The second image is the "News" category page that I seemed to have successfully customized.

 

How I did this: I unlinked the "News" category page from the "Blogtest" template and I changed the scope from type to local. Then I added/removed some sections and edited the meta bar on the post loop section to clearly distinguish the layout from the other categories.

Is this something that is known to be possible? Is changing the scope from type to local the magic fix?

Our dev site is not accessible to the public due to our firewall, but I could whitelist an IP for a mod. If one of you want to take a closer look, PM me.

Website URL: testsite.canceradvocacy.org (not publicly accessible)
Framework Version: DMS 2.1.6.1
WordPress Version: 4.0
Plugins in Use: Don't have a list, don't know if any of them would be at all relevant.
Server/Host: Litespeed

 

Thanks!

Share this post


Link to post
Share on other sites
Danny

Hi,

 

Unfortunately, you're unable to have custom templates on a per category basis. We have added this to our tracker as a feature enhancement due to user feedback.

The only way you could display customizations on a category page is to either use Widgets like you mentioned above or use a hook along with WordPress conditionals. However, you're unable to load a section via a hook. 


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • JP
      By JP+
      Hello,
      We are working on a 2 languages site (https://liguecardioliga.be) with wpml, and lately the call of a category in the loops section (and all the sections requiring a category to select posts) doesn't work in the translated language. It worked well until recently so I wonder if it's because of a recent update (wordpress, wpml, pagelines, a plugin?). Anyone has the same problem? a solution?
      TIA
    • Jared Smith
      By Jared Smith+
      I haven't figured out how to get the "Sync Loaded Item" option in templates menu of Platform 5 to stay checked. It doesn't give me an option to save settings when I select it, and when I select it then click off the editor, it unselects. Also if I select it before loading a template, it doesn't stay checked there either.  Whats going on?
    • Queue-it
      By Queue-it+
      Hi,
      I created a Pagelines template for a "Post type" post. Whenever creating a new post page it firstly display that template post and I have to manually change it in the scope from "All of type posts " to "Current page". 
      Is there a way to fix that? 
       
       

    • richardjacruz
      By richardjacruz+
      I'm building a website in a dev environment at http://162.144.182.17/~uescocra.
      I want to import a bunch of products, and then have the products have a different template than the default template. 
      I also want to change the default template for blog posts.
      Before I go making changes, can I do this where the post type of "products" has its own global template, and the same with blog posts?
      For instance, in a product I might want to have a widget for categories, similar products, etc., and in the blog I may want list of the latest posts, blog categories, link to an email sign-up landing page, etc.
      Thanks.
      Rich
    • abuzzelli
      By abuzzelli+
      Is there a shortcode or a way to automatically pull the site name into the footer or elsewhere?
×