Page 59 of 151 FirstFirst ... 949575859606169109 ... LastLast
Results 581 to 590 of 1501
  1. #581
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Testimonial Manager 1.3.7

    Quote Originally Posted by Einstin View Post
    Clyde;
    I've pretty much skimmed through all 57 pages of posts here and the Testimonial Manager mod sounds great. I'm working on a new client site and it fits most of the needs. Couple of questions though on it before I try to install it on a clean 1.3.8a site.

    1. Does the mod have the ability to allow a user submitted pic to include with the testimonial?

    2. If a user submits a pic and its sized excessively can it use gd or image magick to resample and save it in the ../images/testimonials directory at a preferred or admin controlled size & dpi?
    Sorry, No to both. Images can be added from the admin panel (admin -> tools -> testimonial manager) and editing the testimonial.

  2. #582
    Join Date
    Feb 2005
    Location
    Atlanta, GA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Testimonial Manager 1.3.7

    NP Clyde. I figured that would take some serious rewriting anyway but figured I'd ask.

    Next question though. As it is now if an image is in the testimonial when the image is clicked it takes you to the authors submitted link/site.

    What about altering it so that a smaller image can be used and when clicked it behaves like a product picture and opens a larger picture on top?

    I'm using the Fuel Slimbox mod at http://www.zen-cart.com/index.php?ma...roducts_id=830 and would like to see a larger picture displayed instead.

    cheers!

  3. #583
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Testimonial Manager 1.3.7

    Quote Originally Posted by Einstin View Post
    NP Clyde. I figured that would take some serious rewriting anyway but figured I'd ask.

    Next question though. As it is now if an image is in the testimonial when the image is clicked it takes you to the authors submitted link/site.

    What about altering it so that a smaller image can be used and when clicked it behaves like a product picture and opens a larger picture on top?

    I'm using the Fuel Slimbox mod at http://www.zen-cart.com/index.php?ma...roducts_id=830 and would like to see a larger picture displayed instead.

    cheers!
    You can set the image dimensions to whatever you want
    admin -> configuration -> testimonial manager (by default the height and width are set at 80px.)

    When you edit a testimonial you can set the URL to take you to a particular product info page (you can see this in action here
    Just scroll down to the "great site" testimonial and click on the image.

    I'm not sure how Fuel Slimbox handles images so I can't really speak to what would be required to alter testimonial manager code to work with it.

  4. #584
    Join Date
    Feb 2005
    Location
    Atlanta, GA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Testimonial Manager 1.3.7

    Clyde;
    I found where in the 2 template files the url is passed to the picture and although my php is crude at best managed to comment out the url from being passed.

    tpl_testimonials_manager_default.php
    tpl_testimonials_manager_all_testimonials_default.php

    I did it like this...

    PHP Code:
    <p id="testimonialImage">
    <?php /* echo  '<a href="' . $page_check->fields[testimonials_url] . '" target="_blank">' . zen_image($testimonials_image). '</a>'; */ ?>
    <?php 
    echo  '' zen_image($testimonials_image). '</a>'?>
    </p>
    One thing I noticed is that if there is no URL supplied either in the submission or edited in on the admin side then the code still inserts "http:///" as a link for the picture. Might consider adding a statement for it to check for a url and if none exists then not to create the link.

    Also, thanks for the image info. If I'd have opened my eyes I might have seen it slap me in the face!

  5. #585
    Join Date
    Feb 2005
    Location
    Atlanta, GA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Testimonial Manager 1.3.7

    Quote Originally Posted by clydejones View Post
    You can set the image dimensions to whatever you want
    admin -> configuration -> testimonial manager (by default the height and width are set at 80px.)

    On second glance, apparently this only controls the image size in the sidebox and not in the actual testimonial page or all testimonials. That or I have managed to goof something else up somewhere.

  6. #586
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Testimonial Manager 1.3.7

    Quote Originally Posted by Einstin View Post
    Clyde;
    I found where in the 2 template files the url is passed to the picture and although my php is crude at best managed to comment out the url from being passed.

    tpl_testimonials_manager_default.php
    tpl_testimonials_manager_all_testimonials_default.php

    I did it like this...

    PHP Code:
    <p id="testimonialImage">
    <?php /* echo  '<a href="' . $page_check->fields[testimonials_url] . '" target="_blank">' . zen_image($testimonials_image). '</a>'; */ ?>
    <?php 
    echo  '' zen_image($testimonials_image). '</a>'?>
    </p>
    One thing I noticed is that if there is no URL supplied either in the submission or edited in on the admin side then the code still inserts "http:///" as a link for the picture. Might consider adding a statement for it to check for a url and if none exists then not to create the link.

    Also, thanks for the image info. If I'd have opened my eyes I might have seen it slap me in the face!
    If no image exists then no image or link is displayed:

    This complete if statement takes care of that on the display pages:

    PHP Code:
       <?php
       
    if (($testimonials->fields[testimonials_image]) != ('')) {
         
    $testimonials_image DIR_WS_IMAGES $testimonials->fields[testimonials_image];
    ?>
    <p class="testimonialImage">
    <?php echo '<a href="' $testimonials->fields['testimonials_url'] . '" target="_blank">' zen_image($testimonials_image). '</a>'?>
    </p>
       <?php
       
    }
    ?>

    Quote Originally Posted by Einstin View Post
    On second glance, apparently this only controls the image size in the sidebox and not in the actual testimonial page or all testimonials. That or I have managed to goof something else up somewhere.
    The image size applies to both the sidebox and the display pages.

  7. #587
    Join Date
    Feb 2005
    Location
    Atlanta, GA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Testimonial Manager 1.3.7

    Quote Originally Posted by clydejones View Post
    If no image exists then no image or link is displayed:
    Mabey I wasn't too clear on my description. I DO want the image displayed but if no link is in the db for it then the picture should not attempt to link anywhere. As it stands now with no link in the db on mouseover it displays "http:///" in the status bar and clicking it takes me to the store root.

    Quote Originally Posted by clydejones View Post
    The image size applies to both the sidebox and the display pages.

    I must have something messed up then. Right now it only thumbs the image for the sidebox. The pages tpl_testimonials_manager_default.php and tpl_testimonials_manager_all_testimonials_default.php are both showing a full sized image. I even reverted back to your original files and still the same presentation.

    The cart is a clean 1.3.8a install and this was the first mod I installed on it. I tried the Fuel Slimbox after that and nothing was over written but the javascript from slimbox kept halting php and all I would get was blank pages so I removed slimbox for now.

    Cheers!

  8. #588
    Join Date
    Feb 2005
    Location
    Atlanta, GA
    Posts
    71
    Plugin Contributions
    0

    Default Testimonial Manager 1.3.7

    Just reverted everything back to your original files and now the only difference is the store's full root url shows up in the status bar and of course takes you there when you click the picture. Site url is http://www.southraven.com/demo10/

  9. #589
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Testimonial Manager 1.3.7

    Quote Originally Posted by Einstin View Post
    Just reverted everything back to your original files and now the only difference is the store's full root url shows up in the status bar and of course takes you there when you click the picture. Site url is http://www.southraven.com/demo10/
    I'll work on a code revision and post a fix for you asap.

  10. #590
    Join Date
    Feb 2005
    Location
    Atlanta, GA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Testimonial Manager 1.3.7

    Finally got a version of lightbox installed and working. Had to remove the Fuel Slimbox and go with the Zen Lightbox 1.4. Got that working in the cart now without any errors. Just something about the Fuel Slimbox was giving the site grief. Can't understand why though. Outside of a few stock changes to the stylesheet.css for the template its a fully compliant Zen Cart 1.3.8 and I have been very meticulous in creating a fully compliant template.

    Now if I can find a way to get your Testimonial Manager to treat the pictures the same way I would be happy indeed.

    From what I can see to get litebox to work on other pages you simply have to copy the javascript file into the appropriate ../includes/modules/pages/ directory and add the tag "rel="lightbox[gallery]".

    I'm sure that sounds simpler than it really is though!

 

 

Similar Threads

  1. v150 Testimonial Manager Support Thread (for ZC v1.5.x)
    By countrycharm in forum All Other Contributions/Addons
    Replies: 261
    Last Post: 13 Jan 2025, 11:14 PM
  2. Link Manager 3.0 Support Thread
    By clydejones in forum Addon Sideboxes
    Replies: 1987
    Last Post: 6 Aug 2021, 02:56 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