News:

Looking for documentation? Take a look on our wiki

Main Menu

pagenav all scrambled and not working

Started by Renata, February 17, 2012, 14:48:44 PM

Previous topic - Next topic

Renata

good afternoon

used VM: 2.0.1.k
Joomla 2.5.1
Artisteer template made by latest version 3.1
website url: http://www.dutchpat.nl/component/virtuemart/view/category/virtuemart_category_id/18.html
(still building so website is not ready yet)

As you can see on the attached image the navigation is all scrambled. Also if you go the next or previous you always go back to the first page. So it is not working too.

I thought after a lot of searching i found a solution but i cant find the folder to which they are referring. perheps this solution concerns an older version of VM?

Could you please help me and advise how to solve this problem?

found solution:
QuoteTo eliminate " «« Start « Prev 1 Next » End »» " on default Browse pages that have just 1 page of results, make a copy of, then edit this file:
components/com_virtuemart/themes/default/templates/browse/includes/browse_pagenav.tpl.php
Find this line:

writePagesLinks( $search_string ); ?>

and replace with these lines:

limitstart+1 == 1) && ($pagenav->limitstart + $pagenav->limit >= $pagenav->total) )) {
$pagenav->writePagesLinks( $search_string );
};
?>


But if you take out the entire code it will get rid of the nav completely.

i cant find this doc but perheps this isnt VM 2: (components/com_virtuemart/themes/default/templates/browse/includes/browse_pagenav.tpl.php)

Thanks in advance for your help.

(ps i hope i have chosen the right forum for this subject)

here enclosed image of my website so you can see what is the problem:


[attachment cleanup by admin]
Please visit my website https://responsivewebsitemaken.nl for all your graphic webdesign and Joomla websites.

Renata

Goodafternoon

Here is what i've tried so far:

I have made another template of joomla which comes together with the installation of joomla, standard.

Problem concerning not working "next" (volgende),  "previous" (vorige) and navigation through page numbers remains and still not working. However it is not scrambled anymore as you can see on the attached printscreen.

I presume this is not a template problem, but VM problem?

I hope to hear from you soon.

Kind regards
Renata

[attachment cleanup by admin]
Please visit my website https://responsivewebsitemaken.nl for all your graphic webdesign and Joomla websites.

jenkinhill

The navigation is probably scrambled because of the css in your Artisteer template. Use Firebug to identify the css files affecting that element and compare with the working template. http://forum.virtuemart.net/index.php?topic=73349.0
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

Renata

Dear jenkinhill

Thanks for your reply. I've already tried firebug, but dont know where to look for...sorry. As i have mentioned in my first reply i used different template which gave the same problem:

beez20
beez5

Both templates come with joomla 2.5 installation and with both templates the next, prevous and page numbers are not working....whatever i do overthere...i stay on page one.

I dont think this is an artisteer problem as all off the other templates have the same problem.

Could you please advise me?

Thanks in advance
Kind regards
Renata
Please visit my website https://responsivewebsitemaken.nl for all your graphic webdesign and Joomla websites.

jenkinhill

Using Firebug and looking at your site, in your Artisteer template.css search for .art-postcontent li

.art-postcontent li
{
   font-size: 13px;
   color: #141D0C;
   margin: 3px 0 0 -15px;
   padding: 0 0 0 13px;
}

Change margin to:
margin: 3px 0 0 0;

or whatever works best for you, you may want to alter the padding, too.
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

Renata

#5
Dear jenkinhill

Thank you very much for your reply.

I changed that and it seams that via your suggestion above i can fix only the appearance problem for which i am thankfull. I'll have to change my artisteer template as it seems that for the navigation the template uses "content" > "list" appearance of artisteer. I just need to remove the icon of the list and change what you've suggested here above in template.css.

however:
your suggestion did not solve the problem that the navigation does not work. You can click on it, but nothing happens. You always return on page one. I cant see all the other products. there is no way to navigate to the next page/other remaining products.

Is there a way to add a new code wich does not use template artisteer code and just for this specific navigation and appearance problem?

I have made a test website in a subdomain of myself and placed an exact copy of the original website overthere. i hope you are willing  to take a look overthere.

http://www.1place4ads.nl/1test/component/virtuemart/format/html/view/category/virtuemart_category_id/18/limit/20.html?Itemid=

edit: as you know i tested also on other templates (no artisteer) and also on these templates same navigation problem

I hope to hear from you soon

Thanks in advance
Kind regards
renata

Please visit my website https://responsivewebsitemaken.nl for all your graphic webdesign and Joomla websites.

Renata

#6
Solved! Here the solution for others to know as i noticed while searching via google more people strugle with this problem.

Pagination was not working as told before. I did the whole installation over again. Just to see what the problem was. Perheps an error occurred while uploading the files to ftp. But after re-installation the problem remained. Nothing to loose and because i have a backup and a copy of the complete website i used "tools & migration".

I did "renew the configuration" and this was the solution. Just one click haha.
As the pagination went scrambled again i first changed it in artisteer and removed the icons, installed this template and changed template.css as you suggested here above. Looking beautiful now! ps: you need to reconfigure your webshop again as all is back to basic, but the products, extentions ect still are visable and available.

Probably something went wrong during importing database i think. What really the problem was I will never know, but the problem is solved.

Thank you for the support.

Kind regards
Renata Gravendijk
Please visit my website https://responsivewebsitemaken.nl for all your graphic webdesign and Joomla websites.

jenkinhill

Good to hear, whatever the cause may have been!
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

wotm1001

I was able to fix this using the artisteer interface. 
Go to the content tab.  Then click the bullet dropdown in the Paragraph section of the menu bar.
I would set it not to use a bullet image - personal preference
Go to Font Options, and pick the Paragraph tab.
Change all the indentation values to 0
Change other settings as you like.

This fixed the problem for me.

Renata

Thanks for your information.  Next time i certainly keep this in mind. Saves a lot of work ;)

Kind regards
Renata
Please visit my website https://responsivewebsitemaken.nl for all your graphic webdesign and Joomla websites.