Sharing is helping.

We offer you this space to share your knowledge about Magento and learn from our experienced customers.


    Home Forums Theme Forum HelloSleek Extra Line Breaks in Product Description

    Tagged: 

    This topic contains 14 replies, has 4 voices, and was last updated by  rhaxishakbe 4 years, 1 month ago.

    Viewing 15 posts - 1 through 15 (of 15 total)
    • Author
      Posts
    • #13678

      Anonymous

      I am having a problem with both the Sleek and Jynxx themes with a lot of extra line breaks, especially near tables and images at the bottom of my product descriptions. This does not happen with the Magento default modern theme.

      Here are some examples:
      http://bit.ly/9rojkT
      http://bit.ly/9uFm1g

      http://bit.ly/aaYWfM

      Any help would be appreciated. Thanks in advance.

      #13679

      Anonymous

      Hi Kevin, I cheked the images on your store and i saw only one that appears to be shorter than the “box” where the image has to be. If you chek our demos you will see they are working properly, the “width” of the box is of 302px, may be you will have to modify the size of the image.
      Hope that helps, thank you.

      Regards.-

      #13680

      Anonymous

      Hello,

      i also have a problem with extra line breaks with Magento 1.4.1.1

      the product description html-code:

      the theme changes and displays the description in the front end like this:

      the <br>-tag ist not inserted if i change to default theme

      i hope u can help me to solve that problem.
      many thanks.

      #13681

      Anonymous

      Hi Jürgen, find that file and remove the brake-line (br). If you coudnt, tell us your url and we will see what happens. Thanks.-

      #13682

      Anonymous

      Hallo,

      this is in every product description.
      To form the code this way works fine, although the br-tag still is inserted.

      the frontend-code is:

      but linebrakes are not visible.

      The shop goes online in a few days. I’ll give you the url when its ready.

      #13683

      Anonymous

      All right!, we will check it.

      Regards.-

      #13684

      Anonymous

      Hello,

      the url ist
      http://www.z-oase.de

      user: jm
      pw: guessguess

      this product description demonstrates the problem:

      http://www.z-oase.de/index.php/tippen-und-klicken-eingabegeraete/maus/funk/genius-traveler-900-blau.html

      it should look like this (here the /li and li is at the beginning of each line) :

      http://www.z-oase.de/index.php/tippen-und-klicken-eingabegeraete/maus/funk/genius-traveler-900-rot.html

      another problem is, if the product title is too long, or if there are many subcategories,
      the menu (My Account, My Wishlist,..) is pulled down.
      is it possible to automatically replace the name of some subcategories by /…/ if there is no space to display them all? like this:
      Home/../Living Room/Magento Red Furniture Set

      http://www.z-oase.de/index.php/tippen-und-klicken-eingabegeraete/maus/kabel/sharkoon-fireglider-gaming-laser-maus-3600-dpi.html

      Thank you.

      Regards, Jürgen

      #13685

      Anonymous

      Hi Jurgen, the brakelines (br) are not an issue of the theme, you can easly remove it, in your admin, go to: Catalog, Manage Products, select the product, then go to Descriptions, edit the “content” and remove the br .-

      #13686

      Anonymous

      Hello,

      i installed a Test-Shop with 2 different store views on
      http://www.z-oase.de/MT1/test.html
      login:
      user: jm
      pw: guessguess

      u can see, that the theme not publishes the html code as it is saved in the backend.

      To check the HTML-code by ourself you can log in on http://www.z-oase.de/MT1/admin
      user: hellotest
      pw: hellotest1

      even this code is displayed with br-tags.

      Thank you for taking a took at that.

      #13687

      Anonymous

      Hello,

      problem solved.

      in the file description.phtml
      in /app/design/frontend/default/hellosleek/template/catalog/product/view

      line 34
      <?php echo $this->helper('catalog/output')->productAttribute($this->getProduct(), nl2br($this->getProduct()->getDescription()), 'description') ?>

      replaced with
      <?php echo $this->helper('catalog/output')->productAttribute($this->getProduct(), $this->getProduct()->getDescription(), 'description') ?>

      Regards

      #13688

      Anonymous

      All right!!, thank you Jürgen.

      Regards.-

      #13689

      Anonymous

      i have the same problem, with nl2br the descriptionis showing fine but the bullets list are showgin separated with an line break! if i take out the nl2br all the line breaks are gone! anybody can help? im working on hellopress
      thank you

      Leandro

      #13690

      Anonymous

      this is working for me when deleting the nl2br line breaks are gone! but all of them! so in back end my product description is showing fine but in front end all breaks are gonne! so no separation in between paragraphs… how can i solve this?

      #18244

      Hatice

      I was having the same issue and gtietng a your shopping cart is empty message using Magento 1.4.1.1I have tried all the above and other instructions posted in other sites, but what really worked for me was:System>Index ManagementSelect All and Reindex DataHope it helps!

      #18642

      rhaxishakbe

      48eeSe uvkdsnofytij

    Viewing 15 posts - 1 through 15 (of 15 total)
    Reply To: Extra Line Breaks in Product Description
    Your information:





    <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">