Set category listing 1,2 and 6 on frontpage

Discuss PivotX 2.0.x here. Non-PivotX related discussions go in The Drain.

Set category listing 1,2 and 6 on frontpage

Postby T3X » Mon Apr 30, 2012 7:40 am

Hello to you,

I would like to know if it's possible to show only certain category's on the frontpage and how would i do that.
Looked in the docs and in the forum all pages related to category's but didn't find it.

I have the skinny template, and on the frontpage_template.html i couldn't find anything to do with category listing.

Please help on this, and include some syntax so i now where and what to put in.

Thanks in advance
What can't be done tomorrow has to be done today.
http://inet.hyper-art.nl
T3X
 
Posts: 7
Joined: Fri Apr 20, 2012 9:56 am
Location: Vlissingen, Netherlands

Re: Set category listing 1,2 and 6 on frontpage

Postby Harm10 » Mon Apr 30, 2012 11:53 am

The allocation of categories is done to a subweblog. The name(s) of these subweblogs are defined in the templates.
In the skinny frontpage template name "standard" is used.
When you go to the setup of your weblog there is a tab called Subweblogs. In this tab "standard" is shown and you can allocate categories to it.
That is the most easy way.
This setting can be overruled by parms you can set for the [[ subweblog ]] tag: http://book.pivotx.net/index.php?page=app-b#anchor-subweblog--weblog
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: Set category listing 1,2 and 6 on frontpage

Postby T3X » Mon Apr 30, 2012 2:47 pm

Thanks Harm,

I was a bit confused but finally i get it done.

I thought i had to make a subweblog, but you mean these are the category´s.

This what i did.
This is what i had;
Code: Select all
[[ subweblog name="standard"]][[ literal ]]

And changed it in;
Code: Select all
[[ subweblog name="standard" category='Websites, Internet']][[ literal ]]


Now only these category´s show up
Man it´s getting better by the day, love pivot
What can't be done tomorrow has to be done today.
http://inet.hyper-art.nl
T3X
 
Posts: 7
Joined: Fri Apr 20, 2012 9:56 am
Location: Vlissingen, Netherlands


Return to 2.x Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron