I have this setup:
Category Group: Video
Inside of Video Category Group: PHP, CSS
1: I created a regular Entry and assigned it to the CSS category.
Breakdown:
Video (Category Group)
-- PHP (Category)
-- CSS (Category)
---- Entry 'Test' (Assigned to CSS)2: I go to my template @ http://jream/ee/site/video (local site)
3:Within the Site/Video Template: I placed this code n here:
{exp:channel:categories channel="video" style="linear"}
<a href="http://{path=channel/index}">{category_name}</a>
{/exp:channel:categories}4: I am getting a list of the categories contained within video, Good.
So I have a question here..
1: The link url looks like: http://jream/ee/channel/C14—Why is this? Can I change this to http://jream/ee/site/video/category-title/entry-title.
2: I attempted to list all the Entries associated with a Category (Not the category Group) using the {exp:channel:categories category_group=2} tag, however I realize this is accessing the Group, not the category.. It seems I’d have to do a little bit of a jerry-curl trick to accomplish this.
Could anyone shed some light or let me know if Im going about this a very bad way?