exp:weblog:category_heading and “Category URL Titles In Links”
Posted: 25 April 2008 11:56 PM   [ Ignore ]  
Summer Student
Total Posts:  8
Joined  10-25-2006

I enabled the option: Use Category URL Titles In Links. Category URL indicator is set to default category.
Now on the page with the following tag:

{exp:weblog:category_heading weblog="my_weblog"}
<h3>{category_name}</h3>
{/exp:weblog:category_heading}

I don’t get any category names. The category names just ceased to show up. As soon as I disable that Category URL Titles option in Admin›Weblog Administration›Global Weblog Preferences, the category names are shown in their places again.

Am I doing something wrong, or am I just missing something? I searched the forum and knowledge base, but unfortunately nothing was found.

Profile
 
 
Posted: 26 April 2008 03:50 AM   [ Ignore ]   [ # 1 ]  
Summer Student
Total Posts:  8
Joined  10-25-2006

As I understand, it is not clear to {exp:weblog:category_heading} function, which category is being opened, when category ID is not present in the URL. It “thinks” there are no categories to be shown.

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 09:33 AM
Total Registered Members: 65087 Total Logged-in Users: 35
Total Topics: 82229 Total Anonymous Users: 21
Total Replies: 441930 Total Guests: 211
Total Posts: 524159    
Members ( View Memberlist )