Re: Testimonial Manager Support Thread
Hi Clyde Jones and thank you so much for this add-on. I'm using it to display 'facts' rather than testimonials. I got it installed and working, then began customizing and had no problems. I added all the facts from within the Admin>Tools>Testimonials Manager. After that, I began removing certain things like the title, the read more, etc and all was working well. Finally, I wanted to add images, so I went into the Admin>Tools>Testimonials Manager and received the following error:
Code:
Fatal error: Call to a member function get_template_dir() on a non-object in /home/enchant2/public_html/biad/admin/includes/languages/english/testimonials_manager.php on line 30
I did not make any changes at all in the admin files.
Thank you.
Re: Testimonial Manager Support Thread
Quote:
Originally Posted by
tamalita
Hi Clyde Jones and thank you so much for this add-on. I'm using it to display 'facts' rather than testimonials. I got it installed and working, then began customizing and had no problems. I added all the facts from within the Admin>Tools>Testimonials Manager. After that, I began removing certain things like the title, the read more, etc and all was working well. Finally, I wanted to add images, so I went into the Admin>Tools>Testimonials Manager and received the following error:
Code:
Fatal error: Call to a member function get_template_dir() on a non-object in /home/enchant2/public_html/biad/admin/includes/languages/english/testimonials_manager.php on line 30
I did not make any changes at all in the admin files.
Thank you.
I'd need a url for your site
AND
the details of what file(s) you modified to do the following:
After that, I began removing certain things like the title, the read more, etc
Re: Testimonial Manager Support Thread
The site (still under construction) is currently located at
http://biad.enchanted-graphics.com/
This is a new installation of the add on.
the files I changed were:
includes>templates>mine>sideboxes>tpl_testimonials_manager.php
on line 14 I removed the following code between the ''
Code:
<b><a href="' . zen_href_link(FILENAME_TESTIMONIALS_MANAGER, 'testimonials_id=' . $page_query_list[$i]['id']) . '">' . $page_query_list[$i]['name'] . '</a></b><div class="testimonial">
on line 20 I removed the following code because I did not want "Read More>>"
Code:
<span><strong><a href="' . zen_href_link(FILENAME_TESTIMONIALS_MANAGER, 'testimonials_id=' . $page_query_list[$i]['id']) . '">' .TESTIMONIALS_MANAGER_READ_MORE .'</a></strong></span>
on line 21, I removed everything, because I did not need the separator
Code:
$content .= '<hr class="catBoxDivider" />';
in includes>languages>english>extra_definitions>mine I changed testimonials_manager_defines.php:
lines 12, 13, 23 I changed the word Testimonials to Facts.
I believe that is all .... I will look through things more closely to see if anything was changed.
Re: Testimonial Manager Support Thread
Quote:
Originally Posted by
tamalita
The site (still under construction) is currently located at
http://biad.enchanted-graphics.com/
This is a new installation of the add on.
the files I changed were:
includes>templates>mine>sideboxes>tpl_testimonials_manager.php
on line 14 I removed the following code between the ''
Code:
<b><a href="' . zen_href_link(FILENAME_TESTIMONIALS_MANAGER, 'testimonials_id=' . $page_query_list[$i]['id']) . '">' . $page_query_list[$i]['name'] . '</a></b><div class="testimonial">
on line 20 I removed the following code because I did not want "Read More>>"
Code:
<span><strong><a href="' . zen_href_link(FILENAME_TESTIMONIALS_MANAGER, 'testimonials_id=' . $page_query_list[$i]['id']) . '">' .TESTIMONIALS_MANAGER_READ_MORE .'</a></strong></span>
on line 21, I removed everything, because I did not need the separator
Code:
$content .= '<hr class="catBoxDivider" />';
in includes>languages>english>extra_definitions>mine I changed testimonials_manager_defines.php:
lines 12, 13, 23 I changed the word Testimonials to Facts.
I believe that is all .... I will look through things more closely to see if anything was changed.
First: Try re-uploading ALL the unmodified testimonial manager files both admin and includes.
We can go back later and properly edit/modify the files to your needs.
Re: Testimonial Manager Support Thread
Magic haha. I must have inadvertently changed something on one of those files. Now I no longer get that error! Thank you! That was a pretty simple fix!
Re: Testimonial Manager Support Thread
Quote:
Originally Posted by
tamalita
Magic haha. I must have inadvertently changed something on one of those files. Now I no longer get that error! Thank you! That was a pretty simple fix!
glad it got sorted
Re: Testimonial Manager Support Thread
Install testimonials-module; semm some thing missing, getting error please suggest me.
1146 Table 'newzen_.table_testimonials_manager' doesn't exist
in:
[select testimonials_id, testimonials_image, testimonials_title, testimonials_html_text, date_added from TABLE_TESTIMONIALS_MANAGER where status = 1 and language_id = 1 order by rand(), testimonials_title limit 5]
Re: Testimonial Manager Support Thread
Quote:
Originally Posted by
rashuweb
Install testimonials-module; semm some thing missing, getting error please suggest me.
1146 Table 'newzen_.table_testimonials_manager' doesn't exist
in:
[select testimonials_id, testimonials_image, testimonials_title, testimonials_html_text, date_added from TABLE_TESTIMONIALS_MANAGER where status = 1 and language_id = 1 order by rand(), testimonials_title limit 5]
Did you follow the highlighted section from the installation instructions:
NEW INSTALLATION:
Unzip the contribution.
Open the New_installation folder
run the included install_testimonials_manager.sql using the Zen-Cart Sql Patches tool
(admin -> tools -> install sql patches)
For best results, copy-and-paste the code into the query field and press 'Send'.
Before uploading change the YOUR_TEMPLATE folders to match the name of your custom template.
includes/languages/english/extra_definitions/YOUR_TEMPLATE
includes/languages/english/YOUR_TEMPLATE
includes/languages/english/html_includes/YOUR_TEMPLATE
includes/modules/sideboxes/YOUR_TEMPLATE
includes/templates/YOUR_TEMPLATE
The files are arranged in the same structure as Zen Cart so you can FTP the admin, images and includes folders to your server.
Login in to your admin panel admin -> tools -> layout boxes contoller and activate the new sidebox.
Re: Testimonial Manager Support Thread
thanks clydejones!
YES! i do follow exactly as mention above;
in admin > tools > Testimonial Manager has created and in Tools>Layout Manager > sideboxes/classic/testimonials_manager.php has been created but at front end i can see an error on right layout as
1146 Table 'newzen_.table_testimonials_manager' doesn't exist
in:
[select testimonials_id, testimonials_image, testimonials_title, testimonials_html_text, date_added from TABLE_TESTIMONIALS_MANAGER where status = 1 and language_id = 1 order by rand(), testimonials_title limit 5]
do i need to edit some thing in phpmyadmin? or need to do again.
please
Re: Testimonial Manager Support Thread
Quote:
Originally Posted by
rashuweb
thanks clydejones!
YES! i do follow exactly as mention above;
in admin > tools > Testimonial Manager has created and in Tools>Layout Manager > sideboxes/classic/testimonials_manager.php has been created but at front end i can see an error on right layout as
1146 Table 'newzen_.table_testimonials_manager' doesn't exist
in:
[select testimonials_id, testimonials_image, testimonials_title, testimonials_html_text, date_added from TABLE_TESTIMONIALS_MANAGER where status = 1 and language_id = 1 order by rand(), testimonials_title limit 5]
do i need to edit some thing in phpmyadmin? or need to do again.
please
I'd uninstall it first and then reinstall