Post by uksitebuilder » Wed Aug 10, 2011 12:20 am

Want your products shown in categories displayed in grid view by default.

This mod will take care of that.

Tested on 1.5.x

ImageImageImageImageImage
For Friendly Professional Support - Click Here
"I will not answer your posts if you can't be bothered to specify your OC Version,
or provide a link to your site if it is a template related query
"


User avatar

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by jcooke » Wed Aug 10, 2011 3:16 am

I came across this and it is what i was looking for. How do i install it and how any categories can I show? Also, how do I install it with the hide categories mod? I want my home page to show categories not latest items, will this do it?


Posts

Joined
Wed Jun 01, 2011 1:07 am

Post by uksitebuilder » Wed Aug 10, 2011 3:32 am

jcooke wrote:I came across this and it is what i was looking for. How do i install it and how many categories can I show? Also, how do I install it with the hide categories mod?
This is for displaying products in a category in Grid View by Default as opposed to List View by Default

All the [vQmod] in this forum are installed by simply dropping an xml file in to a folder on your server.

You must have the vQmod extension installed on your server to use these vQmod files.

vQmod gives you an easy way to modify files without editing the core files and therefore enabling easy updates in OpenCart versions in the future.

Please see this topic on how to install vQmod first -> http://forum.opencart.com/viewtopic.php?f=23&t=24529

--

With regards to:
jcooke wrote: I want my home page to show categories not latest items, will this do it?
No neither this mod nor the 'hide empty categories' mod will display categories on your homepage instead of latest products.

ImageImageImageImageImage
For Friendly Professional Support - Click Here
"I will not answer your posts if you can't be bothered to specify your OC Version,
or provide a link to your site if it is a template related query
"


User avatar

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by hellogoodbye » Mon Aug 15, 2011 6:53 am

Not sure why but its not working for me. I didn't see anything in the vqmod.log I'm using 1.5.1.1
Possible reasons?


Posts

Joined
Wed May 04, 2011 6:33 am

Post by reynierpm » Mon Aug 15, 2011 9:03 am

Hi, I changed the code in files, clear cookies and get this error in Firebug:
$.cookie is not a function
view = $.cookie('display');
I'm using OC 1.5.1.1 and custom theme based on default, any help?

User avatar

Posts

Joined
Tue Jan 12, 2010 9:51 pm

Post by uksitebuilder » Mon Aug 15, 2011 4:35 pm

Looks like custom theme has been edited and breaks the cookie code

ImageImageImageImageImage
For Friendly Professional Support - Click Here
"I will not answer your posts if you can't be bothered to specify your OC Version,
or provide a link to your site if it is a template related query
"


User avatar

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by hellogoodbye » Sat Aug 20, 2011 10:19 am

Silly me. I forgot to change the path to my custom template. Got it to work. Thanks for this!


Posts

Joined
Wed May 04, 2011 6:33 am

Post by Lao » Thu Sep 22, 2011 9:04 pm

What paths do we have to change for a custom theme?

I only have category.tpl and special.tpl in my product folder of custom theme.

I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro


User avatar
Lao

Posts

Joined
Tue Nov 23, 2010 3:31 pm
Location - Craiova, Romania

Post by uksitebuilder » Thu Sep 22, 2011 9:12 pm

Lao, if your theme doesn't have the template files mentioned in the vqmod file, then leave those as default.

If your theme does have the template (.tpl) files mentioned in the vqmod file, the edit the vqmod file and change the path to suit your template.

OC uses a fallback system for template files, so if your template doesn't have a certain file, the default is used instead.

The only other thing to check is that if your template file does exist, is the vqod search going to find the code or has that been changed.

If the latter, then more work needs to be done.

ImageImageImageImageImage
For Friendly Professional Support - Click Here
"I will not answer your posts if you can't be bothered to specify your OC Version,
or provide a link to your site if it is a template related query
"


User avatar

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by Lao » Thu Sep 22, 2011 9:26 pm

