Results 1 to 10 of 10
  1. #1
    Join Date
    Dec 2006
    Posts
    79
    Plugin Contributions
    0

    Default Text layout issues

    Hi all,

    I am hoping someone might be able to help out here. On my index page where the monthly specials are listed (see picture below). This is perfect and exactly how i want it.



    Problem is that on every other page such as Products All, Specials, and Products New it appears like the following with the description text all in one line




    Can anyone point me as to where I can modify this??

    Many thanks!
    Neil

  2. #2
    Join Date
    Dec 2006
    Posts
    79
    Plugin Contributions
    0

    Default Re: Text layout issues

    Anyone??

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Text layout issues

    You have a Template Monster template, so modifying this may be more difficult than usual.

    Ordinarily, I would suggest the method given in the Matching product_info_display and product_listing thread. This may or may not work, depending on exactly how TM has built this template. They are known for mangling standard functions and methods.

  4. #4
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Text layout issues

    Code them as a list in your description.
    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.

  5. #5
    Join Date
    Dec 2006
    Posts
    79
    Plugin Contributions
    0

    Default Re: Text layout issues

    Hi Kim,

    I tried doing as you suggested in the product description...is that what you meant?

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Text layout issues

    You have the text coded with <br /> tags, so it shows correctly in the product info page (single product's details) and in the custom-made TM version of the specials page.
    The product listing page is still the default Zen Cart arrangement, which strips HTML coding out of the text. That is what I was referring to above. You need to do that fix to get the listing page to show the same as the info page. Until you do that, making the code a <ul> list will not help.

  7. #7
    Join Date
    Dec 2006
    Posts
    79
    Plugin Contributions
    0

    Default Re: Text layout issues

    Hi glenn...thanks again for your help.

    I just want to make sure we are on the same page here.....my problem is that the way the listing shows on all the pages including products_all, products_new and specials is not how I want it. the description runs like this

    - Elegant design, smooth, soft and shiny fabric gives the bikini a distinguishing look - Detachable strap on the top - Made in Brazil - Comes with Ziplock Bag

    How I want all of the descriptions in the above mentioned pages is how the specials are displyed on the MAIN INDEX page where it can show "Monthly Specials for December" and only on this page it shows like this

    - Gorgeous floral print, beautiful hand-painted fabric
    - Bright and ######## summer look bikini
    - Made in Brazil
    - Comes with Ziplock Bag

    So I am guessing that it must pull the formating for the specials from two different sources.....one for the actual SPECIALS page and another for when the specials are displayed on the INDEX page.

    Does this help?

    Cheers,
    Neil

  8. #8
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Text layout issues

    For whatever reason, the text layout problem is within the Theme used or the coding used when you created the Product Description.

    index.php?main_page=index [correct]
    <br>- Extremely sofisticated and luxurious bikini, beautiful stylish design<br />- Made in Brazil<br />- Comes with Ziplock Bag<br>

    index.php?main_page=products_new [incorrect]
    <br>- Extremely sofisticated and luxurious bikini, beautiful stylish design - Made in Brazil - Comes with Ziplock Bag<br>


    Also, is it common for Aussies to use an "f" instead of "ph"?
    sofisticated - or is it - sophisticated

  9. #9
    Join Date
    Dec 2006
    Posts
    79
    Plugin Contributions
    0

    Default Re: Text layout issues

    Mate! I fixed it! Couldnt have done it without your help though....you pointed me in the right direction...basically I found in tpl_modules_products_all_listing.php

    $disp_text = zen_clean_html($disp_text);

    And removed it....now its exactly as I want:)

    Will do it for the other pages too:)

    Thanks again!

  10. #10
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Text layout issues

    Glad I could help.

    Were you going to answer my question regarding an "f" instead of "ph"?

 

 

Similar Threads

  1. Layout issues
    By kamullis in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 28 Feb 2011, 05:05 PM
  2. layout issues
    By lucianman in forum General Questions
    Replies: 2
    Last Post: 18 Jun 2010, 11:12 AM
  3. Major issues with Column Layout / Grid Layout for Products Listing
    By kinget in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 27 Jul 2007, 10:11 PM
  4. Layout Issues
    By duklaa in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Nov 2006, 11:07 AM
  5. Layout issues...
    By n5k in forum Basic Configuration
    Replies: 14
    Last Post: 15 May 2006, 11:56 AM

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