Page 17 of 27 FirstFirst ... 71516171819 ... LastLast
Results 161 to 170 of 262
  1. #161
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,228
    Plugin Contributions
    6

    Default Re: Testimonial Manager Support Thread (for ZC v1.5.x)

    Quote Originally Posted by davewest View Post
    your most likely thinking you need to add something to languages
    Code:
    // Testimonial manager meta tags
    define('META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS', 'SOME WORDS  '); 
    define('META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER', 'SOME WORDS  ');
    I did to includes/languages/english/YOUR_TEMPLATE/meta_tags.php

    Or none, depending on what common wording you want to have for each post... I use my site name.
    Thanks Dave, I didn't really have time to go through it earlier. Should have guessed that really. Long day lol
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  2. #162
    Join Date
    Mar 2012
    Posts
    30
    Plugin Contributions
    0

    Default Re: Testimonial Manager Support Thread (for ZC v1.5.x)

    Hi, I like this plugin. And I installed it. Everything works excepting adding Testimonial.
    When I click" add a testimonial", it redirects to "/index.php?main_page=testimonials_add" page. But this page is blank. I checked my logs file. It reads:
    PHP Parse error: syntax error, unexpected '=' in /home8/simonhai/public_html/includes/functions/testimonials.php on line 14

    Below is the testimonial file
    PHP Code:
    [PHP]<?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.5e
     */

      
    function zen_db_insert_id() {
        global 
    $db;
        return = 
    $db->Insert_ID();
      }
    //EOF
    [/PHP]

    my site is www.thedancinghair.com

  3. #163
    Join Date
    Jul 2012
    Posts
    16,799
    Plugin Contributions
    17

    Default Re: Testimonial Manager Support Thread (for ZC v1.5.x)

    Quote Originally Posted by kevin_remy View Post
    Hi, I like this plugin. And I installed it. Everything works excepting adding Testimonial.
    When I click" add a testimonial", it redirects to "/index.php?main_page=testimonials_add" page. But this page is blank. I checked my logs file. It reads:
    PHP Parse error: syntax error, unexpected '=' in /home8/simonhai/public_html/includes/functions/testimonials.php on line 14

    Below is the testimonial file
    PHP Code:
    [PHP]<?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.5e
     */

      
    function zen_db_insert_id() {
        global 
    $db;
        return = 
    $db->Insert_ID();
      }
    //EOF
    [/PHP]

    my site is www.thedancinghair.com
    Yeah, would remove the = from the line:
    Code:
    return = $db->Insert_ID();
    So that it reads:
    Code:
     return $db->Insert_ID();
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #164
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,582
    Plugin Contributions
    29

    Default Re: Testimonial Manager Support Thread (for ZC v1.5.x)

    The file /includes/functions/testimonials.php was changed in the most recent version of this plugin. Previous versions did not have this problem.

  5. #165
    Join Date
    Mar 2012
    Posts
    30
    Plugin Contributions
    0

    Default Re: Testimonial Manager Support Thread (for ZC v1.5.x)

    Quote Originally Posted by mc12345678 View Post
    Yeah, would remove the = from the line:
    Code:
    return = $db->Insert_ID();
    So that it reads:
    Code:
     return $db->Insert_ID();
    It works. Thank you so much!

  6. #166
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: Testimonial Manager Support Thread (for ZC v1.5.x)

    That was a little mistake from me trying to update it to take out all of the mysql_xx functions, I have resubmitted an updated package to correct it

    Zen Cart and it's community are the best!!

  7. #167
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,582
    Plugin Contributions
    29

    Default Re: Testimonial Manager Support Thread (for ZC v1.5.x)

    Quote Originally Posted by lankeeyankee View Post
    That was a little mistake from me trying to update it to take out all of the mysql_xx functions, I have resubmitted an updated package to correct it
    No good deed goes unpunished.

  8. #168
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    81

    Default Re: Testimonial Manager Support Thread (for ZC v1.5.x)

    Quote Originally Posted by lankeeyankee View Post
    That was a little mistake from me trying to update it to take out all of the mysql_xx functions, I have resubmitted an updated package to correct it
    Quote Originally Posted by jeking View Post
    No good deed goes unpunished.
    Oops. And I had a part in that too. Sorry. lankeeyankee's update has been published and is available for download
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #169
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Testimonial Manager Support Thread (for ZC v1.5.x)

    That was one line that never made sense to me!

    In the $_POST line 39
    Code:
    $testimonials_id = zen_db_prepare_input($_POST['testimonials_id']);
    I could not find it in the template form anywhere!

    Then in line 93
    Code:
     $testimonials_id = zen_db_insert_id();
    I can understand why we would get it from the database, just not sure why now! The function is not used anywhere else!

    I've commented it out and did away with the function without any issues for some years now..

    Just wondering why its in the POSTing side of the form. The Function exists in Admin and works there... Also thinking maybe there was some mixing of the admin code with the catalog side!
    Dave
    Always forward thinking... Lost my mind!

  10. #170
    Join Date
    Mar 2012
    Posts
    30
    Plugin Contributions
    0

    Default Re: Testimonial Manager Support Thread (for ZC v1.5.x)

    Hey, I still need your help. In all testimonials page, CSS does not work. Check below pic:

    Name:  test.jpg
Views: 137
Size:  46.8 KB

    I added below codes to my template stylesheet.css
    PHP Code:
    .testimonial {
    color#000;
    padding0 5px 5px 5px;
    text-align:left;
    }
    .
    testimonial p {
    margin0padding5px 0;
    }
    .
    testimonial span {
    float:right;
    }
    .
    testimonialImage {
    margin0;
    padding0;
    text-aligncenter;


 

 
Page 17 of 27 FirstFirst ... 71516171819 ... LastLast

Similar Threads

  1. Link Manager 3.0 Support Thread
    By clydejones in forum Addon Sideboxes
    Replies: 1987
    Last Post: 6 Aug 2021, 02:56 PM
  2. Testimonial Manager Support Thread
    By clydejones in forum All Other Contributions/Addons
    Replies: 1500
    Last Post: 4 Feb 2021, 04:12 PM
  3. Poll Manager Support Thread
    By boudewijn in forum Addon Sideboxes
    Replies: 148
    Last Post: 27 Jan 2016, 09:53 AM
  4. Empty Cart Manager [support thread]
    By Steven300 in forum All Other Contributions/Addons
    Replies: 49
    Last Post: 26 May 2010, 10:26 AM
  5. [Support Thread] Simple Video Manager
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 1 Nov 2008, 02:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR