- Posts: 8
- Thank you received: 0
Article Table of Content
-
hossain
Inactive member - Topic Author
- New Member
Less
More
10 years 9 months ago #37259
by hossain
Article Table of Content was created by hossain
Hi! when I use "pagebreak" on a long article then the article table of content display on the top of the page and take the whole width of the page. But I want to display my table of content on the right hand side of the page in a small box. I tried to use one free extension but doesn't work with this template.
Could you please give me any idea how can I achieve my desired result. I tried to play around with your joomla.css file but nothing is happening yet.
Thanks in advance
Could you please give me any idea how can I achieve my desired result. I tried to play around with your joomla.css file but nothing is happening yet.
Thanks in advance
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 9 months ago #37263
by ivan.milic
Replied by ivan.milic on topic Article Table of Content
Can you try to explain that more. Can you send some illustration draft and url
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 9 months ago #37272
by ivan.milic
Replied by ivan.milic on topic Article Table of Content
You have to wrapp that table and rest of content width container elements to be able to control layout.
Something like this:
<div style="width:19%;float:right;">
...table...
</div>
<div style="width:80%;float:right;">
...other content...
</div>
<div style="clear: both;" ></div>
Something like this:
<div style="width:19%;float:right;">
...table...
</div>
<div style="width:80%;float:right;">
...other content...
</div>
<div style="clear: both;" ></div>
Please Log in to join the conversation.
-
hossain
Inactive member - Topic Author
- New Member
Less
More
- Posts: 8
- Thank you received: 0
10 years 9 months ago #37280
by hossain
Replied by hossain on topic Article Table of Content
Sorry Ivan, I still couldn't figure it out as where should I do that change. Could you please let me know which file and exactly where should I do that change. So far I've tried this two files -
..\components\com_content\views\article\tmpl\default.php and ..\plugins\content\pagebreak\pagebreak.php but couldn't do anything ! I am sorry for annoying you guy's but you guy's are cool for support us!
..\components\com_content\views\article\tmpl\default.php and ..\plugins\content\pagebreak\pagebreak.php but couldn't do anything ! I am sorry for annoying you guy's but you guy's are cool for support us!
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 9 months ago #37283
by ivan.milic
Replied by ivan.milic on topic Article Table of Content
No files you should change, you need to assemble content like that in article edit
Please Log in to join the conversation.
-
hossain
Inactive member - Topic Author
- New Member
Less
More
- Posts: 8
- Thank you received: 0
10 years 9 months ago #37288
by hossain
Replied by hossain on topic Article Table of Content
Thanks Ivan! Umm... I actually wanted a automated process by using pagebreak option just like those TOC plugins you can find on joomla extension page. But this solution will do for me at this moment. Thanks for your help. And I have a little request - if possible could you please remove those images I've posted earlier, because by mistake I have posted that original big headline! Perhaps, I do not get into trouble for that. Thanks Ivan.
Please Log in to join the conversation.
Time to create page: 0.326 seconds