| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
All Products on front page, similar to featured products | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||
|
|||||||
Re: All Products on front page, similar to featured products
I changed this one, but I'm having trouble getting the Rebuilding cache to cooperate.
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#22
|
|||||||
|
|||||||
Re: All Products on front page, similar to featured products
I can not get this one to working, even though it shows enabled. Nothing has changed on the front page. The Product Advisor mod is still on. I tried turning it of, no difference.
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#23
|
|||||||
|
|||||||
Re: All Products on front page, similar to featured products
Where is this folder structure supposed to be? View/Custom/ProductsOnHome.php
I thought it was supposed to be here: classes/XLite/Module/FasterThanYours/AllProductsFrontPage/View/Custom Because I put the Main.php in classes/XLite/Module/FasterThanYours/AllProductsFrontPage/ Not sure what to do at this point. I've attached the ProductsOnHome.php I made
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#24
|
|||||||||
|
|||||||||
Re: All Products on front page, similar to featured products
Yes, you are right. This folder is supposed to be at
classes/XLite/Module/FasterThanYours/AllProductsFrontPage/View/Custom Could you please pack your module and send it to me? You should set up developer_mode option as On in the etc/config.php file and then you will see 'Pack it' link near each module in the 'Installed modules' section in admin area. Once I receive the module, I will be able to check what is wrong with it. Tony. Quote:
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#25
|
|||||||
|
|||||||
Re: All Products on front page, similar to featured products
Here it is packaged up. Ok it wouldn't let me attach the tar file, so here's a link on Dropbox
https://www.dropbox.com/s/uq29hyxdl923wkc/FasterThanYours-AllProductsFrontPage-v5_1_3.tar
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#26
|
|||||||||
|
|||||||||
Re: All Products on front page, similar to featured products
Hi Michael!
You need to apply two fixes in order to make this module work: 1) Change the class name in the classes/XLite/Module/FasterThanYours/AllProductsFrontPage/View/Custom/ProductsOnHomePage.php file to ProductsOnHomePage (or change the file name to ProductsOnHome.php). The idea is that filename and classname must be the same. 2) Remove the very first space symbol before <?php construction in that file. Rebuild the cache and after that, your module should start working properly.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#27
|
|||||||
|
|||||||
Re: All Products on front page, similar to featured products
Thanks, I just caught that extra space when I posted the link. I've changed the name and I'm working on rebuilding the cache now.
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#28
|
|||||||
|
|||||||
Re: All Products on front page, similar to featured products
Tony,
The site won't Re-build the cache again. I cleared everything out of the var folder, but it's still just making the var\log\php_errors.log.2014-08-05.php file get bigger and bigger. This repeats over and over. PHP Code:
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#29
|
|||||||
|
|||||||
Re: All Products on front page, similar to featured products
Ok I finally got it to rebuild, had to delete the var directory itself.
It's still not working.
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#30
|
|||||||||
|
|||||||||
Re: All Products on front page, similar to featured products
Hi Michael!
The problem with 'Error (code: -9999): We are deploying new changes to our store. One minute and they will go live! Server API: cgi-fcgi;' message populated php_errors log is fixed in 5.1.4. Please upgrade it and your php_errors log will be much cleaner. As for the problem with the mod. Could you please pack it up and send it to me again? I will check it for you. Tony.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|