We moved to new unified forum!

Please post all new support queries in our New Forum.

T3 Community Discussion & Support

Let's build the best free Joomla template framework, together!
  1. Mainstwebguy
  2. General Discussion
  3. Friday, 14 June 2013
  4.  Subscribe via email
Hello,

I was wondering how i can go about assigning a section id to articles. I see that in the category blog layout, each leading article is assigned an individual section (seeing this in view source) which I really like.

I would like to take advantage of the bootstrap affix, but in order to do so, i need to have section ID's that i can then link to. How would i go about doing this?

I was thinking about having individual sections coded into a single article, but I'm not sure how that would affect my seo efforts and would like to avoid unnecessary coding if I'm able to.

Thanks in advance!

***Edit***
I would like to achieve the same effect as you've done on your site as seen here:
Title
  Detroit, MI, USA
Visit 
Comment
There are no comments made yet.
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Mainstwebguy,

We use a single article on our demo site and so, we can add any id for affix.
If you use multiple articles, you need to customize the markup for blog layout.

I think you need to overwrite \components\com_content\views\category\tmpl\blog.php or \components\com_content\views\category\blog_item.php layout file

Here the official document from Joomla.
http://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core


Regards
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
thanks for the reply! I'll go ahead and use the same approach (single article) instead of the category blog layout.

Thanks again, and great work on my new favorite framework.
Comment
There are no comments made yet.
  1. more than a month ago
  2. General Discussion
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.