News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Problem with category layout

Started by renegate, November 13, 2014, 12:59:06 PM

Previous topic - Next topic

renegate

I'm having trouble correcting my template to show the category view properly. Even though the site front page uses the proper pagination layout, the category view doesn't. For example:

This is the front page:

http://tinyurl.com/pekf9dq

And this is the category view:

http://tinyurl.com/oocsqnh

I can see the problem with the ul not getting the class="pagination" but i can't find where is the front page pagination to copy it in the template. I'm using virtuemart 2.6.10.

jenkinhill

Just switch to Beez template & you will see that it is the massive amount of css used by your template that is making things difficult. Using LESS does not help either.

Use Firebug to try to nail it down, but you should have something like this:

.vm-pagination ul li {
    display: inline !important;
}

And see http://forum.virtuemart.net/index.php?topic=122775.msg419024#msg419024
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

renegate

#2
I have tested it with firebug and chromes developer tools.

I have beez template on right now and as you can see there is still the deference in the code it self. On front page virtuemart uses <ul class="pagination"> and in category view it uses <ul>. I believe the solution to my problem is coping the pagination of the front page in a pagination.php file and place it in /template/html. Any suggestions on how i can find the front page pagination?


jjk

Quote from: renegate on November 13, 2014, 12:59:06 PM
I'm having trouble correcting my template to show the category view properly.
If you mean the empty product places in the bottom row of your category views, this is because you didn't set the pagination sequences in your VirtueMart category settings to match the pagination settings you have entered in VirtueMart 'Configuration > Templates' tab. If there is a standard setting in the category's pagination settings (looks like you have an initial number of listed items = 10), the individual category settings will override the setting from your 'global' settings in 'Configuration > Templates' tab.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations