I'm using template_default all folders are renamed with template_default but i still get error...
Printable View
I'm using template_default all folders are renamed with template_default but i still get error...
Not a good idea - because any changes you make in any of the files will be overwritten the next time you upgrade.
In any case I'd suggest you make the following changes in the location of the files:
includes/languages/english/extra_definitions/testimonials_manager_defines.php
includes/languages/english/testimonials_add.php
includes/languages/english/testimonials_manager.php
includes/languages/english/testimonials_manager_all_testimonials.php
includes/languages/english/html_includes/define_testimonials_add.php
includes/modules/sideboxes/testimonials_manager.php
includes/templates/template_default/sideboxes/tpl_testimonials_manager.php
includes/templates/template_default/templates/tpl_testimonials_add_default.php
includes/templates/template_default/templates/tpl_testimonials_manager_all_testimonials_default. php
includes/templates/template_default/templates/tpl_testimonials_manager_default.php
includes/templates/template_default/css/testimonials_add.css
includes/templates/template_default/css/testimonials_manager.css
includes/templates/template_default/css/testimonials_manager_all_testimonials.css
Here is what i have....
This should fix the problem
Attachment 3586
It's ok now, thanks
One more question, how to show only one Testimonial in sidebox and they randomly show on every page load?
Now it's DONE!!! Thanks :)
Hi, everyone. I am trying to get this to work, but the sidebox keeps displaying the following:
Warning: main(includes/templates/template_default/sideboxes/tpl_testimonials_manager.php): failed to open stream: No such file or directory in /home/content/t/j/h/tjharri2/html/includes/modules/sideboxes/cherry_zen/testimonials_manager.php on line 41
Warning: main(includes/templates/template_default/sideboxes/tpl_testimonials_manager.php): failed to open stream: No such file or directory in /home/content/t/j/h/tjharri2/html/includes/modules/sideboxes/cherry_zen/testimonials_manager.php on line 41
Fatal error: main(): Failed opening required 'includes/templates/template_default/sideboxes/tpl_testimonials_manager.php' (include_path='.:/usr/local/lib/php') in /home/content/t/j/h/tjharri2/html/includes/modules/sideboxes/cherry_zen/testimonials_manager.php on line 41
Any help would be appreciated. I am totally stumped on this one. I've tried reinstalling, and everything. I've made sure that I've had all the files, but no cigar. Thanks in advance.
Make sure ALL of the YOUR_TEMPLATE folders are renamed to cherry_zen
includes/languages/english/YOUR_TEMPLATE/testimonials_add.php
includes/languages/english/html_includes/YOUR_TEMPLATE/define_testimonials_add.php
includes/modules/sideboxes/YOUR_TEMPLATE/testimonials_manager.php
includes/templates/YOUR_TEMPLATE/sideboxes/tpl_testimonials_manager.php
any idea when we will see the update to this
Version 1.4.6 of Testimonial Manager is available in the downloads section.
This upgrade adds some "cosmetic" formatting and fixes some minor bugs.
Hello Clyde,
Thanks for the update. I seem to be having the problem with the sql as before,
I get this on the links pageI have tried to process through zen cart and my host sql admin.Quote:
Warning: Division by zero
It goes through fine on zen cart sql tool. but on host, this part fails:-
I processed successfully everything around it, so guessing it is this block. It fails at line 1, if I enter that block on its own. I know it is something to do with my setup / host.Quote:
INSERT INTO `configuration` VALUES (NULL, 'Links Box - Display View All Links', 'BOX_DISPLAY_VIEW_ALL_LINKS', 'true', 'Display View All Links on Links Sidebox', @configuration_group_id, 1, NULL, now(), NULL, 'zen_cfg_select_option(array(NULL, ''true'', ''false''), '), (NULL, 'Links Box - Display Submit Link', 'BOX_DISPLAY_SUBMIT_LINK', 'true', 'Display Submit Link on Sidebox', @configuration_group_id, 2, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Display Description As Link', 'DISPLAY_LINK_DESCRIPTION_AS_LINK', 'false', 'Display the links description as a link', @configuration_group_id, 3, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Enable Click Count', 'ENABLE_LINKS_COUNT', 'false', 'Enable links click count.', @configuration_group_id, 4, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Submit Link - Require Reciprocal Page', 'SUBMIT_LINK_REQUIRE_RECIPROCAL', 'true', 'Require Reciprocal Page on Links Submit', @configuration_group_id, 5, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), '), (NULL, 'Display Link Banner Image', 'LINK_LIST_IMAGE', '1', 'Do you want to display the Link Banner Image?', @configuration_group_id, 6, NULL, now(), NULL, NULL), (NULL, 'Display Link Description', 'LINK_LIST_DESCRIPTION', '2', 'Do you want to display the Link Description?', @configuration_group_id, 7, NULL, now(), NULL, NULL), (NULL, 'Display Link Click Count', 'LINK_LIST_COUNT', '3', 'Do you want to display the Link Click Count?', @configuration_group_id, 8, NULL, now(), NULL, NULL), (NULL, 'Link Title Minimum Length', 'ENTRY_LINKS_TITLE_MIN_LENGTH', '2', 'Minimum length of link title.', @configuration_group_id, 9, NULL, now(), NULL, NULL), (NULL, 'Link URL Minimum Length', 'ENTRY_LINKS_URL_MIN_LENGTH', '10', 'Minimum length of link URL.', @configuration_group_id, 10, NULL, now(), NULL, NULL), (NULL, 'Link Description Minimum Length', 'ENTRY_LINKS_DESCRIPTION_MIN_LENGTH', '10', 'Minimum length of link description.', @configuration_group_id, 11, NULL, now(), NULL, NULL), (NULL, 'Link Contact Name Minimum Length', 'ENTRY_LINKS_CONTACT_NAME_MIN_LENGTH', '2', 'Minimum length of link contact name.', @configuration_group_id, 12, NULL, now(), NULL, NULL), (NULL, 'Links Check Phrase', 'LINKS_CHECK_PHRASE', 'yoursitename', 'Phrase to look for, when you perform a link check.', @configuration_group_id, 13, NULL, now(), NULL, NULL), (NULL, 'Links List - Scroll Box Size/Style', 'MAX_LINKS_LIST', '3', 'Number of link category names to be displayed in the scroll box window. Setting this to 1 or 0 will display a dropdown list', @configuration_group_id, 14, NULL, now(), NULL, NULL), (NULL, 'Length of Link Categories Name', 'MAX_DISPLAY_LINK_NAME_LEN', '20', 'Used in links box; maximum length of link category name to display. Longer names will be truncated.', @configuration_group_id, 15, NULL, now(), NULL, NULL), (NULL, 'Select Links Sort Order', 'DEFINE_SORT_ORDER', '1', 'Define the sort order of the links<br />1= Sort by Title<br />2= Sort by Date (Newest to Oldest)<br />3= Sort by number of clicks (highest to lowest)', @configuration_group_id, 16, NULL, now(), NULL, 'zen_cfg_select_option(array(''1'', ''2'', ''3''),'), (NULL, 'Number of Link Categories Per Row - Default is 3', 'MAX_LINK_CATEGORIES_ROW', '3', 'Used to display Link Categories per row.<br />Default is 3', @configuration_group_id, 17, NULL, now(), NULL, NULL), (NULL, 'Link Category Image Directory', 'LINK_CATEGORY_IMAGE_DIRECTORY', 'link_category/', 'Set the Directory for the Category Image', @configuration_group_id, 18, NULL, now(), NULL, NULL), (NULL, 'Image - Link Category Height', 'LINK_CATEGORY_IMAGE_HEIGHT', '80', 'The pixel width of Link Category images', @configuration_group_id, 19, NULL, now(), NULL, NULL), (NULL, 'Image - Link Category Width', 'LINK_CATEGORY_IMAGE_WIDTH', '80', 'The pixel width of Link Category images', @configuration_group_id, 20, NULL, now(), NULL, NULL), (NULL, 'Link Image Directory', 'LINK_IMAGE_DIRECTORY', 'links_image/', 'Set the Directory for the Link Image', @configuration_group_id, 21, NULL, now(), NULL, NULL), (NULL, 'Image - Link Image Width', 'LINK_IMAGE_WIDTH', '150', 'The pixel width of Link images', @configuration_group_id, 22, NULL, now(), NULL, NULL), (NULL, 'Image - Link Image Height', 'LINK_IMAGE_HEIGHT', '30', 'The pixel height of Link images', @configuration_group_id, 23, NULL, now(), NULL, NULL), (NULL, 'Default Link Image', 'DEFAULT_LINK_IMAGE', 'links_default.jpg', 'Set the Default Link Image', @configuration_group_id, 24, NULL, now(), NULL, NULL), (NULL,'Only registered customers may submit a Link', 'REGISTERED_LINK', 'false', 'Only registered customers may submit a Link', @configuration_group_id, 25, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),'), ;
Also, there are no options in Links Manager, it is just blank at the moment.
Thanks in advance. Also, do you accept donations at all?
Heathenmagic
You're in the wrong thread - this is for Testimonial Manager and not Links Manager:
Try the fix posted here in the Links Manager Thread
Check my Test Site in my signature.
Hello Clyde,
I do apologise, I didnt do it purposely. I went to the wrong thread. i will check the other thread out and your test site.
Thanks very much:smile:
Hello Clyde,
Just tried it, it works a treat. You are excellent as always. I found your donate button, wil send you something very soon.
Regards,
Heathenmagic :smile:
Hi Clyde,
I'm running ZC 1.3.7 and so installed TM 1.4.4, as it was listed for ZC1.3.7.
I've one issue that may well be resolved in TM1.4.6 but I'm not sure if it will run on ZC1.3.7.
Here's the thing:
I'd like only admin ability to 'add' a testimonial. *OR* if there's a way for testimonials to be added by users but not displayed without admin approval that will work.
so, is this do-able in TM 1.4.4, and if not is it in the latest/latest? If that's the case can I run the latest/latest on ZC 1.3.7?
Thanks in advance for your reply and in abundance for a fantastic mod.
-Ray
awesome...and great mod. thanks again!
-Ray
This is great modules ! Thanks you for your great work!
1. I am lovin this contrib... thanks so much!
2. on the top of our view all page: midwestapplianceparts.com/index.php?main_page=testimonials_manager_all_testimonials
it says:
:: NAVBAR_TITLE HEADING_TITLE TEXT_DISPLAY_NUMBER_OF_TESTIMONIALS_MANAGER_ITEMS
what can I do about this?
thanks again! :clap:
also, on IE7, not firefox... when I go to a long testimonials "read more" page, the buttons on the lower left go out of the boundries... like here:
midwestapplianceparts.com/index.php?main_page=testimonials_manager&testimonials_id=3
Make sure you've uploaded ALL the necessary files:
includes/extra_datafiles/testimonials_manager_filenames.php
includes/functions/testimonials.php
includes/languages/english/extra_definitions/YOUR_TEMPLATE/testimonials_manager_defines.php
includes/languages/english/YOUR_TEMPLATE/testimonials_add.php
includes/languages/english/YOUR_TEMPLATE/testimonials_manager.php
includes/languages/english/YOUR_TEMPLATE/testimonials_manager_all_testimonials.php
includes/languages/english/html_includes/define_testimonials_add.php
includes/languages/english/html_includes/YOUR_TEMPLATE/define_testimonials_add.php
includes/modules/pages/testimonials_add
includes/modules/pages/testimonials_manager
includes/modules/pages/testimonials_manager_all_testimonials
includes/modules/sideboxes/YOUR_TEMPLATE/testimonials_manager.php
includes/templates/YOUR_TEMPLATE/sideboxes/tpl_testimonials_manager.php
includes/templates/YOUR_TEMPLATE/templates/tpl_testimonials_add_default.php
includes/templates/YOUR_TEMPLATE/templates/tpl_testimonials_manager_all_testimonials_default.php
includes/templates/YOUR_TEMPLATE/templates/tpl_testimonials_manager_default.php
includes/templates/YOUR_TEMPLATE/css/testimonials_add.css
includes/templates/YOUR_TEMPLATE/css/testimonials_manager.css
includes/templates/YOUR_TEMPLATE/css/testimonials_manager_all_testimonials.css
Again make sure ALL the necessary files have been uploaded to your server.
I am currently using Testimonal Manager on ZenCart 1.3.7 and it works fine, and looks great.
One thing that is confusing me though, is HTML validation.
I use the validator at http://validator.w3.org/ which used to come out clean on my home page, but I am now getting 5 errors - one for each of the testimonials that are displayed:
I would be grateful if anyone has any idea how to correct this.Quote:
Validation Output: 5 Errors
- <LI class=msg_err> Line 168, Column 647: ID "catBoxDivider" already defined.…/a></strong></span></p></div><hr id="catBoxDivider" /><b><a href="http://www.
An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).
- Line 69, Column 2535: ID "catBoxDivider" first defined here.…br style="line-height: 0;" /><hr id="catBoxDivider" /><br style="line-height:
This has been corrected in the latest version available in the downloads section.
Open includes/templates/YOUR_TEMPLATE/sideboxes/tpl_testimonials_manager.php
find (at around line 21) the following code:
and change it to readPHP Code:
$content .= '<hr id="catBoxDivider" />';
save the file and upload to your server.PHP Code:
$content .= '<hr class="catBoxDivider" />';
Thank you Clyde, that worked perfectly.
I currently have 1.4.5 of your mod installed, do you think it is worth me putting on the 1.4.6 version, or is it better leaving alone.
Thanks, Dave
Hi Clyde, thanks for the input.
I have tried 1.4.6 on my test site, and all seems fine, so I will probably update my live site as well.
One thing I noticed when I was checking through my site is that on both versions, the "View All Testimonials" page fails the HTML validation.
It's not really a problem to me - I'm happy now my main page validates, but I thought it may be of interest to you.Quote:
Validation Output: 2 Errors
Line 205, Column 9: ID "productsListingTopNumber" already defined.
<div id="productsListingTopNumber" class="navSplitPagesResult back">Displaying <
Line 102, Column 9: ID "productsListingTopNumber" first defined here.
<div id="productsListingTopNumber" class="navSplitPagesResult back">Displaying <
Line 207, Column 9: ID "productsListingListingTopLinks" already defined.
<div id="productsListingListingTopLinks" class="navSplitPagesLinks forward"> &nb?
Line 105, Column 9: ID "productsListingListingTopLinks" first defined here.
<div id="productsListingListingTopLinks" class="navSplitPagesLinks forward"> &nb
This should fix the validation issue.
Just change the YOUR_TEMPLATE folder to match the name of your custom template and upload the entire includes folder to your server.
Attachment 3808
Yes Clyde, that works perfectly now :smile:Quote:
This should fix the validation issue
Thank you again.
Dave
when I install and it says YOUR_TEMPLATE should this go into classic or template_default?????
for some reason on IE, the testimonials text inside box doesn't show up unless I put my mouse over the text and click.... any suggestions
Ok replaced all files and did it right in the classic and the VIEW ALL TESTIMONIALS page is now all formated correctly, still having a problem in testimonial side box on IE, it doesn't show anything unless I scroll over or click and scroll over text in box....
EDITED:
Nope, it looks alright!!! YEA!!! THANK YOU!
Clyde,
Thanks for a great mod. Two quick (related questions).
Where would I go to set the e-mail field as optional (on the client side) and the country field as required (again, on the client side)?
Thanks :-)
Brilliant - that worked! All changed. The only other minor thing that I'd like to do is change the order of the fields (i.e. have country and e-mail swapped around now that country is required and e-mail is optional). Had a quick play but couldn't seem to get it. Can you point me in the direction of the section of code that needs to be changed? Thanks!
Thanks again! I now have this setup just how I want it! Thanks heaps :-)
I find that I do not need most of the definitions in testimonials_add.css except for:which I am not sure where they are utilized. If I determine that I do not need the entire testimonials_add.css file, can I simply not upload it to the server? Thanks.Code:option {background:#fff; color:#000;}
optgroup {background:#fff; color:#000; font-family:verdana, arial, helvetica, sans-serif;}
optgroup option {background:#fff; color:#000;}
BTW, when editing a testimonial that has an image previously added, the image gets deleted even when the Delete Image's radio button was set to 'No'. Am I missing something?
Thank you the fast response. Basically, I took these steps:
1. admin->tools->Testimonials Manager
2. click on a testimonial that has an image added previously
3. click Edit
4. click Update w/o editing anything.
That's all. The image is now missing. I checked the image folder specially created for testimonial and found the image file still there.
Btw, I am doing this in my local PC though. Thanks for any advice.
I've still not been able to duplicate this either on my test site or on my local PC.
Try this and see if it helps:
Just unzip the file and drop the entire admin folder into your ZC installation.
Attachment 3901
Is there a way to require a CAPTCHA code to be entered when submitting testimonials?
I'm getting many bogus testimonials entered with junk and spam. :censored:
Take a look at the Captcha mod in the downloads section.
You should be able to modify the testimonial mod by following the way that mod is set up.
You could try setting the 'Only registered customers may submit a testimonial' to 'True'. That should deter at least some spam. Then if you install the CAPTCHA at your registration page, you could save yourself the problem of having to merge these 2 mods. plus reasonably resolve the spam issue. Just my 2 cents worth.
Again, I've followed the steps you outlined above and have not been able to duplicate the behavior you describe. So I'm not sure what the problem might be.Quote:
1. admin->tools->Testimonials Manager
2. click on a testimonial that has an image added previously
3. click Edit
4. click Update w/o editing anything.
I've checked on my local PC using XAMPP server environment and also on my test site.
I'm using the most recent version (1.4.6) of testimonials manager on both my PC and test site.
I am using version 1.4.6 too. I'm really not sure why it's only happening to my installation. Perhaps it's to do with another mod. It's above my head. :(
Correct me if I am mistaken, the inclusion of image(s) is only available to the admin. right? That is, testimonial writers can't add any image right? Frankly, I'm not too sure of the purpose for an image. Pls. enlighten me. Thanks.
You said this happens on your PC. do you have a live site where I could take a look?Quote:
I am using version 1.4.6 too. I'm really not sure why it's only happening to my installation. Perhaps it's to do with another mod. It's above my head.
CorrectQuote:
the inclusion of image(s) is only available to the admin. right? That is, testimonial writers can't add any image right?
I someone would do a testimonial about a particular product, you could include an image of that product (from the admin). The testimonial as well as the image of the product would then be displayedQuote:
Frankly, I'm not too sure of the purpose for an image. Pls. enlighten me.
where are the testimonials saved? i had to re-install my cart and i would like add my old testimonials back in...
thanks.
thanks for the quick reply clyde. it has been one rotten week.
how do i get them from the testimonials manager table into the new install?
thanks.
Clyde,
I just wanted to write and say this is an excellent piece of work! Installation went smooth and easy.
Great job!
still having problems on IE6 - the title of testimonial and inside text does not show up unless I click and drag over the area.... any suggestions?
midwestapplianceparts.com - homepage
When upgrading to IE7 is removes IE6 from your system. However, if you still want to be able to test websites with IE6 you can. Download it from my site at http://www.swiker.com/tools/IE6.zip then extract the files to a folder on your system. Then just run the iexplore.exe from within the folder. This folder has all the necessary files to run a local version of IE6. If you click Help on the IE menue then choose About, it will still say IE7 but trust me, it's not.
This will not affect your installed version if IE7. You can put a shortcut to the iexplore.exe file on your quick launch area then when you need to test a site with IE6 ... you can.
Try this and see if it helps:
open both includes/templates/classic/css/testimonials_manager_all_testimonials.css and includes/templates/classic/css/testimonials_manager.css
find the following declaration and add the highlighted portion.
blockquote {
margin:0 !important;
padding:0 !important;
background: url(../images/lftblockquote.png) top left no-repeat;
border:1px solid navy;
height:1%;
position: relative;
}
Save the files and upload them to your server.
This mod is very nice indeed! Thak you.
I just installed it and all appears to be workng fine. One Issue (or maybe not!) is the instructions say to create a database for this module. I didn't and it seems to work ok.
Should I create a database, now, after the fact? What files would I need to look into to change the database that this mod is using now once I get a new database set up?
If you ran the install_testimonials_manager.sql then the required database table was created and you don't need to do anything further.
The instructions read as follows:
This is taken care of when you run the install_testimonials_manager.sqlQuote:
Database Modifications:
A new database table needs to be created to store your testimonial items.
New configuration options are added to the zen_configuration table.
WHEW!!! I thought I messed something up (again :frusty: )
This mod is awesome! Thanks
Hi,
Does anyone know if Testimonial manager can automatically send an email out to the customer to place a testimonial on the site say 7days after receiving their goods? (just like eBay on their feedback system)?
Thanks.
I don't think this is a feature built into that module at this point.
However, newsletters are a great way to market. You may be able to find a newsletter software that will automatically email a customer after a purchase. Some newsletter software have survey options. The surveys will allow you to get the customer's feedback on the purchase.
Clyde;
I've pretty much skimmed through all 57 pages of posts here and the Testimonial Manager mod sounds great. I'm working on a new client site and it fits most of the needs. Couple of questions though on it before I try to install it on a clean 1.3.8a site.
1. Does the mod have the ability to allow a user submitted pic to include with the testimonial?
2. If a user submits a pic and its sized excessively can it use gd or image magick to resample and save it in the ../images/testimonials directory at a preferred or admin controlled size & dpi?
NP Clyde. I figured that would take some serious rewriting anyway but figured I'd ask.
Next question though. As it is now if an image is in the testimonial when the image is clicked it takes you to the authors submitted link/site.
What about altering it so that a smaller image can be used and when clicked it behaves like a product picture and opens a larger picture on top?
I'm using the Fuel Slimbox mod at http://www.zen-cart.com/index.php?ma...roducts_id=830 and would like to see a larger picture displayed instead.
cheers!
You can set the image dimensions to whatever you want
admin -> configuration -> testimonial manager (by default the height and width are set at 80px.)
When you edit a testimonial you can set the URL to take you to a particular product info page (you can see this in action here
Just scroll down to the "great site" testimonial and click on the image.
I'm not sure how Fuel Slimbox handles images so I can't really speak to what would be required to alter testimonial manager code to work with it.
Clyde;
I found where in the 2 template files the url is passed to the picture and although my php is crude at best managed to comment out the url from being passed.
tpl_testimonials_manager_default.php
tpl_testimonials_manager_all_testimonials_default.php
I did it like this...
One thing I noticed is that if there is no URL supplied either in the submission or edited in on the admin side then the code still inserts "http:///" as a link for the picture. Might consider adding a statement for it to check for a url and if none exists then not to create the link.PHP Code:
<p id="testimonialImage">
<?php /* echo '<a href="' . $page_check->fields[testimonials_url] . '" target="_blank">' . zen_image($testimonials_image). '</a>'; */ ?>
<?php echo '' . zen_image($testimonials_image). '</a>'; ?>
</p>
Also, thanks for the image info. If I'd have opened my eyes I might have seen it slap me in the face! :oops:
If no image exists then no image or link is displayed:
This complete if statement takes care of that on the display pages:
PHP Code:
<?php
if (($testimonials->fields[testimonials_image]) != ('')) {
$testimonials_image = DIR_WS_IMAGES . $testimonials->fields[testimonials_image];
?>
<p class="testimonialImage">
<?php echo '<a href="' . $testimonials->fields['testimonials_url'] . '" target="_blank">' . zen_image($testimonials_image). '</a>'; ?>
</p>
<?php
}
?>
The image size applies to both the sidebox and the display pages.
Mabey I wasn't too clear on my description. I DO want the image displayed but if no link is in the db for it then the picture should not attempt to link anywhere. As it stands now with no link in the db on mouseover it displays "http:///" in the status bar and clicking it takes me to the store root.
I must have something messed up then. Right now it only thumbs the image for the sidebox. The pages tpl_testimonials_manager_default.php and tpl_testimonials_manager_all_testimonials_default.php are both showing a full sized image. I even reverted back to your original files and still the same presentation.
The cart is a clean 1.3.8a install and this was the first mod I installed on it. I tried the Fuel Slimbox after that and nothing was over written but the javascript from slimbox kept halting php and all I would get was blank pages so I removed slimbox for now.
Cheers!
Just reverted everything back to your original files and now the only difference is the store's full root url shows up in the status bar and of course takes you there when you click the picture. Site url is http://www.southraven.com/demo10/
Finally got a version of lightbox installed and working. Had to remove the Fuel Slimbox and go with the Zen Lightbox 1.4. Got that working in the cart now without any errors. Just something about the Fuel Slimbox was giving the site grief. Can't understand why though. Outside of a few stock changes to the stylesheet.css for the template its a fully compliant Zen Cart 1.3.8 and I have been very meticulous in creating a fully compliant template.
Now if I can find a way to get your Testimonial Manager to treat the pictures the same way I would be happy indeed.
From what I can see to get litebox to work on other pages you simply have to copy the javascript file into the appropriate ../includes/modules/pages/ directory and add the tag "rel="lightbox[gallery]".
I'm sure that sounds simpler than it really is though!
Clyde;
Is the picture on the page tpl_testimonials_manager_default.php supposed to be a thumbnail or the full size picture?
Cheers!
The way the code is now written it will show the full size image and the sidebox will show a thumnail image.
I'm revising the code for both tpl_testimonials_manager_default.php and tpl_testimonials_manager_all_testimonials_default.php so that an image will be displayed as a thumnail.
I'm also revising the code to take care of the "link" problem you described.
Clyde,
I upgraded to TM 1.4.6 and noticed some strange behaviour, no one seems to have encountered this.
In Admin -> Tools -> Testimonials Manager there are two panels: one with a list of testimonials on the left and the other one with Edit-Delete buttons on the right.
The strange thing is that when there are more than one page of testimonials and I go to the next page, the right panel disappears. Clicking any testimonials entry in this page takes me to the previous page with no right panel. If I then go to the next page again, it appears normally, i.e. with the right panel.
This does not seem to break anything, but adds a few extra clicks if entries other that those on the first page are to be edited. I there any simple for this?
Thanks so much for the mod,
Alex
Any ideas how I can add meta tags to individual testimonial pages?
I can use the meta_tags.php file for
case 'testimonials_manager'
...but not
case 'testimonials_manager&testimonials_id=43'
Better yet, it would be great if meta tags could be generated automatically from the content of the comment. Nice dream...
Open includes/modules/meta_tags.php
add the following code just above the // EZ-Pages: section:
Code://TESTIMONIALS:
case 'testimonials_manager_all_testimonials':
$sql = "select * from " . TABLE_TESTIMONIALS_MANAGER . " where status = 1 and language_id = '" . (int)$_SESSION['languages_id'] . "' order by date_added DESC, testimonials_title";
$testimonials = $db->Execute($sql);
$testimonial_title = 'All Testimonials - ';
while (!$testimonials->EOF) {
$testimonial_string_metatags .= zen_clean_html($testimonials->fields['testimonials_title']) . METATAGS_DIVIDER;
$testimonials->MoveNext();
} //EOF
define('META_TAG_TITLE', $testimonial_title . $testimonial_string_metatags);
define('META_TAG_DESCRIPTION', $testimonial_title . $testimonial_string_metatags);
define('META_TAG_KEYWORDS', $testimonial_title . $testimonial_string_metatags);
break;
case 'testimonials_manager':
$testimonial_title = 'Testimonial - ';
define('META_TAG_TITLE', $testimonial_title . $page_check->fields['testimonials_title']);
define('META_TAG_DESCRIPTION', $testimonial_title . $page_check->fields['testimonials_title']);
define('META_TAG_KEYWORDS', $testimonial_title . $page_check->fields['testimonials_title']);
break;
Not sure what might cause this. I've checked on 4 different sites and couldn't reproduce the behavior.
Try uploading the attached to your admin folder and see if that makes a difference.
Attachment 4004