category questions
Posted: 31 August 2004 12:08 AM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  290
Joined  05-15-2004

Lets talk categories here smile

there are to different “category” archives in my head. 
First - the kind I have at my site already. Where posts are listed and grouped By category - My Categories

What I want to have is a listing of the categories. And just the categories with links to a page with the whole page of categories. Is that possible?

Also - while trying to figure out how to write this I’ve found that the links to my categories via my index page, don’t work.  The url is incorrect and I am unsure how to fix it. I just upgraded to 1.1 yesterday.  I had to change some other links as well, but I am unsure how to change the code so that it matches.

{categories}
filed in
: <a href="{path=SITE_INDEX}">{category_name}</a>  
{/categories}

Is what is there now. Is there any place to look for how it should be now with 1.1? smile

Thanks ever so much
Luka

 Signature 


My Blog Incogblogo Version 1.6.0 Build: 20070622
“No trees were killed in the making of this post ...... however, a large number of electrons were horribly inconvenienced.” ~Unknown

Profile
 
 
Posted: 31 August 2004 12:13 AM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  31233
Joined  05-14-2004

For 1) Do you mean something like this? If so the code is:

{exp:weblog:categories weblog="{current_blog}" style="nested"}
<a href="{path=weblog/index}">{category_name}</a>
{/exp:weblog:categories}

Which brings us to question to - see where yours says path=SITE_INDEX?  Change it to path=weblog/index and that should fix it.  Change weblog to whatever the shortname of your template group is.

 Signature 
Profile
MSG
 
 
Posted: 31 August 2004 08:45 AM   [ Ignore ]   [ # 2 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  290
Joined  05-15-2004

Yes, to both! smile

Thank you very much smile

Luka

 Signature 


My Blog Incogblogo Version 1.6.0 Build: 20070622
“No trees were killed in the making of this post ...... however, a large number of electrons were horribly inconvenienced.” ~Unknown

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 10:33 AM
Total Registered Members: 60974 Total Logged-in Users: 27
Total Topics: 73690 Total Anonymous Users: 14
Total Replies: 397495 Total Guests: 455
Total Posts: 471185    
Members ( View Memberlist )