www.mamboteam.com
Jx Development
Home arrow Support Forum
Thursday, 18 March 2010
 
 
Main Menu
Home
FAQs
Portfolio
File Archive
Bug Reports
Support Forum
Development Update
Work in Progress
Web Links
Contact Me
Component Demos
Jobline Demo
Mamblog Demo
Jambook Demo
Login Form





Lost Password?
No account yet? Register
Who's Online
We have 20 guests online
Newsletter

Subscribe to our newsletter.






Donate
If you use and like my scripts, and would like further developments, please consider donating a few bucks.

External links
www.ledutveckling.com - The Yard - Utvecklaren - Rollspel.nu - Spelwebben - Gardener's Game Garage - My Pet Peeves - PSPnuts

Interesting Sites
Joomla!
Joomlahut
Netshine Joomla Tutorial
JX extensions on JED
Support Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Remove Start and End Buttons (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Remove Start and End Buttons
#5537
ben_a (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Remove Start and End Buttons 12 Months ago Karma: 0  
Hi All, can anyone point me in the right direction in removing the start and end buttons when browsing through jobs?

Thanks in advance
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5553
olle (Admin)
Admin
Posts: 1035
graph
User Online Now Click here to see the profile of this user
Re:Remove Start and End Buttons 11 Months ago Karma: 17  
Those are added automatically by the Joomla pageNavigation.php script. You could try hacking that... Or copy the function and changing it.
 
Report to moderator   Logged Logged  
 
Olle Johansson
  The administrator has disabled public write access.
#5622
yzahavy (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Remove Start and End Buttons 9 Months, 2 Weeks ago Karma: 0  
Can you be more specific as to what lines in the php need to be hacked? Thanks.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5625
yzahavy (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Remove Start and End Buttons 9 Months, 1 Week ago Karma: 0  
Still can't get rid of it. I have commented out the pageNav lines in the "item" template in Jobline and the
<< Start
< Previous
1
Next >
End >>
Results 1 - 2 of 2

Still appears. Any idea why? I am using joomla 1.0, and have OpenSEF 2.0.0-RC5_SP2 running.

Thanks
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5813
rastergr (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:Remove Start and End Buttons 4 Months, 2 Weeks ago Karma: 0  
I don't know about 1.0.x but for Joomla 1.5.x you should do this

Open this file:
libraries/joomla/html/pagination.php

and remove the words Start and End from these lines:

// Set the start and previous data objects
$data->start = new JPaginationObject(JText::_('Start');
$data->previous = new JPaginationObject(JText::_('Prev');
and these
// Set the next and end data objects
$data->next = new JPaginationObject(JText::_('Next');
$data->end = new JPaginationObject(JText::_('End');

Then remove the extra < and > by deleting &lt; (which goes for < and &gt; (which goes for > )from these lines:

// Initialize variables
$html = null;

// Reverse output rendering for right-to-left display
$html .= '&lt;&lt; ';
$html .= $list['start']['data'];
$html .= ' &lt; ';
$html .= $list['previous']['data'];
foreach( $list['pages'] as $page ) {
$html .= ' '.$page['data'];
}
$html .= ' '. $list['next']['data'];
$html .= ' &gt;';
$html .= ' '. $list['end']['data'];
$html .= ' &gt;&gt;';

REMEMBER NOT TO DELETE THE SINGLE QUOTES ( ' ' )
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
Advertisement
Polls
Is Joomla 1.0 support needed in future releases of our extensions?
 
Latest News
Most Read
Latest Commented
Bug Reporting (1 comments)
Mamblog - User blog component (61 comments)
The road to Jobline v1.2 (5 comments)
Export vBulletin users to Mambo (6 comments)
Jobline Documentation (4 comments)
Latest Posts

More...
 
Top! Top!