override article navigation

This forum is for general questions about extensions for Joomla! 2.5.

Moderators: pe7er, 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
nancyashaw
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Jul 14, 2011 6:47 am
Location: Boston metro

override article navigation

Post by nancyashaw » Fri Jul 15, 2011 7:11 am

I would like to override the article navigation so that I only have the <next> and <previous> buttons, at the end of pages within a multi-page article. I just edited the pagination.php file contained in the plug-in library. I was able to remove the other buttons; however, two empty bullets remained.

I also tried attaching an /html/ file with a pagination.php file to my template; but, then the buttons became detached from the links.

I also would prefer to display the <next> and <previous> horizontally.

Suggestions?

nancyashaw
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Thu Jul 14, 2011 6:47 am
Location: Boston metro

Re: override article navigation

Post by nancyashaw » Fri Jul 15, 2011 8:03 am

Solved! Once I added:

ul
{
list-style-type:none;
margin:0;
padding:0;
}

li
{
display:inline;
padding:5px;
}

The list collapsed to only <next> and <previous>.


Locked

Return to “Extensions for Joomla! 2.5”