Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2005
    Location
    NY
    Posts
    149
    Plugin Contributions
    0

    Default Add text to the popup_image window

    I am trying to add some text to the larger image popup window.
    For example, if I wanted to display the product name under the image:

    I tried using the syntax from the tpl_product_info_display.php file by adding
    <!--bof Product Name-->
    <p id="productName" class="style2"><?php echo $products_name; ?></p>
    <!--eof Product Name-->
    to the /popup_image/tpl_main_page.php file, but I can't get the value to display.

    Is there a function that I can use to display this value in the popup window?

    Thanks in advance for the help.

  2. #2
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Add text to the popup_image window

    I subscribed to this thread a long time ago, hoping to see an answer. But nothing yet.

    Does anyone know how to do this?

    TIA

    Rob

  3. #3
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Add text to the popup_image window

    Copy the includes/templates/template_default/popup_image directory to your custom template. Modify the tpl_main_page.php inside to your heart's content .
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  4. #4
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Add text to the popup_image window

    Thanks again Kim, I'm starting to fiddle with that now.

    One question: what's the difference between the popup_image_additional folder and the popup_image folder? Both contain the same file -- tpl_main_page.php -- but the contents of that file are a little different. When I temporarily dropped the tpl_main_page.php file from the _additional folder into the other folder, all that happened was that the large pop-up image window contained only a thumbnail.

    Rob

 

 

Similar Threads

  1. v154 Can I make my image links open in the same window rather than a new window?
    By cpmacg in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 15 Apr 2015, 08:59 PM
  2. v150 How Do I Add A Text Box At The Bottom Of The Index Page?
    By Scully in forum General Questions
    Replies: 27
    Last Post: 16 Nov 2013, 02:43 AM
  3. Swap over the 'add to cart' text/box and the 'add to cart' image
    By budfox in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 4 Apr 2007, 11:24 PM
  4. How do I add text to the BOTTOM of the main page only?
    By wtashby in forum General Questions
    Replies: 1
    Last Post: 25 Feb 2007, 01:09 AM
  5. add another (different) image to the product to popup in a window
    By Pauls in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 2 Jun 2006, 11:15 PM

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