Page 10 of 26 FirstFirst ... 8910111220 ... LastLast
Results 91 to 100 of 258
  1. #91
    Join Date
    Mar 2011
    Posts
    93
    Plugin Contributions
    0

    Default 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?

  2. #92
    Join Date
    Mar 2011
    Posts
    93
    Plugin Contributions
    0

    Default 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.

  3. #93
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    56
    Plugin Contributions
    0

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

    Hi all,

    Quote Originally Posted by welshop.com View Post
    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

  4. #94
    Join Date
    Mar 2011
    Posts
    93
    Plugin Contributions
    0

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

    Quote Originally Posted by mikecnz View Post
    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>

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

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

    Quote Originally Posted by kamion View Post
    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>
    Dave
    Always forward thinking... Lost my mind!

  6. #96
    Join Date
    Mar 2011
    Posts
    93
    Plugin Contributions
    0

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

    Quote Originally Posted by davewest View Post
    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.

  7. #97
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    56
    Plugin Contributions
    0

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

    Thanks to Kamion and davewest for your help. .
    Worked a charm.

  8. #98
    Join Date
    May 2012
    Posts
    36
    Plugin Contributions
    0

    Default 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?

  9. #99
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

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

    Quote Originally Posted by grantopt View Post
    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..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  10. #100
    Join Date
    May 2012
    Posts
    36
    Plugin Contributions
    0

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

    Quote Originally Posted by DivaVocals View Post
    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?

 

 
Page 10 of 26 FirstFirst ... 8910111220 ... 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