ok problem is that the cart is an active shop and would lose sales if i left it with no right boxes!! what about if i switched TM on then done a view source then do a copt paste of the code for the page?? could post it on here??
cheers
ok problem is that the cart is an active shop and would lose sales if i left it with no right boxes!! what about if i switched TM on then done a view source then do a copt paste of the code for the page?? could post it on here??
cheers
Love your add-on. Works great.![]()
Just curious though, is there a way to disable customers add testimonials?
I have looked through all files and cannot seem to locate the code to remove the "Add My Testimonial" link.
Worried about spammers.
Maybe I'm not making myself clear or not using the right protocol, if so my appologies.
I like your module and would like to use it in my clients online store to add testimonials.
I like the fact that it displays a preview in the sidebox.
What i would like not to have is the customer adding their own testimonial.
The store is a part time venture and the owner is not computer savvy and does not want to login to approve testimonials.
Is there a way to disable the "add my testimonial" link/button?
Thanks.
admin -> configuration -> testimonial manager -> Only registered customers may submit a testimonial Set this to true.
Doing this will allow only customers who are logged in to submit a testimonial.
If that is not exactly what you want to do, then:
You can edit the following 2 files
includes/templates/YOUR_TEMPLATE/templates/tpl_display_all_testimonials_default.php
includes/templates/YOUR_TEMPLATE/templates/tpl_testimonials_manager_default.php
Find and delete the following section of code:
PHP Code:<div class="buttonRow forward"><a href="<?php echo zen_href_link(FILENAME_TESTIMONIALS_ADD, '', 'SSL'); ?>"><?php echo zen_image_button(BUTTON_IMAGE_TESTIMONIALS, BUTTON_TESTIMONIALS_ADD_ALT); ?></a></div>
That works! Thank you so much!
Thanks for the nice addon! I am creating a Feedback addon based on your code...I noticed in your v1.5.2 uninstall sql, you have the below insert lines adding congif keys unrelated to your addon???
Should this be there? Or can it be deleted?Code:INSERT INTO `configuration` VALUES (NULL, 'Product option type Select', 'PRODUCTS_OPTIONS_TYPE_SELECT', '0', 'The number representing the Select type of product option.', 0, NULL, NULL, now(), NULL, NULL); INSERT INTO `configuration` VALUES (NULL, 'Upload prefix', 'UPLOAD_PREFIX', 'upload_', 'Prefix used to differentiate between upload options and other options', 0, NULL, NULL, now(), NULL, NULL); INSERT INTO `configuration` VALUES (NULL, 'Text prefix', 'TEXT_PREFIX', 'txt_', 'Prefix used to differentiate between text option values and other option values', 0, NULL, NULL, now(), NULL, NULL); INSERT INTO `configuration` VALUES (NULL, 'Image Handler Version', 'IH_VERSION', '2.0', 'This is used by image handler to check if the database is up to date with uploaded image handler files.', 0, 100, NULL, now(), NULL, 'zen_cfg_textarea_small(');
Thanks![]()
Experience is what you get when you don’t get what you want…
Hello,
I have a problem with the side box.
Its activated in the admin but it doesnt show on the website.
I reinstalled TD without success.
Does someone knows in what direction I might take a look?
Thanks!
This is the standard code for Zen Cart sideboxes:
I looked at a view source of your site and you or someone has obviously edited this standard zen cart code to suite your own needs.PHP Code:$content = '';
$content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">';
$content .= "\n" . '<ul style="margin: 0; padding: 0; list-style-type: none;">' . "\n";
for ($i=0; $i<sizeof($information); $i++) {
$content .= '<li>' . $information[$i] . '</li>' . "\n";
}
$content .= '</ul>' . "\n";
$content .= '</div>';
You can modify the TM sidebox to fit with the code for your sideboxes and see if that would solve the problem.