The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.



Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Sat Sep 19, 2009 6:27 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Sep 13, 2009 1:03 pm
Posts: 5
Anyone :)

How can I remove << , < , > and >> from page navigation, as in following example:

Currently:
<< Start < Prev 1 2 Next > End >>

I want:
Start Prev 1 2 Next End

Thanks!


Top
 Profile  
 
PostPosted: Mon Sep 21, 2009 9:10 pm 
Joomla! Explorer
Joomla! Explorer

Joined: Fri May 23, 2008 3:00 pm
Posts: 312
Location: Darkest Afrika
It should be in the core Joomla! class called JPagination - in the core Joomla! files, do a search for JPagination with a text editor or something like that

_________________
Content Revision for Joomla!

http://galore.co.za/index.php/galore-pr ... t-revision


Top
 Profile  
 
PostPosted: Wed Sep 23, 2009 10:29 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Feb 11, 2009 6:02 pm
Posts: 30
I found this post looking for the answer to the same question. If I search 'JPagination' I get about 50 results.

Anyone know where the file is or is there another way to remove the ' * «« Start * « Prev * 1 * Next» * End »»' from the bottom of the page?

Thanks


Top
 Profile  
 
PostPosted: Wed Sep 23, 2009 10:35 am 
Joomla! Explorer
Joomla! Explorer

Joined: Fri May 23, 2008 3:00 pm
Posts: 312
Location: Darkest Afrika
do a search for: class JPagination with case - sensitive turned off

_________________
Content Revision for Joomla!

http://galore.co.za/index.php/galore-pr ... t-revision


Top
 Profile  
 
PostPosted: Wed Sep 23, 2009 10:59 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Feb 11, 2009 6:02 pm
Posts: 30
The text 'class JPagination' appears twice in a file called pagination.php

Ive read the comments put in the page but can't make much sense of it. I dont know much about PHP. When I was using zenCart and I needed to edit the PHP I would look for text or a div that was generated in the page, and then in the code put a new div around this area and use CSS to hide it. Would this work with this file? Im scared to edit the PHP too much in case it was a knock on effect somewhere else in the site.

Thanks


Top
 Profile  
 
PostPosted: Wed Sep 23, 2009 11:12 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Sep 13, 2009 1:03 pm
Posts: 5
"do a search for: class JPagination with case - sensitive turned off" - :) Samurai9, if you've done it and found it, why not just post the file name? ;) Thank for the input though.

This is the page:

C:\wamp\www\joomla\plugins\content\pagebreak.php

Line 263: look at plgContentCreateNavigation function. Note: html character codes have been used for greater than and less than characters (i.e. &gt; for > ).

This is also an interesting page about JPagination class: http://docs.joomla.org/Using_JPaginatio ... _component


Top
 Profile  
 
PostPosted: Wed Sep 23, 2009 11:24 am 
Joomla! Explorer
Joomla! Explorer

Joined: Fri May 23, 2008 3:00 pm
Posts: 312
Location: Darkest Afrika
Hi mttj,

Sorry I haven't done it before so I didn't know the file name... but I did know the class name...! :D

_________________
Content Revision for Joomla!

http://galore.co.za/index.php/galore-pr ... t-revision


Top
 Profile  
 
PostPosted: Wed Sep 23, 2009 11:36 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Feb 11, 2009 6:02 pm
Posts: 30
I can find 'Prev' but not '«« Start', is this in a different file?

Should I be commenting out the text or should I make the whole thing go away by a different method? Sorry about the level of instruction im needed but ive read the link you gave and I dont really get it.

Thanks again


Top
 Profile  
 
PostPosted: Wed Sep 23, 2009 12:24 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Feb 11, 2009 6:02 pm
Posts: 30
If i set the div 'pagination' to display none, the only thing remaining is 'Results 1 - 3 of 3', which is in an unnamed div.

Assuming the 'pagination' div doesn't normally appear any where else in the page, all I now need to do is to remove the 'Results 1 - 3 of 3' or give the div an id so i can hide it with CSS.


Top
 Profile  
 
PostPosted: Sun Apr 08, 2012 1:05 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Apr 08, 2012 12:56 am
Posts: 1
Location: Craiova, Romania
This is very sample!
You can find this code: $row->text .= $pageNav->getPagesLinks(); in public_html/plugins/content/pagebreak.php and change to: //$row->text .= $pageNav->getPagesLinks();

I need this information and i founded here talk about this and i put for more other finders...
Peace!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 



Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group