Author Topic: [SOLVED] Remove "Start, Prev, Next, End" text in Page Navigation  (Read 11461 times)

lipes

  • Full Member
  • ***
  • Posts: 720
[SOLVED] Remove "Start, Prev, Next, End" text in Page Navigation
« on: December 10, 2010, 20:48:54 pm »
Hi all. I need to remove the "Start" "Prev" "Next" "End" text in the page navigation but i don't understand how i must do to only display the «< 1 2 etc > » ..

I've tried to edit the en-GB.plg_content_pagebreak.ini pt-PT.plg_content_pagebreak.ini
NEXT=
PREV=
but the page navigation shows the same text ...

I also tried to hide some code with "//" on /libraries/joomla/html/pagination.php
and /plugins/content/pagenavigation.php
and even in /templates/mytemplate/html/pagination.php

Another question is to find where is the "Results 1 - 5 of 5" text to edit that tag..

thanks!
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

lipes

  • Full Member
  • ***
  • Posts: 720
Re: Remove "Start, Prev, Next, End" text in Page Navigation
« Reply #1 on: December 14, 2010, 17:18:12 pm »
someone can help, please?
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10373
  • VirtueMart Version: 3+
Re: Remove "Start, Prev, Next, End" text in Page Navigation
« Reply #2 on: December 14, 2010, 19:41:12 pm »
on category page

templates/browse/includes/browse_pagenav.tpl

delete the whole file except this
<?php if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' );
mm_showMyFileName(__FILE__); ?>

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

lipes

  • Full Member
  • ***
  • Posts: 720
Re: Remove "Start, Prev, Next, End" text in Page Navigation
« Reply #3 on: December 14, 2010, 22:14:25 pm »
i tried your solution but it still shows the same "problem" :(
i've also clear the joomla cache.. but no change..




i want to add navigation like this Joomla/VM website exemple: http://www.personalityjewellery.com/jewellery/mens-jewellery.html
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10373
  • VirtueMart Version: 3+
Re: Remove "Start, Prev, Next, End" text in Page Navigation
« Reply #4 on: December 15, 2010, 13:07:20 pm »
the files you have to modify are in the VMJ eStore! theme folder.

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

lipes

  • Full Member
  • ***
  • Posts: 720
Re: Remove "Start, Prev, Next, End" text in Page Navigation
« Reply #5 on: December 15, 2010, 15:43:55 pm »
VMJ eStore theme? humm? :)
I don't have any "VMJ eStore"... I'm working with the Default virtuemart theme and redesign to a new one in a new folder...
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10373
  • VirtueMart Version: 3+
Re: Remove "Start, Prev, Next, End" text in Page Navigation
« Reply #6 on: December 15, 2010, 18:37:55 pm »
when I view source it says you are using this theme

/jewellery/components/com_virtuemart//themes/vmj_estore
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

lipes

  • Full Member
  • ***
  • Posts: 720
Re: Remove "Start, Prev, Next, End" text in Page Navigation
« Reply #7 on: December 15, 2010, 18:45:15 pm »
No :) I said: "
Quote
like this Joomla/VM website exemple
"

I saw this example and i want to add that navigation on a default template ..
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10373
  • VirtueMart Version: 3+
Re: Remove "Start, Prev, Next, End" text in Page Navigation
« Reply #8 on: December 15, 2010, 18:49:46 pm »
oooo, use firebug, and copy the css styles for it, and then apply it to yours

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

lipes

  • Full Member
  • ***
  • Posts: 720
Re: Remove "Start, Prev, Next, End" text in Page Navigation
« Reply #9 on: December 15, 2010, 19:02:17 pm »
Maybe I did you misunderstand me.
What I wanted to do is remove the text "Start", "Prev", "Next", "End" text ... and not work on colors, dimensions, etc <-> CSS ...

VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10373
  • VirtueMart Version: 3+
Re: Remove "Start, Prev, Next, End" text in Page Navigation
« Reply #10 on: December 15, 2010, 19:24:27 pm »
o lol,

go here
templates/browse/includes/browse_pagenav.tpl

the language is called by $VM_LANG->_('SOME-TEXT-HERE')

You can just delete the call for the text
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

lipes

  • Full Member
  • ***
  • Posts: 720
Re: Remove "Start, Prev, Next, End" text in Page Navigation
« Reply #11 on: December 15, 2010, 19:31:03 pm »
No chances  :'(

I remove all the line in
/components/com_virtuemart/themes/default/templates/browse/includes/browse_pagenav.tpl

Code: [Select]
<noscript><input class="button" type="submit" value="<?php echo $VM_LANG->_('PHPSHOP_SUBMIT'?>" /></noscript>
and it still shows the same text "Start, Prev, Next, End" ...

VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10373
  • VirtueMart Version: 3+
Re: Remove "Start, Prev, Next, End" text in Page Navigation
« Reply #12 on: December 15, 2010, 20:05:15 pm »
ok, look in plugins/pagenavigation.php
also check out this thread (look at azazelraw's post)
http://forum.joomla.org/viewtopic.php?p=1605175


this is NEXT

            <th class="pagenav_next">
               <a href="'. $row->next .'">'
                  . JText::_( 'Next' ) . $pnSpace . JText::_( '&gt' ) .'</a>
            </th>

THEN:

previous

            <th class="pagenav_prev">
               <a href="'. $row->prev .'">'
                  . JText::_( '&lt' ) . $pnSpace . JText::_( 'Prev' ) . '</a>
            </th>






J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

lipes

  • Full Member
  • ***
  • Posts: 720
Re: Remove "Start, Prev, Next, End" text in Page Navigation
« Reply #13 on: December 15, 2010, 21:13:29 pm »
I think I'll go crazy .. lol
I tried that but still not change anything, then I saw the other reviews and links but nothing in it.
I went to the plugins menu and disable "Content - Page Navigation Titles" (pagenavtitles) but it still display the same situation.
I dont know what else i could do.... many stressing days with this... maybe i'll give up :'(
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10373
  • VirtueMart Version: 3+
Re: Remove "Start, Prev, Next, End" text in Page Navigation
« Reply #14 on: December 15, 2010, 21:37:51 pm »
Content - Page Navigation Titles" (pagenavtitles

do you have MORE than 1 pagenav plugin?
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)