[Addon] Generic Box
#41
Posted 01 March 2011 - 09:44 PM
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#42
Posted 01 March 2011 - 09:53 PM
As it worked on the catalog side & shows on the admin side I'm guessing I'll have to make the colour & size adjustments but leave the ' as original. The error message doesn't seem to stop it from working, unless you have another work around java script?
All it means is that I cannot edit the code. I have to un-install & re-install. Will this make any difference?
I'm hoping un-installing & re-installing many times won't have an adverse affect?
#43
Posted 01 March 2011 - 10:08 PM
$module_contents .= $content . PHP_EOL;and change it to:
$module_contents .= stripslashes($content) . PHP_EOL;The box should now work correctly in both the Admin and Catalog.
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#44
Posted 01 March 2011 - 10:17 PM
Not sure if this is a default with the generic box, but you only seem to be able to add code to the contents once?
After that you do not get the option of the code in the white input box?
I'll leave it at that for the moment, until you say any different.
Thanks once again.
#45
Posted 01 March 2011 - 10:19 PM
kymation, on 01 March 2011 - 10:08 PM, said:
$module_contents .= $content . PHP_EOL;and change it to:
$module_contents .= stripslashes($content) . PHP_EOL;The box should now work correctly in both the Admin and Catalog.
Regards
Jim
#46
Posted 01 March 2011 - 10:27 PM
I think you've found a bug. I have no idea what is doing that, but I'll find out and fix it. Thanks for letting me know.
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#48
Posted 02 March 2011 - 02:25 PM
But can you tell me how to make it not appear on product pages, like the best sellers box... display on every page but product pages.
Thanks,
Mastermind2008
#49
Posted 02 March 2011 - 06:54 PM
Regrds
Jim
Edited by kymation, 02 March 2011 - 06:54 PM.
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#50
Posted 02 March 2011 - 06:59 PM
Thanks.
#51
Posted 02 March 2011 - 07:22 PM
if (tep_not_null($content)) {
and replace it with:
if (tep_not_null($content) && !isset($HTTP_GET_VARS['products_id'])) {
That should keep it from showing on any product or review page.Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#52
Posted 02 March 2011 - 07:27 PM
Thanks so much!
Edited by Mastermind2008, 02 March 2011 - 07:30 PM.
#53
Posted 02 March 2011 - 07:43 PM
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#54
Posted 02 March 2011 - 07:49 PM
kymation, on 02 March 2011 - 07:43 PM, said:
Regards
Jim
Thanks!
Edited by Mastermind2008, 02 March 2011 - 07:59 PM.
#55
Posted 06 March 2011 - 12:18 PM
Worked ok on development server, now running live, installed without issue.
Great addon. Thanks Jim.
Russ
#56
Posted 10 March 2011 - 05:37 PM
How do I code for a image in the
English Contents
Enter the contents that you want in your box in English.
Also
I tried a couple of things one that resulted in php errors ect
If this happens just uninstall and reinstall in the admin panel
Thanks for the help
Dave
#57
Posted 10 March 2011 - 05:51 PM
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#58
Posted 10 March 2011 - 08:12 PM
kymation, on 02 March 2011 - 07:22 PM, said:
if (tep_not_null($content)) {
and replace it with:
if (tep_not_null($content) && !isset($HTTP_GET_VARS['products_id'])) {
That should keep it from showing on any product or review page.Regards
Jim
Hi Jim
Slightly off topic, but will this code change work to stop the New Products box from appearing on the product_info page too please?
#59
Posted 10 March 2011 - 09:26 PM
Regards
Jim
Banners Box 2.3.x Support
Categories Accordion Box 2.3.x Support
Categories Images Box 2.2x 2.3.x Support
Closest Shipper 2.2x Support
Document Manager 2.2x Support
Generic Box 2.3.x Support
Get 1 Free 2.2x Support
jQuery Banner Rotator 2.2x 2.3.x Support
Modular Front Page 2.3.x Support
Modular SEO Header Tags 2.3.x Support
MVS 2.2x Support
PDF Datasheet 2.3.x Support
Price Updater 2.2x
Products Specifications 2.2x 2.3.x Development Version Support Bugs/Suggestions
Request a Review 2.2x - 2.3.x Support
Similar Products Box 2.2x
Specials Image Overlay 2.3x Support
Theme Switcher 2.3.x Support
#60
Posted 10 March 2011 - 09:59 PM
kymation, on 10 March 2011 - 09:26 PM, said:
Regards
Jim
Edited by warrenerjm, 10 March 2011 - 10:02 PM.