Strange thing is that this worked ok until a few days ago, when I saw that it doesn't work anymore. I tried your solution with no success. :( It still shows products as list.

I was trying to think if I used some other mod and no results came in my mind.

I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro


User avatar
Lao

Posts

Joined
Tue Nov 23, 2010 3:31 pm
Location - Craiova, Romania

Post by uksitebuilder » Thu Sep 22, 2011 9:51 pm

could be a cookie issue - have you tried clearing your cookies ?

what is your link, let me see if I can replicate your problem.

ImageImageImageImageImage
For Friendly Professional Support - Click Here
"I will not answer your posts if you can't be bothered to specify your OC Version,
or provide a link to your site if it is a template related query
"


User avatar

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by Lao » Thu Sep 22, 2011 10:06 pm


I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro


User avatar
Lao

Posts

Joined
Tue Nov 23, 2010 3:31 pm
Location - Craiova, Romania

Post by uksitebuilder » Thu Sep 22, 2011 10:32 pm

the following file is missing from your server:
catalog/view/javascript/jquery/ui/external/jquery.cookie.js

ImageImageImageImageImage
For Friendly Professional Support - Click Here
"I will not answer your posts if you can't be bothered to specify your OC Version,
or provide a link to your site if it is a template related query
"


User avatar

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by Lao » Fri Sep 23, 2011 4:10 am

I renamed it after I got some news from the hosting company saying I was under some sort of attack. I found the solution right here on the forums.

Is there any other place I should point to it renamed?

I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro


User avatar
Lao

Posts

Joined
Tue Nov 23, 2010 3:31 pm
Location - Craiova, Romania

Post by uksitebuilder » Fri Sep 23, 2011 4:17 am

Looks like your host is using apache's mod_security which has some b/s rule about the name of files containing the word 'cookie'

If you ask me mod_security = epic fail, but I digress.

Try changing the header.tpl to point to the newly renamed file.

ImageImageImageImageImage
For Friendly Professional Support - Click Here
"I will not answer your posts if you can't be bothered to specify your OC Version,
or provide a link to your site if it is a template related query
"


User avatar

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by Lao » Fri Sep 23, 2011 4:36 am

Did that already. Nothing changed. I guess I'll have to live with list view. :(

I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro


User avatar
Lao

Posts

Joined
Tue Nov 23, 2010 3:31 pm
Location - Craiova, Romania

Post by uksitebuilder » Fri Sep 23, 2011 4:40 am

it still has the following in your header.tpl

<script type="text/javascript" src="catalog/view/javascript/jquery/ui/external/jquery.cookie.js"></script>

ImageImageImageImageImage
For Friendly Professional Support - Click Here
"I will not answer your posts if you can't be bothered to specify your OC Version,
or provide a link to your site if it is a template related query
"


User avatar

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by Lao » Fri Sep 23, 2011 7:47 pm

I see it in the page source, but I checked it right now and the modification is done. In both default and custom theme, just to be sure.

Is there any other place where this file is mentioned, besides header.tpl?

I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro


User avatar
Lao

Posts

Joined
Tue Nov 23, 2010 3:31 pm
Location - Craiova, Romania

Post by florinsith » Fri Sep 23, 2011 8:01 pm

Checked it right now and it seemd you didnt change the name of the file in the octheme2 header. Email or call me now and we'll sort it out.

Image
My Extensions - SuperTheme - Opencart templates - Opencart modules


User avatar

Posts

Joined
Fri May 14, 2010 2:36 am


Post by Lao » Fri Sep 23, 2011 10:09 pm

Florin managed to help me with the grid view. I gave up on the option to have list view. I want only grid.

I'll see tonight how I will solve the cookie.js renaming. It seems it finds it somewhere else. I'll get back with the results.

I'm using Open Cart 1.5.4.1 on http://www.importpieseauto.ro


User avatar
Lao

Posts

Joined
Tue Nov 23, 2010 3:31 pm
Location - Craiova, Romania
Who is online

Users browsing this forum: No registered users and 8 guests