Results 1 to 10 of 24

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: eBook 'Look Inside' feature?

    Is it possible do you (or anyone else) know to have the window resize automatically to the size of the image? That would make this little mod 100% perfect
    Have not needed so have not done. You might find the lightbox mod a better solution to deal with images.

    Skip
    • 446F63746F722057686F •

  2. #2
    Join Date
    Jul 2009
    Location
    Prague, Czech Republic
    Posts
    530
    Plugin Contributions
    0

    Default Re: eBook 'Look Inside' feature?

    Quote Originally Posted by skipwater View Post
    Have not needed so have not done. You might find the lightbox mod a better solution to deal with images.

    Skip
    Okay, thanks for the tip, for future installations I'll bear it in mind, but for this present site I am doing yours is just fine, so thanks again

  3. #3
    Join Date
    May 2011
    Posts
    7
    Plugin Contributions
    0

    Default Re: eBook 'Look Inside' feature?

    hi Skipwater,

    love your fix for this. exactly what I'm looking for. BUT I'm a newbie! I've created a folder (pdf_files) within my Includes folder, uploaded by abbreviated pdf file to it, created the pop-up.php within my common folder. my template does not have the html_header.php folder but does have tpl_header.php wherein I placed your line of code "<?php include("popup.php"); ?> " just before the </div> command near the end of the file. then I used your code as the link in my product description, substituting the path to it as follows:

    <a href="/public_html/pdf_files/AncientEpicuresPreview.pdf" class="popup">CLICK HERE for a look inside</a>

    yet when I click on the link, I get a 404 error file not found.

    can you tell what I'm doing wrong? is my placement of the include code in the wrong place within the tpl_header file? sure appreciate any assist you can give!
    Last edited by dontolmanusa; 17 May 2011 at 10:26 PM. Reason: more info

  4. #4
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: eBook 'Look Inside' feature?

    Quote Originally Posted by dontolmanusa View Post
    hi Skipwater,

    I've created a folder (pdf_files) within my Includes folder, uploaded by abbreviated pdf file to it

    <a href="/public_html/pdf_files/AncientEpicuresPreview.pdf" class="popup">CLICK HERE for a look inside</a>

    yet when I click on the link, I get a 404 error file not found.

    You are requesting the file from /public_html/pdf_files/AncientEpicuresPreview.pdf

    But you say your file is here? /public_html/includes/pdf_files/AncientEpicuresPreview.pdf


    <a href="/public_html/includes/pdf_files/AncientEpicuresPreview.pdf" class="popup">CLICK HERE for a look inside</a>

    Skip
    • 446F63746F722057686F •

  5. #5
    Join Date
    May 2011
    Posts
    7
    Plugin Contributions
    0

    Default Re: eBook 'Look Inside' feature?

    oops! I lied. the pdf_files folder is not within the "includes" folder. it is a folder within public_html

  6. #6
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: eBook 'Look Inside' feature?

    Quote Originally Posted by dontolmanusa View Post
    oops! I lied. the pdf_files folder is not within the "includes" folder. it is a folder within public_html
    You have saved popup.php into this folder
    /includes/templates/template_default/common/popup.php

    And you added this code
    Code:
    <?php include("popup.php"); ?>
    into /includes/templates/template_default/common/html_header.php

    Code:
    <?php include("popup.php"); ?> 
    </head>
    <?php // NOTE: Blank line following is intended: ?>
    Skip
    • 446F63746F722057686F •

  7. #7
    Join Date
    May 2011
    Posts
    7
    Plugin Contributions
    0

    Default Re: eBook 'Look Inside' feature?

    template has no html_header.php folder but does have tpl_header.php wherein I placed your line of code "<?php include("popup.php"); ?> " just before the </div> command near the end of the file. is this a good place for it?

    are you saying that b/c I placed popup.php in the includes folder, the pdf folder needs to be in the includes folder, as well?

    sure appreciate your advice! and I sure don't understand why they have not yet included this "look inside" as part of the whole package yet. everyone wants to "look inside"

 

 

Similar Threads

  1. v150 ebook download?
    By cyberbaffled in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 4 Apr 2012, 06:59 AM
  2. Ebook Downloads
    By SusanB in forum General Questions
    Replies: 1
    Last Post: 8 Feb 2011, 06:47 AM
  3. How do I change the search feature to look through custom product-type fields?
    By ssmith.cp in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 20 May 2010, 07:28 PM
  4. Changing look of Specials and Feature Products
    By kevinmc3 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 19 Oct 2007, 05:26 AM

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