How to hide "article index" in multi-page article

Need help with the Administration of your Joomla! 1.5 site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
User avatar
Sean Callagy
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 216
Joined: Thu Apr 09, 2009 7:33 pm
Location: Sligo, Ireland
Contact:

How to hide "article index" in multi-page article

Post by Sean Callagy » Wed Aug 18, 2010 11:05 pm

Is there a way to hide the "article index" that appears by default in an article after you start creating page breaks in it?

I've looked in Article Manager > Global Parameters and can't see anything.
I've also checked inside the Article Editor > Parameters (Article) and Parameters (Advanced) and can't see anything suitable there either.

So how do I turn off the article index?

Thanks.
Sean.

User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28193
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: How to hide "article index" in multi-page article

Post by imanickam » Thu Aug 19, 2010 12:58 am

In the css files of your template look for a css entry table.contenttoc and introduce the attribute display: none; to that css entry.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged

User avatar
Sean Callagy
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 216
Joined: Thu Apr 09, 2009 7:33 pm
Location: Sligo, Ireland
Contact:

Re: How to hide "article index" in multi-page article

Post by Sean Callagy » Thu Aug 19, 2010 7:19 am

Thanks! I found it in template css alright and can now make it disappear. Here is the code that does it:

Code: Select all

table.contenttoc {
	display: none; /* was no line here */
	margin: 0 0 10px 10px;
	padding: 0;
	width: 35%;
	float: right;
}
However, it is not all good news. :( Because the problem that I thought would be fixed by switching off the Article Index, still occurs.

It seems that whenever I insert page breaks into the article, the first and last page seem to influence the placement of the left menu. The left menu now gets pushed down and below the article while viewing the first and last page of the article. But while viewing the other pages of it, the leftmenu appears where it is supposed to appear (in the left column).

User avatar
Sean Callagy
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 216
Joined: Thu Apr 09, 2009 7:33 pm
Location: Sligo, Ireland
Contact:

Re: How to hide "article index" in multi-page article

Post by Sean Callagy » Thu Aug 19, 2010 7:36 am

More investigation using Firebug indicates that on Page 1 and Page 5 of the article, the code for the Article Index tabled layout is still being called. But on Pages 2, 3 and 4 that table is not being called.

But it is greyed out so it is not active (according to Firebug). Yet it does seem to be influencing the position of the menu in col1.

I have now commented out all the code referring to the contenttoc division, but the problem still persists (you will also see some custom changes I was trying out).

Code: Select all

/* table.contenttoc {
	display: none; /* was no line here */
	margin: 0 0 10px 10px;
	padding: 0;
	width: 35%;
	float: right;
}

table.contenttoc a {
	text-decoration: none;
}

table.contenttoc td {
	padding: 1px 5px 1px 5px; /* was 1px 5px 1px 25px; */
	background: url(../images/bullet-list.gif) no-repeat 5% 50%;
}

table.contenttoc th {
	padding: 0 0 3px 3px; /* was 0 0 3PX; */
	border-bottom: 1px solid #CCCCCC;
	text-indent: 5px;
} */

User avatar
Nick Savov
Joomla! Ace
Joomla! Ace
Posts: 1076
Joined: Tue Apr 13, 2010 7:40 pm

Re: How to hide "article index" in multi-page article

Post by Nick Savov » Fri May 13, 2011 10:04 pm

Hi Sean,

Better late than never...

You can turn it off by going to Extensions >> Plugin Manager >> Content - Pagebreak >> Table of Contents >> Hide >> Save.

Kind regards,
Nick
Joomla Templates created by the Wright Framework.

"God is most glorified in us, when we are most satisfied in Him" - http://www.desiringgod.org/

alisoviejohl
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri May 13, 2011 10:05 pm

Re: How to hide "article index" in multi-page article

Post by alisoviejohl » Fri May 13, 2011 10:14 pm

Thanks guys...You solved my problem in literally 3 minutes of reading this entry!

User avatar
Nick Savov
Joomla! Ace
Joomla! Ace
Posts: 1076
Joined: Tue Apr 13, 2010 7:40 pm

Re: How to hide "article index" in multi-page article

Post by Nick Savov » Fri May 13, 2011 11:10 pm

Good timing then. You're welcome :)

Kind regards,
Nick
Joomla Templates created by the Wright Framework.

"God is most glorified in us, when we are most satisfied in Him" - http://www.desiringgod.org/

User avatar
jjspelman
Joomla! Explorer
Joomla! Explorer
Posts: 285
Joined: Tue Apr 07, 2009 6:27 am
Location: Tampa, FL
Contact:

Re: How to hide "article index" in multi-page article

Post by jjspelman » Fri Jul 14, 2017 8:39 pm

@Nick Thanks, Dude. This was what we were looking for. Client did not like table of contents showing and initially thought we would use CSS to hide it. Thanks for the help!


Locked

Return to “Administration 1.5”