Simple mod to change the List view to Grid view by default
The following files are changed with this mod:
catalog/view/theme/default/template/product/category.tpl
catalog/view/theme/default/template/product/manufacturer_info.tpl
catalog/view/theme/default/template/product/search.tpl
catalog/view/theme/default/template/product/special.tpl
vQmod xml file:
uksb_grid_view_default.xml
The following files are changed with this mod:
catalog/view/theme/default/template/product/category.tpl
catalog/view/theme/default/template/product/manufacturer_info.tpl
catalog/view/theme/default/template/product/search.tpl
catalog/view/theme/default/template/product/special.tpl
vQmod xml file:
uksb_grid_view_default.xml
thanks for the effort
ALL Templates :: 1.5.1+ Templates :: 50%-75% PRICE DROP ONLY at OpencartStuff.com
Hi everyboy
The script nor working for me
I don't understand
anybody have an idea ?
Thanks
The script nor working for me
I don't understand
anybody have an idea ?
Thanks
http://wm-distribution.com ---- OC 1.5.1.3
The mod should run out of the box
If you have other xml files altering the same files, that may be the reason
Always best to clear vqcache folder when adding new mods
Also, in vqmod.php it is a good idea to set useCache to True and Logging to False
If you have other xml files altering the same files, that may be the reason
Always best to clear vqcache folder when adding new mods
Also, in vqmod.php it is a good idea to set useCache to True and Logging to False
hi, thanks for the prompt reply, but it will not work in my site using 1.5.1, i have used other vqmods and they all seem to be working ok, am not saying there is a problem with your coding its probably something i am doing wrong, but i can not get it to work.uksitebuilder wrote:I just tested in my 1.5.1.1 and it works fine -> http://www.designs.org.uk
Impossible for me to tell exactly.
I initially made the mod for 1.5.0.5 i think it was
Anyway, your earlier post got alarm bells ringing because I had not tested in 1.5.1.x yet
But as my link above shows, it is working in 1.5.1.1
I have also just done a file compare on the 4 files that it affects for 1.5.0.5 - 1.5.1 - 1.5.1.1
there are no changes in the core code.
--
If running vqmod, are the vqcache files being generated ?
Do you have turned on or can you turn on Logging in vqmod.php to see if an error is generated/indicated in the log file in the vqmod folder.
I initially made the mod for 1.5.0.5 i think it was
Anyway, your earlier post got alarm bells ringing because I had not tested in 1.5.1.x yet
But as my link above shows, it is working in 1.5.1.1
I have also just done a file compare on the 4 files that it affects for 1.5.0.5 - 1.5.1 - 1.5.1.1
there are no changes in the core code.
--
If running vqmod, are the vqcache files being generated ?
Do you have turned on or can you turn on Logging in vqmod.php to see if an error is generated/indicated in the log file in the vqmod folder.
Hi thanks for the prompt reply, am new to this vqmod thing but yes the vqcache files are being generated, my vqmod.php states the followinguksitebuilder wrote:Impossible for me to tell exactly.
I initially made the mod for 1.5.0.5 i think it was
Anyway, your earlier post got alarm bells ringing because I had not tested in 1.5.1.x yet
But as my link above shows, it is working in 1.5.1.1
I have also just done a file compare on the 4 files that it affects for 1.5.0.5 - 1.5.1 - 1.5.1.1
there are no changes in the core code.
--
If running vqmod, are the vqcache files being generated ?
Do you have turned on or can you turn on Logging in vqmod.php to see if an error is generated/indicated in the log file in the vqmod folder.
final class VQMod {
private $vqversion = '1.2.3'; // Current version for logging
private $filesToMod = array(); // Keeps a list of all the files that have mods available at construct
private $modsByFile = array(); // Keeps an array of which mods apply to which files to improve performance
private $doNotMod = array(); // Keeps an array of which files should never be modded
private $fileCache = array(); // Keeps a relationship from real file to temp file to avoid reloading same class
private $cwd = ''; // default working directory of this script
private $virtualMode = TRUE; // If you want to modify the actual source files, set to FALSE. NOT RECOMMENDED!!!
private $init = TRUE; // Triggers the log to reset
private $logFilePath = './vqmod'; // Log file path. default: './vqmod/logs'
private $logFileName = 'vqmod.log'; // Log file name. default: 'vqmod.log'
public $useCache = FALSE; // Whether or not to use previously cached versions of the source files
public $vqCachePath = './vqmod/vqcache'; // The vqmod cache path
public $protectedFilelist = './vqmod/vqprotect.txt';// Protected Files list path. default: './vqmod/vqprotect.txt'
public $logging = TRUE; // enable/disable logging
Logging is already on, i would suggest you eventually set it to FALSE and certainly change useCache to TRUE as this is known to cause problems in some situations.
Basically as you have it, the cache files are recreated at each page load.
--
So, do you have a log file in your vqmod folder ?
After changing the useCache to TRUE, try it again and let me know if it is not working.
Basically as you have it, the cache files are recreated at each page load.
--
So, do you have a log file in your vqmod folder ?
After changing the useCache to TRUE, try it again and let me know if it is not working.
hi, i have no log file in the vqmod folder.uksitebuilder wrote:Logging is already on, i would suggest you eventually set it to FALSE and certainly change useCache to TRUE as this is known to cause problems in some situations.
Basically as you have it, the cache files are recreated at each page load.
--
So, do you have a log file in your vqmod folder ?
After changing the useCache to TRUE, try it again and let me know if it is not working.
That's very weird.
Even if you have no errors, you should get a log file if logging is set to TRUE.
Have you cleared cookies before testing again ?
I'm kinda running out of answers after this, sorry
Even if you have no errors, you should get a log file if logging is set to TRUE.
Have you cleared cookies before testing again ?
I'm kinda running out of answers after this, sorry
Who is online
Users browsing this forum: No registered users and 54 guests