-
Testimonial Manager Support Thread (for ZC v1.5.x)
This is for Zen Cart v1.5.x
This is the NEW thread for the latest version Testimonial Manager for Zen Cart v1.5.x
NOTE: Testimonial Manager for Zen Cart version 1.5.x is NOT backwards compatible (won't work with v1.3.x versions of Zen Cart)
If you are using Zen Cart v1.3.x:
Please DO NOT post questions regarding the v1.3.x versions of this add-on in this support thread.
Questions regarding the v1.3.x versions of this add-on should be directed to this support thread HERE:
http://www.zen-cart.com/showthread.p...Support-Thread
My support is limited for this add-on I'm just being a good zen cart member and opening another thread for the updated version of Testimonial Manager....
Thanks to all who help support this module.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Submitted new version of this add-on. Details as follows:
- Add an auto installer. (performs fresh installs as well as updates) Some additional housekeeping was done to the install/upgrade SQL (for example the drop if exists statement was removed as it is not needed in either an new or upgrade install.)
- Clean up the "Add Testimonials" form. Removed the ordered list from the form so that the overall look/feel is more consistent with other Zen Cart forms (ie: Contact Us form)
- Update the stylesheet and pages to improve the look/feel of the various pages that make up this add-on
- Cleaned up (replaced) the pixelated quote images
- Replace the required and optional images with cleaner images
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
DivaVocals
Submitted new version of this add-on. Details as follows:
- Add an auto installer. (performs fresh installs as well as updates) Some additional housekeeping was done to the install/upgrade SQL (for example the drop if exists statement was removed as it is not needed in either an new or upgrade install.)
- Clean up the "Add Testimonials" form. Removed the ordered list from the form so that the overall look/feel is more consistent with other Zen Cart forms (ie: Contact Us form)
- Update the stylesheet and pages to improve the look/feel of the various pages that make up this add-on
- Cleaned up (replaced) the pixelated quote images
- Replace the required and optional images with cleaner images
Yea!!!!!!!!!!!!!!!!!!!!! :clap:
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
I'm using ZenCart 1.5.x
I had no problems when I added testimonials manager 1.5.3d to my test site, and no end to problems when adding it to my server. I've now got everything working except the admin functions at "configuration > Testimonial Manager". The functions at "tools > Testimonial Manager" work fine, as does the site. However I want to control the number of random testimonials displayed, and although I have 3 testimonials in the database, nothing displays at "configuration > Testimonial Manager".
The Current Issue:
Clicking the link at "configuration > Testimonial Manager" calls for "url...configuration.php?gID=31", and gets me nothing...
On a whim, I changed it to "...configuration.php?gID=32" in the browser address bar and that got me what I needed to manage the testimonials
So the question is how do I fix that gID called by the link? Is there a better place to ask this question?
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
EricRas
I'm using ZenCart 1.5.x
I had no problems when I added testimonials manager 1.5.3d to my test site, and no end to problems when adding it to my server. I've now got everything working except the admin functions at "configuration > Testimonial Manager". The functions at "tools > Testimonial Manager" work fine, as does the site. However I want to control the number of random testimonials displayed, and although I have 3 testimonials in the database, nothing displays at "configuration > Testimonial Manager".
The Current Issue:
Clicking the link at "configuration > Testimonial Manager" calls for "url...configuration.php?gID=31", and gets me nothing...
On a whim, I changed it to "...configuration.php?gID=32" in the browser address bar and that got me what I needed to manage the testimonials
So the question is how do I fix that gID called by the link? Is there a better place to ask this question?
What Testimonials Manager Version do you have installed on your live server? You said you had 1.5.3d installed on your test site.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Dear Diva, thanks for your contributions, myself installed two of them (TMS and Images Handler), they are very usefull.
The only matter is: what is the file Thumbs.db? I'm not able to open it, can you, please, tell me (us) what there are inside?
Is it the: 'auto installer' you've mentioned above? how does it work?
Thanks you in advance. Luigi
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
vancolet
Dear Diva, thanks for your contributions, myself installed two of them (TMS and Images Handler), they are very usefull.
The only matter is: what is the file Thumbs.db? I'm not able to open it, can you, please, tell me (us) what there are inside?
Is it the: 'auto installer' you've mentioned above? how does it work?
Thanks you in advance. Luigi
Delete it. included accidentally..
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Thanks for the plugin.
i was wondering if there's anyway to automatically send an email containing a testimonial request after several days/weeks of an order?
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
ShopVille
Thanks for the plugin.
i was wondering if there's anyway to automatically send an email containing a testimonial request after several days/weeks of an order?
Not with the version of the add-on available.. Would require custom coding to add the feature..
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Hello,
Im using 1.5.0 and the installation went fine however when i am following the read me: specifically these instructions:
9) This section is entirely optional.
To implement metatags for your testimonials;
open includes/modules/meta_tags.php.
locate the following line of code (around line 336)
// NO "break" here. Allow defaults if not overridden at the per-page level
Immediately above this line copy and paste the code below.
(save the edited file to includes/modules/YOUR_TEMPLATE/meta_tags.php and upload to your server.
break;
//TESTIMONIALS:
case 'display_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);
while (!$testimonials->EOF) {
$testimonial_string_metatags .= zen_clean_html($testimonials->fields['testimonials_title']) . METATAGS_DIVIDER;
$testimonials->MoveNext();
} //EOF
define('META_TAG_TITLE', META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS . $testimonial_string_metatags);
define('META_TAG_DESCRIPTION', META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS . $testimonial_string_metatags);
define('META_TAG_KEYWORDS', META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS . $testimonial_string_metatags);
break;
case 'testimonials_manager':
define('META_TAG_TITLE', META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER . $page_check->fields['testimonials_title']);
define('META_TAG_DESCRIPTION', META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER . zen_trunc_string($page_check->fields['testimonials_html_text'],TESTIMONIALS_MANAGER_DESCRIPTION_LENGTH));
define('META_TAG_KEYWORDS', META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER . $page_check->fields['testimonials_title']);
----------------------------
HOWEVER, when I implement this change, I lose the "text" that is at the top of my page above the white bar where you put in the URLs. Sorry for the lack of technical terms, this is the best way to describe it. To illustrate that text, this page im currently on says "V150 Testimonial Manager Support Thread"
Any help as why this is happening would be great!
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
ShopVille
i was wondering if there's anyway to automatically send an email containing a testimonial request after several days/weeks of an order?
hi,
just released the free module "ZC Testimonial Reminder Simple" for this purpose.
You can configure the order status and the timeframe (delay after order, how many days back in the past). The email is generated based on a free customizable template.
It requires to have MailBeez installed (free basic framework, compatible with Zencart 1.3.8 up to 1.5.1 - just drop in the new files...).
ZC Testimonial Reminder Simple - Download
http://www.mailbeez.com/documentatio..._testimonials/
(will submit it soon into the addon section)
Basic Installation ZenCart 1.5
http://www.mailbeez.com/documentatio...en-cart-1-5-x/
Would be great to hear if there is a need for a premium module, which e.g. can:
- automatically login of customer for hassle-free writing of testimonials
- react on more than one order status
- recognize regular customers to avoid sending reminders too often
- automatically rewards testimonials with a coupon
- allows to automatically insert random testimonials into other MailBeez Emails (e.g. winback, nopurchase...)
cheers
cord
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
I got a quick question. I know that this new version doesn't work with old versions, but I'm a little confused as to what I may have done wrong.
I was running 1.3.9h with this module, no problems.,
I then upgraded my store to 1.5.1, and I have been porting all my modules over to this new version. So I went to the ZC Plugin page, downloaded the newest 1.5.X version of Testimonials Manager, and uploaded it to my new 1.5.1 site. The only thing that was carried over from the old installation was the old testimonial database tables.......all php files are the new versions for 1.5.X.
Anyway, as soon as the "config.tm.php" file is placed in my admin/autoloader folder, I get the following security message:
"WARNING: An Error occurred, please refresh the page and try again."
When I remove the file, that error goes away but the module is not auto-installed.
Any idea what I could do in order to fix this? I'd like (if possible) to still use the hundreds of positive testimonials from our database so that we don't start over from scratch. Do I need to drop the tables first, do the install, and then reimport the data into them?
- Jeff
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
I should also add, it seems that the program is "working", meaning that the testimonial sidebox is now displaying on our website and pulling all the data from the database. But the auto installer never added the Testimonial Manager section to the TOOLS menu of my admin panel.
Any ideas on how to proceed?
- Jeff
Quote:
Originally Posted by
Jeff_Mash
I got a quick question. I know that this new version doesn't work with old versions, but I'm a little confused as to what I may have done wrong.
I was running 1.3.9h with this module, no problems.,
I then upgraded my store to 1.5.1, and I have been porting all my modules over to this new version. So I went to the ZC Plugin page, downloaded the newest 1.5.X version of Testimonials Manager, and uploaded it to my new 1.5.1 site. The only thing that was carried over from the old installation was the old testimonial database tables.......all php files are the new versions for 1.5.X.
Anyway, as soon as the "config.tm.php" file is placed in my admin/autoloader folder, I get the following security message:
"WARNING: An Error occurred, please refresh the page and try again."
When I remove the file, that error goes away but the module is not auto-installed.
Any idea what I could do in order to fix this? I'd like (if possible) to still use the hundreds of positive testimonials from our database so that we don't start over from scratch. Do I need to drop the tables first, do the install, and then reimport the data into them?
- Jeff
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
Jeff_Mash
I got a quick question. I know that this new version doesn't work with old versions, but I'm a little confused as to what I may have done wrong.
I was running 1.3.9h with this module, no problems.,
I then upgraded my store to 1.5.1, and I have been porting all my modules over to this new version. So I went to the ZC Plugin page, downloaded the newest 1.5.X version of Testimonials Manager, and uploaded it to my new 1.5.1 site. The only thing that was carried over from the old installation was the old testimonial database tables.......all php files are the new versions for 1.5.X.
Anyway, as soon as the "config.tm.php" file is placed in my admin/autoloader folder, I get the following security message:
"WARNING: An Error occurred, please refresh the page and try again."
When I remove the file, that error goes away but the module is not auto-installed.
Any idea what I could do in order to fix this? I'd like (if possible) to still use the hundreds of positive testimonials from our database so that we don't start over from scratch. Do I need to drop the tables first, do the install, and then reimport the data into them?
- Jeff
Like the instructions say you do NOT drop the testimonials tables unless you want to LOSE all your old testimonials. As far as the error message.. Don't know what it is or what the fix is until you tell us what the error log says..
The message "WARNING: An Error occurred, please refresh the page and try again." = an error log file was generated.. and until you know what the error is and resolve it the installer will not complete and you will NOT see any of the admin menus for this add-on in place..
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
DivaVocals
Like the instructions say you do NOT drop the testimonials tables unless you want to LOSE all your old testimonials. As far as the error message.. Don't know what it is or what the fix is until you tell us what the error log says..
The message "WARNING: An Error occurred, please refresh the page and try again." = an error log file was generated.. and until you know what the error is and resolve it the installer will not complete and you will NOT see any of the admin menus for this add-on in place..
That warning message only occurs when the module tries to autoinstall. If I remove the autoinstall file from the admin/autoloader directory, then the error goes away. Where is the error log? I thought it would be in the store/cache folder, but nothing shows up there.
And as I mentioned in my follow up post, the module appears to be working.......but the Admin Testimonial Manager option under the Tools Menu is not showing up. I am hoping that someone can suggest what I can do to make that show up. Otherwise, I won't be able to approve new testimonials.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
Jeff_Mash
That warning message only occurs when the module tries to autoinstall. If I remove the autoinstall file from the admin/autoloader directory, then the error goes away.
I understood that, but removing it doesn't help to figure out what causes the error.. The error log that was likely generated would..
Quote:
Originally Posted by
Jeff_Mash
Where is the error log? I thought it would be in the store/cache folder, but nothing shows up there.
Well... according to the release thread:
Quote:
What's New In v1.5.1:
Improvements include:
- CHANGE-207 - Add bypass to bandage the performance/caching problem with products_viewed counter on busy sites, inspired by an idea from data-diggers. This step simply splits the logic out into an observer class, and adds a switch to turn it on or off. Doesn't change any schema or any reports. But of course if the switch is set to something other than 'on', then the reports will be useless too unless alternate custom data tracking code is added to the observer class.
- CHANGE-208 - Implement data-diggers querycache
- CHANGE-220 - Add optional constant 'DOWNLOADS_SKIP_DOT_PREFIX_ON_REDIRECT' to overcome rare problem on some servers which won't allow use of dot-prefixed temporary files. Usage: define('DOWNLOADS_SKIP_DOT_PREFIX_ON_REDIRECT', TRUE); in /includes/extra_configures/ folder.
- CHANGE-238 - php 5.4 Updates, mainly for htmlentities() calls
- CHANGE-240 - Add form auto-focus on advanced-search results and admin category lookups
- CHANGE-265 - Add children support to category-specific stylesheet overrides -- ie: c_XX_XX_children.css
- CHANGE-273 - Add css-driven antispam support to contact-us, create-account, and product reviews
- CHANGE-282 - Add improved notifier support for the shipping calculate_boxes_weight_and_tare() function to allow for easier intercept by plugins
- CHANGE-283 - Add coders the ability to allow for a custom count query in split page results class
- CHANGE-284 - Update db schema and various code bits to handle longer lengths for IP addresses, to accommodate IPv6
- CHANGE-287 - Add hooks for encryption tools needed by modules such as PPA
- CHANGE-297 - Add improvements to notifier support for Downloads script (add all order data to observer resources)
- CHANGE-298 - Move debug logging to separate /logs/ folder, as a performance improvement measure, and be more semantically meaningful
Quote:
Originally Posted by
Jeff_Mash
And as I mentioned in my follow up post, the module appears to be working.......but the Admin Testimonial Manager option under the Tools Menu is not showing up. I am hoping that someone can suggest what I can do to make that show up. Otherwise, I won't be able to approve new testimonials.
You can share the contents of the error log to see if it sheds light on why the auto-installer is erroring out for you.. If that issue can be resolved then the auto-installer can finish and add the menu items.. The other option is to look in the FAQs for the instructions on how to manually add admin menu items, and manually add the Testimonials menu items that way..
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Thanks for helping. I found out the issue, which I will explain below in case it happens to anyone else.
It looks like it's trying to insert a sample testimonial into the database with a NULL value for date_added. Here is what the log says:
[05-Jan-2013 20:12:14 UTC] PHP Fatal error: 1048:Column 'date_added' cannot be null :: INSERT INTO zen_testimonials_manager VALUES (NULL, 1, 'Great', '', 'Clyde Designs', '', 'This is just a test submission to show you how it looks, great, eh?', '[email protected]', NULL, NULL, NULL, 0, 1, now(), NULL) in /home/mydomain/public_html/store/includes/classes/db/mysql/query_factory.php on line 120
So I went into the admin/init_includes/init_tm_config.php, and I commented out Line 41:
// $db->Execute($sql);
This allowed the script to bypass this unneeded SQL insert in my case, and continue on with the installation of the Admin Menus! Thanks again for the great script and the help to point me in the right direction.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
I just installed this add-on. It is a great module. Thanks. The only problem that I have is the status field is not set to 1 in the database so the information is not display in the sidebox.
What did I missed? Thanks for looking and helping.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
icikite
I just installed this add-on. It is a great module. Thanks. The only problem that I have is the status field is not set to 1 in the database so the information is not display in the sidebox.
What did I missed? Thanks for looking and helping.
Have you turn on the Testimonials Manager sidebox to show under tools layout boxes controllers?
You probably have, just making sure.
Go to your admin/configurations/Testimonials Manager and see what your settings are.
Try uninstalling with the uninstall.sql statement and reinstalling it to see what happens.
Give us a link to your site so we can take a peek.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
I want to use this mod as a springboard. I have multiple types of "testimonials/reviews". Using the Zen functionality, I want my guests to log in, have their name, town, etc. follow them to their reviews and then answer some different questions which will post to custom tables for viewing within my main website. It looks really close, I would just appreciate finding someone that I can ask questions of as I try to back into this thing.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Can we get this with Captcha? I added this to a new website, and almost immediately started getting SPAM submissions. We really like having the Testimonials, but right now, find ourselves having to remove upwards of 20 a day from spamming.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
paperthreads
Can we get this with Captcha? I added this to a new website, and almost immediately started getting SPAM submissions. We really like having the Testimonials, but right now, find ourselves having to remove upwards of 20 a day from spamming.
You can always install a CAPTCHA module if you want one, and configure this module to use it.. But this module will not be updated to include it if that's what you are asking.. If anything it will be updated (when someone has time) to use the same CSS anti-spam method built into Zen Cart v1.5.1.
-
1 Attachment(s)
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
paperthreads
Can we get this with Captcha? I added this to a new website, and almost immediately started getting SPAM submissions. We really like having the Testimonials, but right now, find ourselves having to remove upwards of 20 a day from spamming.
I have a Captcha installed on the Testimonial Manager Add page.
One of these module has to be installed before it will work.
CAPTCHA using TTF, GD and GUEST REVIEWS
or
CAPTCHA using TTF & GD & Telephone Not Required on
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
What I had done is add a CAPTCHA module to the new customer creation page. Then I turned my Testimonial Manager to only allow testimonials from logged in customers. Therefore, if you're logging in to create a testimonial, then you already would have passed the CAPTCHA test when you created your account.
That seems to work and I've gotten no spam (and also not annoyed people with too many CAPTCHA boxes on my website).
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
Jeff_Mash
What I had done is add a CAPTCHA module to the new customer creation page. Then I turned my Testimonial Manager to only allow testimonials from logged in customers. Therefore, if you're logging in to create a testimonial, then you already would have passed the CAPTCHA test when you created your account.
That seems to work and I've gotten no spam (and also not annoyed people with too many CAPTCHA boxes on my website).
This is how I handled it in the past.. No need to add Catpcha to a form that only registered users could access..
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
I am having an issue with the quote marks that are added to the testimonial. The block with the quote is not large enough for the entire quote mark image to be displayed. If the testimonial is just one line, I have just a very small portion of the image showing. I am sure that it worked when I initially installed it, but any ideas where to look for what broke it.
Url is www.ironeagletactical/store/
Thanks for a great plugin
Dan
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
joeminer81
I am having an issue with the quote marks that are added to the testimonial. The block with the quote is not large enough for the entire quote mark image to be displayed. If the testimonial is just one line, I have just a very small portion of the image showing. I am sure that it worked when I initially installed it, but any ideas where to look for what broke it.
Url is
www.ironeagletactical/store/
Thanks for a great plugin
Dan
You would need to adjust the CSS that comes with this module.. BTW, the link to your store doesn't work..
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Additional info on the quote mark issue, it only happens on the the View All Testimonials page. If you view the testimonials one at a time, it works correctly.
What would be required to remove the large quotes entirely?
Dan
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Ok, I have it working for right now. This is how I corrected it-
In file tpl_display_all_testimonials_default.php
Line 49 <div class="testimonial">
I changed Line 49 to <div> to match the line 26 in the working file tpl_testimonials_manager_default.php
So, yes it was a CSS issue in .testimonial.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
joeminer81
Ok, I have it working for right now. This is how I corrected it-
In file tpl_display_all_testimonials_default.php
Line 49 <div class="testimonial">
I changed Line 49 to <div> to match the line 26 in the working file tpl_testimonials_manager_default.php
So, yes it was a CSS issue in .testimonial.
Or you could have updated the .testimonial class in the stylesheet, but glad you got it worked out..
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
I have a 1.5 Zen Cart site: Horse-Logos http://horse-logos.com/ . It had Testimonial Manager on it (not the latest version). I put in a new Zen Cart Template: http://www.picaflor-azul.com/free-de...orkshire_clean. I then noticed that the testimonials were gone. So I tried to fix that by updating my Testimonial Manager to the latest version. My site turned to just blank pages (Firefox Browser). So then I uninstalled the Testimonial Manager but my site remained just blank pages. So then I downloaded Testimonial Manager again (just in case the first downloaded zip file was missed up). I tried installing Testimonial Manager again. I got these messages on the admin side:
Success Testimonials Manager v1.5.4 install completed!
Success Successfully Updated settings for box: testimonials_manager.php
But my site is still just blank pages. So, how much would it costs for someone to figure out what went wrong?
When I try checking my site with the Chrome browser I get this message:
Server error
The website encountered an error while retrieving http://horse-logos.com/. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
So you can access the ADMIN, but not the Shopping Site?
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
jonisolis
I have a 1.5 Zen Cart site: Horse-Logos
http://horse-logos.com/ . It had Testimonial Manager on it (not the latest version). I put in a new Zen Cart Template:
http://www.picaflor-azul.com/free-de...orkshire_clean. I then noticed that the testimonials were gone. So I tried to fix that by updating my Testimonial Manager to the latest version. My site turned to just blank pages (Firefox Browser). So then I uninstalled the Testimonial Manager but my site remained just blank pages. So then I downloaded Testimonial Manager again (just in case the first downloaded zip file was missed up). I tried installing Testimonial Manager again. I got these messages on the admin side:
Success Testimonials Manager v1.5.4 install completed!
Success Successfully Updated settings for box: testimonials_manager.php
But my site is still just blank pages. So, how much would it costs for someone to figure out what went wrong?
When I try checking my site with the Chrome browser I get this message:
Server error
The website encountered an error while retrieving
http://horse-logos.com/. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
Blank pages = an error log.. What do the error logs say??
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Has the META Error been corrected?
Installed the Plug-in and all works great except after doing the Meta changes detailed in the instructions the page title displays
META_TAG_TITLE_PAGE_TEXT
Other than that its a great mod :smile:
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
>Blank pages = an error log.. What do the error logs say??
OK, how do I read the error log?
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Yes, when my site was blank I was still able to log in and view the ADMIN of the site.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
jonisolis
>Blank pages = an error log.. What do the error logs say??
OK, how do I read the error log?
You should see a folder called "logs" in the main root directory of your store. In there will be a bunch of files which ZenCart creates. Just look for the most recent file in there after you get a blank page. Open it with a text editor and it should tell you what problem occurred.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Testimonial Manager is pretty-much working like a dream. Things are posting, alerting, emailing (mostly), a glorious day to be alive.
However, when I approve the Testimonial, the e-mail notifying the author is not streaming out. Otherwise, it's performing flawlessly. I don't see anything in the configuration settings or anywhere else that would be impeding this. Perhaps, I am misreading what is being sent out at submission and I must manually e-mail the author but ....
Any ideas??
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Hi
I have just installed this and on the whole it works well...but after I have viewed the testimonials, the 'read more' and testimonial titles on the sidebox change colour to the same as the background so they become invisible.
https://www.e-football.com.au/testim...timonials_id=3
Any ideas?
Thanks
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
smndvy
Has the META Error been corrected?
Installed the Plug-in and all works great except after doing the Meta changes detailed in the instructions the page title displays
META_TAG_TITLE_PAGE_TEXT
Other than that its a great mod :smile:
I am having the same issue... Any fix?
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
schoolboy
I am having the same issue... Any fix?
Discovered the problem...
In the LANGUAGES meta_tags.php, the CONSTANTS read:
META_TAG_TITLE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS
META_TAG_TITLE_TESTIMONIALS_MANAGER
and in the MODULE file, they read:
META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS
META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER
So just edit the language file so that the CONSTANTS match those in the module file.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Ran into a problem upgrading this module. After uploading the files and clicking an admin link, I get:
WARNING: An Error occurred, please refresh the page and try again.
The log file shows:
[11-Jun-2013 16:47:04] PHP Fatal error: 1136:Column count doesn't match value count at row 1 :: INSERT INTO zen_testimonials_manager VALUES (NULL, 1, 'Great', '', 'Clyde Designs', '', 'This is just a test submission to show you how it looks, great, eh?', '[email protected]', NULL, NULL, NULL, 0, 1, now(), NULL) in /home/ccu/public_html/cart/includes/classes/db/mysql/query_factory.php on line 120
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Hi
I have just upgraded Testimonial manager to Version 1.5.4 and noticed that when I submit a testimonial a "Submit my Testimonial" button appears on the "Your testimonial has been successfully submitted" page - which is sure to confuse people.
This may be something I have caused with amendments but just wanted to check that it doesn't do this out of the box and couldn't see anything mentioned on this thread
Great Mod
Cheers
Brinley
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
schoolboy
Discovered the problem...
In the LANGUAGES meta_tags.php, the CONSTANTS read:
META_TAG_TITLE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS
META_TAG_TITLE_TESTIMONIALS_MANAGER
and in the MODULE file, they read:
META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS
META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER
So just edit the language file so that the CONSTANTS match those in the module file.
Hi,
I have the same issue with page title of testimonial manager.
I tried to look into metatags.php in my langauges folder. There is no such line " META_TAG_TITLE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS
META_TAG_TITLE_TESTIMONIALS_MANAGER"
But the testimonial manager seems to be working fine.
IS there something wrong with the way i have installed testimonial manager ?
Please let me know
Thanks
-
Testimonial Manager Testimonial Image Directory Question
I hope this is a simple question. I want to put all my testimonial images in a newly made folder called : "testimonials" which is in the folder named "images". /public_html/horse-logos.com/images/testimonials
So in the: Admin Options (admin -> configuration -> testimonial manager) > Testimonial Image Directory; I put the following: /images/testimonials/ and I also tried: images/testimonials/ but my testimonial images are not showing up. What should I be putting for the Testimonial Image Directory to point to the folder, testimonials? Does it have to be: /public_html/horse-logos.com/images/testimonials or something else?
Here is my testimonial page: All Testimonials : Custom Horse Logos, clip art, equine graphics, Professional horse art - http://www.horse-logos.com/index.php...l_testimonials
Thank you for any help on this.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
jonisolis
I hope this is a simple question. I want to put all my testimonial images in a newly made folder called : "testimonials" which is in the folder named "images". /public_html/horse-logos.com/images/testimonials
So in the: Admin Options (admin -> configuration -> testimonial manager) > Testimonial Image Directory; I put the following: /images/testimonials/ and I also tried: images/testimonials/ but my testimonial images are not showing up. What should I be putting for the Testimonial Image Directory to point to the folder, testimonials? Does it have to be: /public_html/horse-logos.com/images/testimonials or something else?
Here is my testimonial page: All Testimonials : Custom Horse Logos, clip art, equine graphics, Professional horse art -
http://www.horse-logos.com/index.php...l_testimonials
Thank you for any help on this.
To put your testimonial images in a subdirectory of their own, you would need to enter the directory name that is relative to your images directory. Testimonials defaults to the images directory and anything entered into the configuration area will be relative to that. So if you want all newly entered images to show up in a testimonials subdirectory off of images, you would simply enter testimonials/ as the new directory.
Then any newly entered photos will default to the testimonials subdirectory off of images. Changing this directory will not update any existing testimonials image locations. So if you have existing images associated with a testimonial entry, you would need to either update the entry with a "new" photo, or modify your database in mySQLadmin/run a SQL command to update them.
Other factors may cause your images not to "appear" such as the height and width of the testimonials image(s) may be too small. I am not sure what the effect of not having a height or width identified would have, but it may cause the image not to appear.
Hope that helps.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Thank you for this help. I think what I was doing wrong was I was not putting in the right info for the directory location. I first tried, /testimonials/ when I should have tried testimonials/ with out that first slash mark.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Any inputs ??
I am using 1.3.9h.
Is that making any difference ?
Quote:
Originally Posted by
devyani
Hi,
I have the same issue with page title of testimonial manager.
I tried to look into metatags.php in my langauges folder. There is no such line " META_TAG_TITLE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS
META_TAG_TITLE_TESTIMONIALS_MANAGER"
But the testimonial manager seems to be working fine.
IS there something wrong with the way i have installed testimonial manager ?
Please let me know
Thanks
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
This is solved!
Thanks !
Found an old thread from clyde that helped :)
Its great that he is able to help us, eventhough he is not around :(
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
devyani
Hi,
I have the same issue with page title of testimonial manager.
I tried to look into metatags.php in my langauges folder. There is no such line " META_TAG_TITLE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS
META_TAG_TITLE_TESTIMONIALS_MANAGER"
But the testimonial manager seems to be working fine.
IS there something wrong with the way i have installed testimonial manager ?
Please let me know
Thanks
Quote:
Originally Posted by
devyani
Any inputs ??
I am using 1.3.9h.
Is that making any difference ?
Quote:
Originally Posted by
devyani
This is solved!
Thanks !
Found an old thread from clyde that helped :)
Its great that he is able to help us, eventhough he is not around :(
This is the support thread for Testimonial Manager for Zen Cart v1.5.x. (see quote below from first page of this support thread)
You should post your final solution in the v1.3.x support thread.. It will help others with the same issue..
Quote:
Originally Posted by
countrycharm
This is for Zen Cart v1.5.x
This is the NEW thread for the latest version Testimonial Manager for Zen Cart v1.5.x
NOTE: Testimonial Manager for Zen Cart version 1.5.x is NOT backwards compatible (won't work with v1.3.x versions of Zen Cart)
If you are using Zen Cart v1.3.x:
Please DO NOT post questions regarding the v1.3.x versions of this add-on in this support thread.
Questions regarding the v1.3.x versions of this add-on should be directed to this support thread HERE:
http://www.zen-cart.com/showthread.p...Support-Thread
My support is limited for this add-on I'm just being a good zen cart member and opening another thread for the updated version of Testimonial Manager....
Thanks to all who help support this module.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Hi Everyone...I have installed the TM on a site and we were hoping to use it as a project gallery but I cannot remove the words "Testimonial By" with it crashing the entire site. Can the testimonials_manager_defines.php not be edited at all?
Thanks.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
amandavz
Hi Everyone...I have installed the TM on a site and we were hoping to use it as a project gallery but I cannot remove the words "Testimonial By" with it crashing the entire site. Can the testimonials_manager_defines.php not be edited at all?
Thanks.
you need to be specific.. what edits are you making? What happens when "it crashes"
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
I am trying to change the area that read: Testimonial By to read Project Submitted By and when i tried to change ANYTHING in that particular file I lose my entire store. I end up with a white page...but it's only on that file. I managed to change everything else except that one spot.
Thanks...
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
amandavz
I am trying to change the area that read: Testimonial By to read Project Submitted By and when i tried to change ANYTHING in that particular file I lose my entire store. I end up with a white page...but it's only on that file. I managed to change everything else except that one spot.
Thanks...
You're possibly removing a ' or ;
Can you post specific details of the file you are trying to edit and post the before and after code. You should also have an error code generated in your log or cache folder.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Hello
Just installed this module today and all appears to be working. I have manually added 5 testimonials I received via email, is there any way of limiting how many testimonials are displayed? As my list of testimonials is now longer than the rest of my content on some pages, and leaves a big white space at the bottom of the page ( I am using the testimonials in the right hand column). Could I for example limit the number displayed to 3 testimonials, that randomly change each time the page is loaded.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
amandavz
I am trying to change the area that read: Testimonial By to read Project Submitted By and when i tried to change ANYTHING in that particular file I lose my entire store. I end up with a white page...but it's only on that file. I managed to change everything else except that one spot.
Thanks...
ok let me try this again because you're not giving us the information we need to help you. We cannot see what you did to you have to help us.. When you say you are making changes, you need to tell us exactly what changes you are trying to make and to what file. Telling us you made a change to file but not telling us what that change is isn't exactly going to help us help you. Show us the code changes you made.
Secondly blank pages means you've got an error of some kind which means that an error log record was probably generated.. tell us what the error log says.
If you cannot provide this information we're going to be spending our time guessing at what your issue might be. if you can give us some specifics we can get down to the heart of your issue. I'm not going to spend time guessing at what you did.. help us help you.. give the specifics of what you have done and we can help.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
Pickman
Hello
Just installed this module today and all appears to be working. I have manually added 5 testimonials I received via email, is there any way of limiting how many testimonials are displayed? As my list of testimonials is now longer than the rest of my content on some pages, and leaves a big white space at the bottom of the page ( I am using the testimonials in the right hand column). Could I for example limit the number displayed to 3 testimonials, that randomly change each time the page is loaded.
There's a setting for that in admin.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
I have now found the testimonial settings in the admin panel, thanks. If others need it they are under Admin > Configuration > Testimonials Manager.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
DivaVocals
ok let me try this again because you're not giving us the information we need to help you. We cannot see what you did to you have to help us.. When you say you are making changes, you need to tell us exactly what changes you are trying to make and to what file. Telling us you made a change to file but not telling us what that change is isn't exactly going to help us help you. Show us the code changes you made.
Secondly blank pages means you've got an error of some kind which means that an error log record was probably generated.. tell us what the error log says.
If you cannot provide this information we're going to be spending our time guessing at what your issue might be. if you can give us some specifics we can get down to the heart of your issue. I'm not going to spend time guessing at what you did.. help us help you.. give the specifics of what you have done and we can help.
Okay...I am trying to change the testimonials_manager_defines.php in the extra definitions folder. This is what it looks like:
<?php
/**
* Testimonials Manager
*
* @package Template System
* @copyright 2007 Clyde Jones
* @copyright Portions Copyright 2003-2007 Zen Cart Development Team
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: Testimonials_Manager.php v1.5.2 4-16-2010 Clyde Jones $
*/
define('BOX_HEADING_TESTIMONIALS_MANAGER', 'Testimonials');
define('TESTIMONIALS_MANAGER_DISPLAY_ALL_TESTIMONIALS', 'View All Testimonials');
define('TESTIMONIALS_BY', 'Testimonial By: '); --> I am trying to change this to read: Project Submitted By
define('TESTIMONIALS_MANAGER_ADD_TESTIMONIALS', 'Add A Testimonial');
//Button Defines
define('BUTTON_IMAGE_TESTIMONIALS', 'button_testimonials.gif');
define('BUTTON_TESTIMONIALS_ADD_ALT', 'Add My Testimonial');
define('BUTTON_IMAGE_SUBMIT_TESTIMONIALS', 'button_submit_testimonials.gif');
define('BUTTON_TESTIMONIALS_SUBMIT_ALT', 'Submit My Testimonial');
define('BUTTON_IMAGE_VIEW_TESTIMONIALS', 'button_view_testimonials.gif');
define('BUTTON_VIEW_TESTIMONIALS_ALT', 'View All Testimonials');
define('CITY_STATE_SEPARATOR', ', ');
define('NAME_SEPARATOR', ' — ');
define('TESTIMONIALS_MANAGER_READ_MORE', 'Read More ->');
define('TESTIMONIALS_SUBMIT_THANKS', '<h3>Thank you for submitting a testimonial!</h3>');
define('TESTIMONIALS_SUBMIT_MESSAGE', '<p>Your testimonial will be actived as soon as our store manager reviews it.## If you have any questions regarding your testimonial, please contact us.</p><br /><h4>Thanks Again, we look forward to serving you in the future.</h4>');
//EOF
Please see "red" area up top. When I change that (and leave the quotes in tact) the entire site goes to a blank white page. If I reload the original file, the site is restored. There is something about this file that is not letting my customize the text. I hope this clarifies the issue I'm having a bit better. Thanks for your help.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
amandavz
Please see "red" area up top. When I change that (and leave the quotes in tact) the entire site goes to a blank white page. If I reload the original file, the site is restored. There is something about this file that is not letting my customize the text. I hope this clarifies the issue I'm having a bit better. Thanks for your help.
and when "the entire site goes to a blank white page" there would have been an error log which would tell you what the issue is.. What did the error log say???
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Here is the error I am getting:
[28-Oct-2013 09:08:21 America/Denver] PHP Parse error: syntax error, unexpected ''<p>Your testimonial will be a' (T_ENCAPSED_AND_WHITESPACE) in /home3/studirj5/public_html/shop/includes/languages/english/extra_definitions/pure_blue_free/testimonials_manager_defines.php on line 30
I'm not sure what that all means.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
amandavz
Okay...I am trying to change the testimonials_manager_defines.php in the extra definitions folder. This is what it looks like:
<?php
/**
* Testimonials Manager
*
* @package Template System
* @copyright 2007 Clyde Jones
* @copyright Portions Copyright 2003-2007 Zen Cart Development Team
* @license
http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: Testimonials_Manager.php v1.5.2 4-16-2010 Clyde Jones $
*/
define('BOX_HEADING_TESTIMONIALS_MANAGER', 'Testimonials');
define('TESTIMONIALS_MANAGER_DISPLAY_ALL_TESTIMONIALS', 'View All Testimonials');
define('TESTIMONIALS_BY', 'Testimonial By: ');
--> I am trying to change this to read: Project Submitted By
define('TESTIMONIALS_MANAGER_ADD_TESTIMONIALS', 'Add A Testimonial');
//Button Defines
define('BUTTON_IMAGE_TESTIMONIALS', 'button_testimonials.gif');
define('BUTTON_TESTIMONIALS_ADD_ALT', 'Add My Testimonial');
define('BUTTON_IMAGE_SUBMIT_TESTIMONIALS', 'button_submit_testimonials.gif');
define('BUTTON_TESTIMONIALS_SUBMIT_ALT', 'Submit My Testimonial');
define('BUTTON_IMAGE_VIEW_TESTIMONIALS', 'button_view_testimonials.gif');
define('BUTTON_VIEW_TESTIMONIALS_ALT', 'View All Testimonials');
define('CITY_STATE_SEPARATOR', ', ');
define('NAME_SEPARATOR', ' — ');
define('TESTIMONIALS_MANAGER_READ_MORE', 'Read More ->');
define('TESTIMONIALS_SUBMIT_THANKS', '<h3>Thank you for submitting a testimonial!</h3>');
define('TESTIMONIALS_SUBMIT_MESSAGE', '<p>Your testimonial will be actived as soon as our store manager reviews it.## If you have any questions regarding your testimonial, please contact us.</p><br /><h4>Thanks Again, we look forward to serving you in the future.</h4>');
//EOF
Please see "red" area up top. When I change that (and leave the quotes in tact) the entire site goes to a blank white page. If I reload the original file, the site is restored. There is something about this file that is not letting my customize the text. I hope this clarifies the issue I'm having a bit better. Thanks for your help.
For one thing your not running the current version of Testimonial Manager. Looks like you are still running v1.5.2 4 and the current version is v1.5.4. Regardless of that the change you want to make will work with no problems at all. There something else wrong causing your issue. You can see that the file you were showed that you were was having a issue is clearly working here. I have my Testimonial Manager set up to show reviews instead.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
countrycharm
For one thing your not running the current version of Testimonial Manager. Looks like you are still running v1.5.2 4 and the current version is v1.5.4. Regardless of that the change you want to make will work with no problems at all. There something else wrong causing your issue. You can see that the file you were showed that you were was having a issue is
clearly working here. I have my Testimonial Manager set up to show reviews instead.
I agree.. I made the same change using the latest version of Testimonials Manager and had no issues either. Here's my code:
Code:
<?php
/**
* Testimonials Manager
*
* @package Template System
* @copyright 2007 Clyde Jones
* @copyright Portions Copyright 2003-2007 Zen Cart Development Team
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: Testimonials_Manager.php v1.5.4
*/
define('BOX_HEADING_TESTIMONIALS_MANAGER', 'Testimonials');
define('TESTIMONIALS_MANAGER_DISPLAY_ALL_TESTIMONIALS', 'View All Testimonials');
define('TESTIMONIALS_BY', 'Project Submitted By: ');
define('TESTIMONIALS_MANAGER_ADD_TESTIMONIALS', 'Add A Testimonial');
//Button Defines
define('BUTTON_IMAGE_TESTIMONIALS', 'button_testimonials.gif');
define('BUTTON_TESTIMONIALS_ADD_ALT', 'Add My Testimonial');
define('BUTTON_IMAGE_SUBMIT_TESTIMONIALS', 'button_submit_testimonials.gif');
define('BUTTON_TESTIMONIALS_SUBMIT_ALT', 'Submit My Testimonial');
define('BUTTON_IMAGE_VIEW_TESTIMONIALS', 'button_view_testimonials.gif');
define('BUTTON_VIEW_TESTIMONIALS_ALT', 'View All Testimonials');
define('CITY_STATE_SEPARATOR', ', ');
define('NAME_SEPARATOR', ' — ');
define('TESTIMONIALS_MANAGER_READ_MORE', 'Read More ->');
define('TESTIMONIALS_SUBMIT_THANKS', '<h3>Thank you for submitting a testimonial!</h3>');
define('TESTIMONIALS_SUBMIT_MESSAGE', '<p>Your testimonial will be actived as soon as our store manager reviews it. If you have any questions regarding your testimonial, please contact us.</p><br /><h4>Thanks Again, we look forward to serving you in the future.</h4>');
//EOF
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
amandavz
Here is the error I am getting:
[28-Oct-2013 09:08:21 America/Denver] PHP Parse error: syntax error, unexpected ''<p>Your testimonial will be a' (T_ENCAPSED_AND_WHITESPACE) in /home3/studirj5/public_html/shop/includes/languages/english/extra_definitions/pure_blue_free/testimonials_manager_defines.php on line 30
I'm not sure what that all means.
Quote:
Originally Posted by
DivaVocals
I agree.. I made the same change using the latest version of Testimonials Manager and had no issues either.
Code:
define('TESTIMONIALS_SUBMIT_MESSAGE', '<p>Your testimonial will be actived as soon as our store manager reviews it. If you have any questions regarding your testimonial, please contact us.</p><br /><h4>Thanks Again, we look forward to serving you in the future.</h4>');
To answer the unasked question about the error message you received, if you compare the code above with what you posted, you will notice that the two pound signs are missing. Also, the error message indicated that line 30 of that file had a problem. I'm not sure why it manifests only after making a change, but itseems to me that the two previous poster's suggestion of upgrading to the current version (although, and I have not downloaded the recent version before stating this, it could be possible that the file version # in the file itself has not been updated to reflect the current version, but there was definitely a difference in line 30 of the code). Updating the version # is up to the code author, and depending on the philosophy, may only be updated when a change is made to that file, there are some that would update all files to reflect the most recent version, and then there are those that won't change it at all.
Hopefully though, you now have a better understanding about how to find, troubleshoot, and report the problem maker.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Okay...thanks for everyone's help. I will install the newer version and if I run into any snags...I'll be back!!! LOL...Thanks :)
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
amandavz
Okay...thanks for everyone's help. I will install the newer version and if I run into any snags...I'll be back!!! LOL...Thanks :)
The newest version is only for v1.5.x.. If you are running v1.3.9, the latest version will not work..
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Hi Again everyone...well here's what I discovered. I am installing a new cart for someone using the Testimonial Manager once again as a project gallery and ran into the same problem. BUT...I figured out that if you modify the file and then upload it it allows me to do what I want.
To refresh...I was trying to change the Testimonial By: area to read Project Submitted By: and when I would change the testimonials_manager_defines.php in the includes/languages/english/extra_definitions/mycustomtemplate the entire store would disappear to a white screen.
I just changed the file and re-uploaded it and it's working fine and doing what I want. Thanks everyone for all your help.
BTW - The new install was done with the latest version of TM and still gave me the same problem.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
amandavz
Hi Again everyone...well here's what I discovered. I am installing a new cart for someone using the Testimonial Manager once again as a project gallery and ran into the same problem. BUT...I figured out that if you modify the file and then upload it it allows me to do what I want.
To refresh...I was trying to change the Testimonial By: area to read Project Submitted By: and when I would change the testimonials_manager_defines.php in the includes/languages/english/extra_definitions/mycustomtemplate the entire store would disappear to a white screen.
I just changed the file and re-uploaded it and it's working fine and doing what I want. Thanks everyone for all your help.
BTW - The new install was done with the latest version of TM and still gave me the same problem.
So let me get this straight.. You modified the file locally then FTPd it to your site and it worked.. Before that you were trying to modify the file directly from what??? your hosts file manager??? your FTP tool?? Some WYSIWYG Editor you are using??? WHAT??
In any case it sounds like the issue (as I suspected) was NEVER this module, but something you were doing which caused the issue.. the question is what..
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
DivaVocals
So let me get this straight.. You modified the file locally then FTPd it to your site and it worked.. Before that you were trying to modify the file directly from what??? your hosts file manager??? your FTP tool?? Some WYSIWYG Editor you are using??? WHAT??
In any case it sounds like the issue (as I suspected) was NEVER this module, but something you were doing which caused the issue.. the question is what..
I thought I was going insane for a minute trying to figure out why it wasn't working on there site. Yes your conclusion sounds about right.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Thanks for the mod! just a feature suggestion i would love to see, the ability to respond to testimonials which should display underneath the Original post
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
ShopVille
Thanks for the mod! just a feature suggestion i would love to see, the ability to respond to testimonials which should display underneath the Original post
Who are you considering would be the respondent, the store owner or another guest? If the store owner, I would have thought that would be possible by editing the testimonial and possibly changing something about the font (separate class) and providing a respponse.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
mc12345678
Who are you considering would be the respondent, the store owner or another guest? If the store owner, I would have thought that would be possible by editing the testimonial and possibly changing something about the font (separate class) and providing a respponse.
Store owner, and your suggestion would work, but the testimonial text editor is plain-text not HTML
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
ShopVille
Store owner, and your suggestion would work, but the testimonial text editor is plain-text not HTML
Two solutions to that assuming html code hasn't been prohibited in the field: the first and not "nicest", learn html to add in the code, the second incorporate one of the html editors where this editor is displayed to the admin. Or yes an improvement as suggested might be of benefit. Perhaps, in this regard the improvement is a menu choice/dropdown to choose which editor to use when editing the testimonial based on what editors are "installed".
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
ShopVille
Thanks for the mod! just a feature suggestion i would love to see, the ability to respond to testimonials which should display underneath the Original post
and if someone is so inclined to update the module or share the code which adds this feature, then it will be included.. I don't think that anyone who has been maintaining this mod has any plans to add such a feature.. In the meantime mc12345678's suggestion should work..
Quote:
Originally Posted by
mc12345678
Who are you considering would be the respondent, the store owner or another guest? If the store owner, I would have thought that would be possible by editing the testimonial and possibly changing something about the font (separate class) and providing a respponse.
Quote:
Originally Posted by
mc12345678
Two solutions to that assuming html code hasn't been prohibited in the field: the first and not "nicest", learn html to add in the code, the second incorporate one of the html editors where this editor is displayed to the admin. Or yes an improvement as suggested might be of benefit. Perhaps, in this regard the improvement is a menu choice/dropdown to choose which editor to use when editing the testimonial based on what editors are "installed".
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Hi,
I FTP'd all the files, but as I was not already logged in to my admin (timed out without realising), the auto-installer didn't get triggered. How can I now trigger it?
Do I need to remove all the files and re-up them? I'm just guessing there must be an easy way, but please excuse my ignorance.
Thanks
Baloo
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Ignore me, I've done it, missed the auto-install file some how
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
Baloo
Hi,
I FTP'd all the files, but as I was not already logged in to my admin (timed out without realising), the auto-installer didn't get triggered. How can I now trigger it?
Do I need to remove all the files and re-up them? I'm just guessing there must be an easy way, but please excuse my ignorance.
Thanks
Baloo
Not required to be logged in to execute the auto-installer, but you will miss out on anyand all messages that are created by it. It gets activated when ZC loads the admin directory to display to the requester. One reason to keep the admin directory name "private".
Quote:
Originally Posted by
Baloo
Ignore me, I've done it, missed the auto-install file some how
What makes you think you missed uploading the auto-installer file? The fact that it is now not present? Part of the process is for it to be deleted after installation.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Hi, I'm using 1.5 and love testimonial manager. Having a strange issue where things go haywire on all testimonial display when I add testimonial #5.
Admittedly I know just enough about zen to be dangerous and I did add a product field and a switch case request to allow links to a specific product's testimonials. Is it because of my hack or has anyone run into this before?
And yes...I know the styling should all be in my css files, but my server is caching the css results and I can find no quick relief, so please pardon the inline styling here. :-/
Appreciate any help or guidance. Thanks so much!
<?php
/**
* Testimonials Manager
*
* @package Template System
* @copyright 2007 Clyde Jones
* @copyright Portions Copyright 2003-2007 Zen Cart Development Team
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: Testimonials_Manager.php v1.5.4
*/
?> <style>
blockquote {margin:0 !important;padding:0 !important;
-webkit-border-radius: 20px; -mozborder-radius: 20px; border-radius: 20px;
box-shadow: 5px 5px 5px #007;;
height:1%;width:95%;
background-color:#ffffff;}
blockquote div {padding:38px 56px;height:1%;margin-left:auto; margin-right:auto;}
</style>
<div class="centerColumn" id="testimonialDefault" style="background-image:url(includes/templates/classic/images/background-wallpaper2.jpg); box-shadow: 5px 5px 5px #007;">
<? switch($_REQUEST['req']){
case "read": ?>
<h3> All Testimonials for:</h3>
<? $query = mysql_query("SELECT * FROM zen_testimonials_manager
WHERE testimonials_pid='{$_GET['testimonials_pid']}'");?>
<? $row = mysql_fetch_assoc($query);
$pid = $row['testimonials_pid'];
{?>
<div style="width:250px; height:250px; box-shadow:5px 5px 5px #000080; text-align:center; margin-right:auto; margin-left:auto; border-radius:25px;background-image:url(images/products/<? echo $pid?>.jpg); background-size: 250px 250px;"></div><br />
<? echo "<a href='index.php?main_page=product_info&products_id=".$pid."'>"; echo "<p><br />Click here for product details.</p></a>";?>
<?php
}
?>
<br class="clearBoth" />
<? $query = mysql_query("SELECT * FROM zen_testimonials_manager
WHERE testimonials_pid='{$_GET['testimonials_pid']}'");?>
<? while($row = mysql_fetch_assoc($query)){
$text = $row['testimonials_html_text'];
$pid = $row['testimonials_pid'];
$id = $row['products_id'];
$title = $row['testimonials_title'];
$author = $row['testimonials_name'];
?>
<blockquote>
<div class="testimonial">
<h3><? echo $title ?></h3>
<p>"<?php echo $text?>"</p>
<p align="right"><? echo $author?></p>
</div>
</blockquote><br /><br />
<br class="clearBoth" />
<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div>
<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>
<br class="clearBoth" />
</div><?
} break; ?>
<? default: ?>
<span style="color:#fff"><?php echo HEADING_TITLE; ?></span>
<?php
// $testimonials_query_raw = "select * from " . TABLE_TESTIMONIALS_MANAGER . " where status = 1 and language_id = '" . (int)$_SESSION['languages_id'] . "' order by date_added DESC, testimonials_title";
// $testimonials_split = new splitPageResults($testimonials_query_raw, MAX_DISPLAY_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS);
if (($testimonials_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3'))) {
?>
<div id="productsListingTopNumber" class="navSplitPagesResult back"><?php echo $testimonials_split->display_count(TEXT_DISPLAY_NUMBER_OF_TESTIMONIALS_MANAGER_ITEMS); ?></div>
<div id="productsListingListingTopLinks" class="navSplitPagesLinks forward"><?php echo TEXT_RESULT_PAGE . ' ' . $testimonials_split->display_links(MAX_DISPLAY_PAGE_LINKS, zen_get_all_get_params(array('page', 'info', 'x', 'y', 'main_page'))); ?></div>
<br />
<br class="clearBoth" />
<hr />
<?php
} // split page
?>
<?php
$testimonials = $db->Execute($testimonials_split->sql_query);
while (!$testimonials->EOF) {
$date_published = $testimonials->fields['date_added'];
?>
<blockquote>
<div class="testimonial">
<table width="100%" border="0" cellpadding="5">
<tr>
<td width="44%"><p class="back"><b><a href="<?php echo zen_href_link(FILENAME_TESTIMONIALS_MANAGER, 'testimonials_id=' . $testimonials->fields['testimonials_id']);?>"><?php echo $testimonials->fields['testimonials_title'];?></a></b></p>
</td>
<td width="56%"><p class="forward"><?php if (DISPLAY_TESTIMONIALS_DATE_PUBLISHED == 'true') { echo zen_date_long($date_published); } ?></p><br class="clearBoth" /></td>
</tr>
<tr>
<td><?php
if (($testimonials->fields[testimonials_image]) != ('')) {
$testimonials_image = zen_image(DIR_WS_IMAGES . $testimonials->fields[testimonials_image], $testimonials->fields['testimonials_title'], TESTIMONIAL_IMAGE_WIDTH, TESTIMONIAL_IMAGE_HEIGHT);
?><?php /*if (($testimonials->fields['testimonials_url']) == ('http://') or ($testimonials->fields['testimonials_url']) == ('')) {
echo $testimonials_image;
} else {
echo '<a href="' . $testimonials->fields['testimonials_url'] . '" target="_blank">' . $testimonials_image . '</a>';
}*/
?>
<a href="index.php?main_page=product_info&products_id=<? echo $testimonials->fields['testimonials_pid']?>"><img src="images/products/<? echo ($testimonials->fields['testimonials_pid'])?>.jpg" width="250" height="250" alt="Mark Cahill Ministries" /></a><br /><? if ($testimonials->fields['testimonials_pid'] !=0){
echo "<a href='index.php?main_page=product_info&products_id=".nl2br($testimonials->fields['testimonials_pid']."'>"); ?> </p>
<p><br />
Click here for product details.</p>
</a>
<? } ?></td>
<td style="font-size:16px; font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif">"<?php echo nl2br($testimonials->fields['testimonials_html_text']);?>"
<p align="right"> <span class="buttonRow back" style="text-align:right; font-size:11px;"><?php echo TESTIMONIALS_BY; ?> <?php echo $testimonials->fields[testimonials_name] . $testimonial_info; ?></span></p></td>
</tr>
<tr>
<td colspan="2"></td>
</tr>
</table>
<?php
}
?>
</div>
</blockquote>
<?php
$testimonial_info = '';
if ( (!empty($testimonials->fields[testimonials_city])) and (!empty($testimonials->fields[testimonials_country])) ) {
$testimonial_info .= NAME_SEPARATOR . $testimonials->fields[testimonials_city] . CITY_STATE_SEPARATOR . $testimonials->fields[testimonials_country];
}
if ( (!empty($testimonials->fields[testimonials_city])) and (empty($testimonials->fields[testimonials_country])) ) {
$testimonial_info .= NAME_SEPARATOR . $testimonials->fields[testimonials_city];
}
if ( (empty($testimonials->fields[testimonials_city])) and (!empty($testimonials->fields[testimonials_country])) ) {
$testimonial_info .= NAME_SEPARATOR . $testimonials->fields[testimonials_country];
}
if (!empty($testimonials->fields[testimonials_company])) {
$testimonial_info .= NAME_SEPARATOR . $testimonials->fields[testimonials_company];
}
?>
<br class="clearBoth" />
<br />
<hr />
<?php
$testimonials->MoveNext();
}
?>
<?php
if (($testimonials_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3'))) {
?>
<div id="productsListingBottomNumber" class="navSplitPagesResult back"><?php echo $testimonials_split->display_count(TEXT_DISPLAY_NUMBER_OF_TESTIMONIALS_MANAGER_ITEMS); ?></div>
<div id="productsListingListingBottomLinks" class="navSplitPagesLinks forward"><?php echo TEXT_RESULT_PAGE . ' ' . $testimonials_split->display_links(MAX_DISPLAY_PAGE_LINKS, zen_get_all_get_params(array('page', 'info', 'x', 'y', 'main_page'))); ?></div>
<?php
} // split page
?>
<br class="clearBoth" />
<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div>
<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>
<br class="clearBoth" />
</div><? } ?>
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
Yvonne DeBandi
Hi, I'm using 1.5 and love testimonial manager. Having a strange issue where things go haywire on all testimonial display when I add testimonial #5.
Admittedly I know just enough about zen to be dangerous and I did add a product field and a switch case request to allow links to a specific product's testimonials. Is it because of my hack or has anyone run into this before?
And yes...I know the styling should all be in my css files, but my server is caching the css results and I can find no quick relief, so please pardon the inline styling here. :-/
Appreciate any help or guidance. Thanks so much!
Code:
<?php
/**
* Testimonials Manager
*
* @package Template System
* @copyright 2007 Clyde Jones
* @copyright Portions Copyright 2003-2007 Zen Cart Development Team
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: Testimonials_Manager.php v1.5.4
*/
?> <style>
blockquote {margin:0 !important;padding:0 !important;
-webkit-border-radius: 20px; -mozborder-radius: 20px; border-radius: 20px;
box-shadow: 5px 5px 5px #007;;
height:1%;width:95%;
background-color:#ffffff;}
blockquote div {padding:38px 56px;height:1%;margin-left:auto; margin-right:auto;}
</style>
<div class="centerColumn" id="testimonialDefault" style="background-image:url(includes/templates/classic/images/background-wallpaper2.jpg); box-shadow: 5px 5px 5px #007;">
<? switch($_REQUEST['req']){
case "read": ?>
<h3> All Testimonials for:</h3>
<? $query = mysql_query("SELECT * FROM zen_testimonials_manager
WHERE testimonials_pid='{$_GET['testimonials_pid']}'");?>
<? $row = mysql_fetch_assoc($query);
$pid = $row['testimonials_pid'];
{?>
<div style="width:250px; height:250px; box-shadow:5px 5px 5px #000080; text-align:center; margin-right:auto; margin-left:auto; border-radius:25px;background-image:url(images/products/<? echo $pid?>.jpg); background-size: 250px 250px;"></div><br />
<? echo "<a href='index.php?main_page=product_info&products_id=".$pid."'>"; echo "<p><br />Click here for product details.</p></a>";?>
<?php
}
?>
<br class="clearBoth" />
<? $query = mysql_query("SELECT * FROM zen_testimonials_manager
WHERE testimonials_pid='{$_GET['testimonials_pid']}'");?>
<? while($row = mysql_fetch_assoc($query)){
$text = $row['testimonials_html_text'];
$pid = $row['testimonials_pid'];
$id = $row['products_id'];
$title = $row['testimonials_title'];
$author = $row['testimonials_name'];
?>
<blockquote>
<div class="testimonial">
<h3><? echo $title ?></h3>
<p>"<?php echo $text?>"</p>
<p align="right"><? echo $author?></p>
</div>
</blockquote><br /><br />
<br class="clearBoth" />
<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div>
<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>
<br class="clearBoth" />
</div><?
} break; ?>
<? default: ?>
<span style="color:#fff"><?php echo HEADING_TITLE; ?></span>
<?php
// $testimonials_query_raw = "select * from " . TABLE_TESTIMONIALS_MANAGER . " where status = 1 and language_id = '" . (int)$_SESSION['languages_id'] . "' order by date_added DESC, testimonials_title";
// $testimonials_split = new splitPageResults($testimonials_query_raw, MAX_DISPLAY_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS);
if (($testimonials_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3'))) {
?>
<div id="productsListingTopNumber" class="navSplitPagesResult back"><?php echo $testimonials_split->display_count(TEXT_DISPLAY_NUMBER_OF_TESTIMONIALS_MANAGER_ITEMS); ?></div>
<div id="productsListingListingTopLinks" class="navSplitPagesLinks forward"><?php echo TEXT_RESULT_PAGE . ' ' . $testimonials_split->display_links(MAX_DISPLAY_PAGE_LINKS, zen_get_all_get_params(array('page', 'info', 'x', 'y', 'main_page'))); ?></div>
<br />
<br class="clearBoth" />
<hr />
<?php
} // split page
?>
<?php
$testimonials = $db->Execute($testimonials_split->sql_query);
while (!$testimonials->EOF) {
$date_published = $testimonials->fields['date_added'];
?>
<blockquote>
<div class="testimonial">
<table width="100%" border="0" cellpadding="5">
<tr>
<td width="44%"><p class="back"><b><a href="<?php echo zen_href_link(FILENAME_TESTIMONIALS_MANAGER, 'testimonials_id=' . $testimonials->fields['testimonials_id']);?>"><?php echo $testimonials->fields['testimonials_title'];?></a></b></p>
</td>
<td width="56%"><p class="forward"><?php if (DISPLAY_TESTIMONIALS_DATE_PUBLISHED == 'true') { echo zen_date_long($date_published); } ?></p><br class="clearBoth" /></td>
</tr>
<tr>
<td><?php
if (($testimonials->fields[testimonials_image]) != ('')) {
$testimonials_image = zen_image(DIR_WS_IMAGES . $testimonials->fields[testimonials_image], $testimonials->fields['testimonials_title'], TESTIMONIAL_IMAGE_WIDTH, TESTIMONIAL_IMAGE_HEIGHT);
?><?php /*if (($testimonials->fields['testimonials_url']) == ('http://') or ($testimonials->fields['testimonials_url']) == ('')) {
echo $testimonials_image;
} else {
echo '<a href="' . $testimonials->fields['testimonials_url'] . '" target="_blank">' . $testimonials_image . '</a>';
}*/
?>
<a href="index.php?main_page=product_info&products_id=<? echo $testimonials->fields['testimonials_pid']?>"><img src="images/products/<? echo ($testimonials->fields['testimonials_pid'])?>.jpg" width="250" height="250" alt="Mark Cahill Ministries" /></a><br /><? if ($testimonials->fields['testimonials_pid'] !=0){
echo "<a href='index.php?main_page=product_info&products_id=".nl2br($testimonials->fields['testimonials_pid']."'>"); ?> </p>
<p><br />
Click here for product details.</p>
</a>
<? } ?></td>
<td style="font-size:16px; font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif">"<?php echo nl2br($testimonials->fields['testimonials_html_text']);?>"
<p align="right"> <span class="buttonRow back" style="text-align:right; font-size:11px;"><?php echo TESTIMONIALS_BY; ?> <?php echo $testimonials->fields[testimonials_name] . $testimonial_info; ?></span></p></td>
</tr>
<tr>
<td colspan="2"></td>
</tr>
</table>
<?php
}
?>
</div>
</blockquote>
<?php
$testimonial_info = '';
if ( (!empty($testimonials->fields[testimonials_city])) and (!empty($testimonials->fields[testimonials_country])) ) {
$testimonial_info .= NAME_SEPARATOR . $testimonials->fields[testimonials_city] . CITY_STATE_SEPARATOR . $testimonials->fields[testimonials_country];
}
if ( (!empty($testimonials->fields[testimonials_city])) and (empty($testimonials->fields[testimonials_country])) ) {
$testimonial_info .= NAME_SEPARATOR . $testimonials->fields[testimonials_city];
}
if ( (empty($testimonials->fields[testimonials_city])) and (!empty($testimonials->fields[testimonials_country])) ) {
$testimonial_info .= NAME_SEPARATOR . $testimonials->fields[testimonials_country];
}
if (!empty($testimonials->fields[testimonials_company])) {
$testimonial_info .= NAME_SEPARATOR . $testimonials->fields[testimonials_company];
}
?>
<br class="clearBoth" />
<br />
<hr />
<?php
$testimonials->MoveNext();
}
?>
<?php
if (($testimonials_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3'))) {
?>
<div id="productsListingBottomNumber" class="navSplitPagesResult back"><?php echo $testimonials_split->display_count(TEXT_DISPLAY_NUMBER_OF_TESTIMONIALS_MANAGER_ITEMS); ?></div>
<div id="productsListingListingBottomLinks" class="navSplitPagesLinks forward"><?php echo TEXT_RESULT_PAGE . ' ' . $testimonials_split->display_links(MAX_DISPLAY_PAGE_LINKS, zen_get_all_get_params(array('page', 'info', 'x', 'y', 'main_page'))); ?></div>
<?php
} // split page
?>
<br class="clearBoth" />
<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div>
<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>
<br class="clearBoth" />
</div><? } ?>
One thing that jumps out at me from just the formatting is that short tags are used (<? ) Instead of <?php don't know what you mean by going haywire nor am I sure if other parts of the code use the short tag or not. Sorry didn't follow through the logic yet, kinda got stopped in my tracks when I saw the short tags and other missing case statements.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
Yvonne DeBandi
Hi, I'm using 1.5 and love testimonial manager. Having a strange issue where things go haywire on all testimonial display when I add testimonial #5.
Admittedly I know just enough about zen to be dangerous and I did add a product field and a switch case request to allow links to a specific product's testimonials. Is it because of my hack or has anyone run into this before?
And yes...I know the styling should all be in my css files, but my server is caching the css results and I can find no quick relief, so please pardon the inline styling here. :-/
Appreciate any help or guidance. Thanks so much!
Code:
<?php
/**
* Testimonials Manager
*
* @package Template System
* @copyright 2007 Clyde Jones
* @copyright Portions Copyright 2003-2007 Zen Cart Development Team
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: Testimonials_Manager.php v1.5.4
*/
?> <style>
blockquote {margin:0 !important;padding:0 !important;
-webkit-border-radius: 20px; -mozborder-radius: 20px; border-radius: 20px;
box-shadow: 5px 5px 5px #007;;
height:1%;width:95%;
background-color:#ffffff;}
blockquote div {padding:38px 56px;height:1%;margin-left:auto; margin-right:auto;}
</style>
<div class="centerColumn" id="testimonialDefault" style="background-image:url(includes/templates/classic/images/background-wallpaper2.jpg); box-shadow: 5px 5px 5px #007;">
<? switch($_REQUEST['req']){
case "read": ?>
<h3> All Testimonials for:</h3>
<? $query = mysql_query("SELECT * FROM zen_testimonials_manager
WHERE testimonials_pid='{$_GET['testimonials_pid']}'");?>
<? $row = mysql_fetch_assoc($query);
$pid = $row['testimonials_pid'];
{?>
<div style="width:250px; height:250px; box-shadow:5px 5px 5px #000080; text-align:center; margin-right:auto; margin-left:auto; border-radius:25px;background-image:url(images/products/<? echo $pid?>.jpg); background-size: 250px 250px;"></div><br />
<? echo "<a href='index.php?main_page=product_info&products_id=".$pid."'>"; echo "<p><br />Click here for product details.</p></a>";?>
<?php
}
?>
<br class="clearBoth" />
<? $query = mysql_query("SELECT * FROM zen_testimonials_manager
WHERE testimonials_pid='{$_GET['testimonials_pid']}'");?>
<? while($row = mysql_fetch_assoc($query)){
$text = $row['testimonials_html_text'];
$pid = $row['testimonials_pid'];
$id = $row['products_id'];
$title = $row['testimonials_title'];
$author = $row['testimonials_name'];
?>
<blockquote>
<div class="testimonial">
<h3><? echo $title ?></h3>
<p>"<?php echo $text?>"</p>
<p align="right"><? echo $author?></p>
</div>
</blockquote><br /><br />
<br class="clearBoth" />
<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div>
<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>
<br class="clearBoth" />
</div><?
} break; ?>
<? default: ?>
<span style="color:#fff"><?php echo HEADING_TITLE; ?></span>
<?php
// $testimonials_query_raw = "select * from " . TABLE_TESTIMONIALS_MANAGER . " where status = 1 and language_id = '" . (int)$_SESSION['languages_id'] . "' order by date_added DESC, testimonials_title";
// $testimonials_split = new splitPageResults($testimonials_query_raw, MAX_DISPLAY_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS);
if (($testimonials_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3'))) {
?>
<div id="productsListingTopNumber" class="navSplitPagesResult back"><?php echo $testimonials_split->display_count(TEXT_DISPLAY_NUMBER_OF_TESTIMONIALS_MANAGER_ITEMS); ?></div>
<div id="productsListingListingTopLinks" class="navSplitPagesLinks forward"><?php echo TEXT_RESULT_PAGE . ' ' . $testimonials_split->display_links(MAX_DISPLAY_PAGE_LINKS, zen_get_all_get_params(array('page', 'info', 'x', 'y', 'main_page'))); ?></div>
<br />
<br class="clearBoth" />
<hr />
<?php
} // split page
?>
<?php
$testimonials = $db->Execute($testimonials_split->sql_query);
while (!$testimonials->EOF) {
$date_published = $testimonials->fields['date_added'];
?>
<blockquote>
<div class="testimonial">
<table width="100%" border="0" cellpadding="5">
<tr>
<td width="44%"><p class="back"><b><a href="<?php echo zen_href_link(FILENAME_TESTIMONIALS_MANAGER, 'testimonials_id=' . $testimonials->fields['testimonials_id']);?>"><?php echo $testimonials->fields['testimonials_title'];?></a></b></p>
</td>
<td width="56%"><p class="forward"><?php if (DISPLAY_TESTIMONIALS_DATE_PUBLISHED == 'true') { echo zen_date_long($date_published); } ?></p><br class="clearBoth" /></td>
</tr>
<tr>
<td><?php
if (($testimonials->fields[testimonials_image]) != ('')) {
$testimonials_image = zen_image(DIR_WS_IMAGES . $testimonials->fields[testimonials_image], $testimonials->fields['testimonials_title'], TESTIMONIAL_IMAGE_WIDTH, TESTIMONIAL_IMAGE_HEIGHT);
?><?php /*if (($testimonials->fields['testimonials_url']) == ('http://') or ($testimonials->fields['testimonials_url']) == ('')) {
echo $testimonials_image;
} else {
echo '<a href="' . $testimonials->fields['testimonials_url'] . '" target="_blank">' . $testimonials_image . '</a>';
}*/
?>
<a href="index.php?main_page=product_info&products_id=<? echo $testimonials->fields['testimonials_pid']?>"><img src="images/products/<? echo ($testimonials->fields['testimonials_pid'])?>.jpg" width="250" height="250" alt="Mark Cahill Ministries" /></a><br /><? if ($testimonials->fields['testimonials_pid'] !=0){
echo "<a href='index.php?main_page=product_info&products_id=".nl2br($testimonials->fields['testimonials_pid']."'>"); ?> </p>
<p><br />
Click here for product details.</p>
</a>
<? } ?></td>
<td style="font-size:16px; font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif">"<?php echo nl2br($testimonials->fields['testimonials_html_text']);?>"
<p align="right"> <span class="buttonRow back" style="text-align:right; font-size:11px;"><?php echo TESTIMONIALS_BY; ?> <?php echo $testimonials->fields[testimonials_name] . $testimonial_info; ?></span></p></td>
</tr>
<tr>
<td colspan="2"></td>
</tr>
</table>
<?php
}
?>
</div>
</blockquote>
<?php
$testimonial_info = '';
if ( (!empty($testimonials->fields[testimonials_city])) and (!empty($testimonials->fields[testimonials_country])) ) {
$testimonial_info .= NAME_SEPARATOR . $testimonials->fields[testimonials_city] . CITY_STATE_SEPARATOR . $testimonials->fields[testimonials_country];
}
if ( (!empty($testimonials->fields[testimonials_city])) and (empty($testimonials->fields[testimonials_country])) ) {
$testimonial_info .= NAME_SEPARATOR . $testimonials->fields[testimonials_city];
}
if ( (empty($testimonials->fields[testimonials_city])) and (!empty($testimonials->fields[testimonials_country])) ) {
$testimonial_info .= NAME_SEPARATOR . $testimonials->fields[testimonials_country];
}
if (!empty($testimonials->fields[testimonials_company])) {
$testimonial_info .= NAME_SEPARATOR . $testimonials->fields[testimonials_company];
}
?>
<br class="clearBoth" />
<br />
<hr />
<?php
$testimonials->MoveNext();
}
?>
<?php
if (($testimonials_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3'))) {
?>
<div id="productsListingBottomNumber" class="navSplitPagesResult back"><?php echo $testimonials_split->display_count(TEXT_DISPLAY_NUMBER_OF_TESTIMONIALS_MANAGER_ITEMS); ?></div>
<div id="productsListingListingBottomLinks" class="navSplitPagesLinks forward"><?php echo TEXT_RESULT_PAGE . ' ' . $testimonials_split->display_links(MAX_DISPLAY_PAGE_LINKS, zen_get_all_get_params(array('page', 'info', 'x', 'y', 'main_page'))); ?></div>
<?php
} // split page
?>
<br class="clearBoth" />
<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div>
<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>
<br class="clearBoth" />
</div><? } ?>
Quote:
Originally Posted by
mc12345678
don't know what you mean by going haywire
Yep.. I have no IDEA what is meant by "things go haywire on all testimonial display when I add testimonial #5".. Looking at this code doesn't help..(it is NOT enclosed in proper code tags to make reading it easier -- took the liberty of doing it in quoting the post..)
What WOULD help is to see an example of where "things go haywire on all testimonial display when I add testimonial #5" so we can see what the heck that statement means.. (or at LEAST some narrative detail included in the post about what "things go haywire on all testimonial display when I add testimonial #5" means) Then it would help if Yvonne DeBandi could let us know what specific changes she made in the module code (yes I know you posted your code, but don't make us fish through the WHOLE file just to find your changes please :smile:.. make it easy on folks..)
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Hey, thanks for responding. Of course, will be happy to provide details. First time posting and wasn't sure what to expect.
Here is the link to see what is going haywire:
http://a2zsmartgroup.com/mcministrie...monials&page=1
If you navigate to page 2 of testimonials you will see that everything then resolves itself and the layout is fine.
As I mentioned, I added a switch case request so that I can retrieve a page that pulls only the testimonials for a specific product.
You can see this here:
http://a2zsmartgroup.com/mcministrie...imonials_pid=3
The layout is fine on all counts until I approve testimonial #5.
The code I added is the third block of code down beginning with the SWITCH CASE REQ and ending at the default/break.
<? switch($_REQUEST['req']){
case "read": ?>
<h3> All Testimonials for:</h3>
<? $query = mysql_query("SELECT * FROM zen_testimonials_manager
WHERE testimonials_pid='{$_GET['testimonials_pid']}'");?>
<? $row = mysql_fetch_assoc($query);
$pid = $row['testimonials_pid'];
{?>
<div style="width:250px; height:250px; box-shadow:5px 5px 5px #000080; text-align:center; margin-right:auto; margin-left:auto; border-radius:25px;background-image:url(images/products/<? echo $pid?>.jpg); background-size: 250px 250px;"></div><br />
<? echo "<a href='index.php?main_page=product_info&products_id=".$pid."'>"; echo "<p><br />Click here for product details.</p></a>";?>
<?php
}
?>
<br class="clearBoth" />
<? $query = mysql_query("SELECT * FROM zen_testimonials_manager
WHERE testimonials_pid='{$_GET['testimonials_pid']}'");?>
<? while($row = mysql_fetch_assoc($query)){
$text = $row['testimonials_html_text'];
$pid = $row['testimonials_pid'];
$id = $row['products_id'];
$title = $row['testimonials_title'];
$author = $row['testimonials_name'];
?>
<blockquote>
<div class="testimonial">
<h3><? echo $title ?></h3>
<p>"<?php echo $text?>"</p>
<p align="right"><? echo $author?></p>
</div>
</blockquote><br /><br />
<br class="clearBoth" />
<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div>
<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>
<br class="clearBoth" />
</div><?
} break; ?>
I simply added this code above the original code provided, making the original code the default result. Strangely enough, the error also occurs on the default layout....
Hope this makes sense. Thanks in advance for any guidance or assistance provided. :)
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Nevermind, figured out the cause of the issue. Current code requires a pic for each testimonial. Thanks anyway!
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
Yvonne DeBandi
Nevermind, figured out the cause of the issue. Current code requires a pic for each testimonial. Thanks anyway!
Glad you worked out whatever it was that was at issue.. but if you don't mind some constructive criticism..:D it's still not clear what the issue was or where/how your code is to be used. It's not clear from your post what part of the code you posted is your custom code and what is the default code for this module.. You also don't say which file you updated.. and you are NOT using any of the proper codes for posting code. The reason for using them is twofold:
Makes your code easier to read
Prevents the forum software from parsing the code and accidentally making smilies or other strange characters of your code (it CAN happen)
when posting code you SHOULD use the forum codes for posting code (I've added spaces so the forum software doesn't parse this and you can see the codes I refer to)
[ CODE ] YOUR CODE GOES HERE [ /CODE ]
[ PHP ] YOUR CODE GOES HERE [ /PHP ]
So using the "CODE" forum code, the code you posted looks like this:
Code:
<? switch($_REQUEST['req']){
case "read": ?>
<h3> All Testimonials for:</h3>
<? $query = mysql_query("SELECT * FROM zen_testimonials_manager
WHERE testimonials_pid='{$_GET['testimonials_pid']}'");?>
<? $row = mysql_fetch_assoc($query);
$pid = $row['testimonials_pid'];
{?>
<div style="width:250px; height:250px; box-shadow:5px 5px 5px #000080; text-align:center; margin-right:auto; margin-left:auto; border-radius:25px;background-image:url(images/products/<? echo $pid?>.jpg); background-size: 250px 250px;"></div><br />
<? echo "<a href='index.php?main_page=product_info&products_id=".$pid."'>"; echo "<p><br />Click here for product details.</p></a>";?>
<?php
}
?>
<br class="clearBoth" />
<? $query = mysql_query("SELECT * FROM zen_testimonials_manager
WHERE testimonials_pid='{$_GET['testimonials_pid']}'");?>
<? while($row = mysql_fetch_assoc($query)){
$text = $row['testimonials_html_text'];
$pid = $row['testimonials_pid'];
$id = $row['products_id'];
$title = $row['testimonials_title'];
$author = $row['testimonials_name'];
?>
<blockquote>
<div class="testimonial">
<h3><? echo $title ?></h3>
<p>"<?php echo $text?>"</p>
<p align="right"><? echo $author?></p>
</div>
</blockquote><br /><br />
<br class="clearBoth" />
<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . '</a>'; ?></div>
<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>
<br class="clearBoth" />
</div><?
} break; ?>
Anyway.. glad it's all working now..
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Hello, i installed it on my site www.kite-addicti***on.es/tienda
Please delete the *
Its working ok in english, but not in spanish. I have copied all the files in the installation languages/english folder to my languages/spanish folder, but still is not appearing there where it should be in the spanish version, while it does on the english one.
Kind regards,
David
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
It is working now. When i added a new testimonial in the admin panel it appeared. Now the problem is it seems there are 2 database testimonials, one for spanish one for english, i would like both to point to the same one. Any ideas?
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
I'm using v1.5.2 of Testimonials Manager on one of my sites and it's got a setting in Configuration->Testimonials Manager: Display All Languages. Set to true, and both the English and Spanish testimonials will be displayed on your store.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
lat9
I'm using v1.5.2 of Testimonials Manager on one of my sites and it's got a setting in Configuration->Testimonials Manager: Display All Languages. Set to true, and both the English and Spanish testimonials will be displayed on your store.
Hi, that is already set to true. The box is displaying in both languages. However if i add a new testimonial while on english language this new testimonial wont appear when i switch language to spanish and viceversa
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
speedyrider
Hi, that is already set to true. The box is displaying in both languages. However if i add a new testimonial while on english language this new testimonial wont appear when i switch language to spanish and viceversa
When you say that "the box" is displaying in both languages, do you mean that existing testimonials display both English and Spanish, no matter which language is currently selected?
Would you be more specific about that last bit. Are you saying that if you add a new testimonial while the language is set to English that the testimonial displays in the "all testimonials" page in English but not Spanish (and vice-versa)?
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Is there a way of getting the Testimonial Manager to display in a center box on the homepage?
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
I'm upgrading from 1.39h to 1.51. I've dumped my 1.39h database and put it into a new databse for the 1.51 upgrade. I ran zc_install and upgraded the database.
Everything seems working except that when I add plugins, the admin auto-loading doesn't seem to be working.
I have Testimonials Manager installed in 1.39h and I tried to install the new Testimonials Manager in 1.51 but I don't see any of the Testimonial Manager menus in the Admin of my 1.51.
I see the Testimonials sidebox on my store (1.51) and I can view all the "old" testimonials, but no menu in the Admin.
Any ideas what I did wrong, or missed out?
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Ok, I figured it out.
The admin/includes/auto_loaders/config.tm.php file was deleted from a previous test installation.
Maybe a note should be added to the installation/upgrade about this file getting deleted after installation and it needs to be copied over again for a new install.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Hi all,
Quote:
Originally Posted by
welshop.com
I have just upgraded Testimonial manager to Version 1.5.4 and noticed that when I submit a testimonial a "Submit my Testimonial" button appears on the "Your testimonial has been successfully submitted" page - which is sure to confuse people.
I've also noticed that a "Submit my Testimonial" button is appearing on the success page - and if clicked it leads back to the "Add my testimonial page" and shows the message "Errors have occured on your submission! Please correct and re-submit!" (which is sure to confuse people!).
I've tried to remove the button - however doing so removes it on both pages (the success page and the add my testimonial page), any ideas would be appreciated.
Thanks,
Mike
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
mikecnz
I've also noticed that a "Submit my Testimonial" button is appearing on the success page - and if clicked it leads back to the "Add my testimonial page" and shows the message "Errors have occured on your submission! Please correct and re-submit!" (which is sure to confuse people!).
I've tried to remove the button - however doing so removes it on both pages (the success page and the add my testimonial page), any ideas would be appreciated.
Hi Mike,
All you have to do is move one line of code in includes/templates/<your template>/templates/tpl_testimonials_add_default.php
At the bottom of the file, you'll see:
HTML Code:
</fieldset>
<br class="clearBoth" />
<?php
}
?>
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SUBMIT_TESTIMONIALS, BUTTON_TESTIMONIALS_SUBMIT_ALT); ?></div>
<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) .'</a>'; ?></div>
</form>
<br class="clearBoth" />
</div>
Move the line with the BUTTON_IMAGE_SUBMIT_TESTIMONIALS to the line just after the <br class="clearBoth" /> line:
HTML Code:
</fieldset>
<br class="clearBoth" />
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SUBMIT_TESTIMONIALS, BUTTON_TESTIMONIALS_SUBMIT_ALT); ?></div>
<?php
}
?>
<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) .'</a>'; ?></div>
</form>
<br class="clearBoth" />
</div>
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
kamion
All you have to do is move one line of code in includes/templates/<your template>/templates/tpl_testimonials_add_default.php
Move the line with the BUTTON_IMAGE_SUBMIT_TESTIMONIALS to the line just after the <br class="clearBoth" /> line:
As with many of such template pages, the success and form fill is within one page. Looking at the current code and one of my pages I see a possible error. The success part is missing a back button, which may or may not be needed... code in red below.
Code:
if (isset($_GET['action']) && ($_GET['action'] == 'success')) {
?>
<br class="clearBoth" />
<div class="mainContent success"><?php echo TESTIMONIAL_SUCCESS; ?></div>
<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) .'</a>'; ?></div>
<?php
} else {
The main issue is at the bottom of the page, the buttons are outside the closing "}" and would show up on both success and input pages..
Code:
</fieldset>
<br class="clearBoth" />
<?php
}
?>
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SUBMIT_TESTIMONIALS, BUTTON_TESTIMONIALS_SUBMIT_ALT); ?></div>
<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) .'</a>'; ?></div>
</form>
<br class="clearBoth" />
</div>
correct coding should be..
Code:
</fieldset>
<br class="clearBoth" />
<div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) .'</a>'; ?></div>
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SUBMIT_TESTIMONIALS, BUTTON_TESTIMONIALS_SUBMIT_ALT); ?></div>
<?php
}
?>
</form>
</div>
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
davewest
As with many of such template pages, the success and form fill is within one page. Looking at the current code and one of my pages I see a possible error. The success part is missing a back button, which may or may not be needed... code in red below.
My suggestion to only moving the "Submit" line to within the curly bracket will leave the back button appearing on both form fill and success pages.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Thanks to Kamion and davewest for your help. :D.
Worked a charm.
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Code:
#Testimonials Manager SQL Uninstall
#Designed for: Zen Cart v1.5.0
#Author: Clyde Jones
#Version: 1.5.3d
#Updated: By CountryCharm 4/15/2012
SET @configuration_group_id=0;
SELECT @configuration_group_id:=configuration_group_id
FROM configuration_group
WHERE configuration_group_title= 'Testimonials Manager'
LIMIT 1;
DELETE FROM configuration WHERE configuration_group_id = @configuration_group_id;
DELETE FROM configuration_group WHERE configuration_group_id = @configuration_group_id;
DELETE FROM configuration WHERE configuration_key = 'DEFINE_TESTIMONIAL_STATUS';
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(');
DROP TABLE IF EXISTS `testimonials_manager`;
DELETE FROM admin_pages WHERE page_key = 'configTestimonialsManager' LIMIT 1;
DELETE FROM admin_pages WHERE page_key = 'TestimonialsManager' LIMIT 1;
I am ready to run the uninstall.sql but stopped before I pushed send after seeing some strange inserts being run. What is the purpose of inserting the 4 configuration settings if I am uninstalling?
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
grantopt
Code:
#Testimonials Manager SQL Uninstall
#Designed for: Zen Cart v1.5.0
#Author: Clyde Jones
#Version: 1.5.3d
#Updated: By CountryCharm 4/15/2012
SET @configuration_group_id=0;
SELECT @configuration_group_id:=configuration_group_id
FROM configuration_group
WHERE configuration_group_title= 'Testimonials Manager'
LIMIT 1;
DELETE FROM configuration WHERE configuration_group_id = @configuration_group_id;
DELETE FROM configuration_group WHERE configuration_group_id = @configuration_group_id;
DELETE FROM configuration WHERE configuration_key = 'DEFINE_TESTIMONIAL_STATUS';
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(');
DROP TABLE IF EXISTS `testimonials_manager`;
DELETE FROM admin_pages WHERE page_key = 'configTestimonialsManager' LIMIT 1;
DELETE FROM admin_pages WHERE page_key = 'TestimonialsManager' LIMIT 1;
I am ready to run the uninstall.sql but stopped before I pushed send after seeing some strange inserts being run. What is the purpose of inserting the 4 configuration settings if I am uninstalling?
Dunno.. you must've pasted that in somehow.. this ain't part of the uninstall SQL file that comes with this module..
-
Re: Testimonial Manager Support Thread (for ZC v1.5.x)
Quote:
Originally Posted by
DivaVocals
Dunno.. you must've pasted that in somehow.. this ain't part of the uninstall SQL file that comes with this module..
So I assume this all can be deleted as it is not supposed to be here?
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(');
I went back to the plugins section and downloaded a fresh copy of the v1.5.4. Checking the uninstall.sql, the same 4 inserts were present. I then figured I would check other uploaded versions. I downloaded the latest v1.5.5 and 2 other older versions v1.5.3d and v 1.5.2. To my surprise, ALL of them have these same 4 inserts.
To help others who may do a uninstall how do I notify the zencart team that the uploaded uninstall.sql needs to be changed?