[Skip to main content](#vessel-content)

#   Line breaks in text areas

##

- **[a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")**
- [![a2zcs's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar33209.jpg)](/forum/user/33209-a2zcs "View a2zcs's Profile") Topic Author
- [ Offline](/forum/user/33209-a2zcs)

Less More

- Posts: 298
- Thank you received: 7
-
-

10 years 5 months ago [\#240259](#240259) by [a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")  *[Line breaks in text areas](/forum/17-serial-how-to/884540-line-breaks-in-text-areas#240259 "-- url of the page with the problem -- :   dollarsaverprograms.com  -- HikaShop version -- : 2.6.3 -- HikaSerial version -- : 1.10.4 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.4.26 -- Browser(s) name and version -- : Firefox 45.0.2  I have to include terms and conditions on the generated certificates, and need to insert page breaks between the paragraphs to make them more readable. The only way I found I could do this is to insert a huge number of spaces between each paragraph in the text field to force the next paragraph onto a new line. There must be a better way to achieve what I'm trying to do. Any thoughts? typing in two or more  does not have any affect. Using a WYSIWYG field type only shows the html coding on the certificate.  The attached file shows the entry field on the left and the bottom of the certificate and the terms on the right.  Thanks!")* was created by *[a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")*

-- url of the page with the problem -- : [ dollarsaverprograms.com](http://dollarsaverprograms.com)
-- HikaShop version -- : 2.6.3
-- HikaSerial version -- : 1.10.4
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.4.26
-- Browser(s) name and version -- : Firefox 45.0.2

I have to include terms and conditions on the generated certificates, and need to insert page breaks between the paragraphs to make them more readable. The only way I found I could do this is to insert a huge number of spaces between each paragraph in the text field to force the next paragraph onto a new line. There must be a better way to achieve what I'm trying to do. Any thoughts? typing in two or more &lt;enter&gt; does not have any affect. Using a WYSIWYG field type only shows the html coding on the certificate.

The attached file shows the entry field on the left and the bottom of the certificate and the terms on the right.

Thanks!

- [ ![Capture&#95;2016-05-16.jpg](/forum/attachment/31443) ](/forum/attachment/31443 "...2016-05-16.jpg") [ ](/forum/attachment/31443?download=1 "...2016-05-16.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODg0NTQwLWxpbmUtYnJlYWtzLWluLXRleHQtYXJlYXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

10 years 5 months ago [\#240265](#240265) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Line breaks in text areas](/forum/17-serial-how-to/884540-line-breaks-in-text-areas#240265 "-- url of the page with the problem -- :   dollarsaverprograms.com  -- HikaShop version -- : 2.6.3 -- HikaSerial version -- : 1.10.4 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.4.26 -- Browser(s) name and version -- : Firefox 45.0.2  I have to include terms and conditions on the generated certificates, and need to insert page breaks between the paragraphs to make them more readable. The only way I found I could do this is to insert a huge number of spaces between each paragraph in the text field to force the next paragraph onto a new line. There must be a better way to achieve what I'm trying to do. Any thoughts? typing in two or more  does not have any affect. Using a WYSIWYG field type only shows the html coding on the certificate.  The attached file shows the entry field on the left and the bottom of the certificate and the terms on the right.  Thanks!")*

Hi,

In the plugin, please replace Code:

if($width &lt; $w) { imagettftext($image, $size, 0, $dx, $dy, $color, $font, $line); continue; }

By Code:

if($width &lt; $w) { imagettftext($image, $size, 0, $dx, $dy, $color, $font, $line); $dx = $x; $dy += $ly; if($h &gt; 0 &amp;&amp; ($dy - $y &gt; $h)) break; continue; }

Then try to remove all your extra spaces and just use carriage returns.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODg0NTQwLWxpbmUtYnJlYWtzLWluLXRleHQtYXJlYXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")**
- [![a2zcs's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar33209.jpg)](/forum/user/33209-a2zcs "View a2zcs's Profile") Topic Author
- [ Offline](/forum/user/33209-a2zcs)

Less More

- Posts: 298
- Thank you received: 7
-
-

10 years 5 months ago [\#241514](#241514) by [a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")  Replied by *[a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")* on topic *[Line breaks in text areas](/forum/17-serial-how-to/884540-line-breaks-in-text-areas#241514 "-- url of the page with the problem -- :   dollarsaverprograms.com  -- HikaShop version -- : 2.6.3 -- HikaSerial version -- : 1.10.4 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.4.26 -- Browser(s) name and version -- : Firefox 45.0.2  I have to include terms and conditions on the generated certificates, and need to insert page breaks between the paragraphs to make them more readable. The only way I found I could do this is to insert a huge number of spaces between each paragraph in the text field to force the next paragraph onto a new line. There must be a better way to achieve what I'm trying to do. Any thoughts? typing in two or more  does not have any affect. Using a WYSIWYG field type only shows the html coding on the certificate.  The attached file shows the entry field on the left and the bottom of the certificate and the terms on the right.  Thanks!")*

Thank you, but unfortunately it didn't seem to have any effect. Please see attached. Each paragraph should have a blank line in between. The shortest one in overlapped by the one below it.

- [ ![serial&#95;capture.png](/forum/attachment/31736) ](/forum/attachment/31736 "...al&#95;capture.png") [ ](/forum/attachment/31736?download=1 "...al&#95;capture.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODg0NTQwLWxpbmUtYnJlYWtzLWluLXRleHQtYXJlYXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

10 years 5 months ago [\#241519](#241519) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Line breaks in text areas](/forum/17-serial-how-to/884540-line-breaks-in-text-areas#241519 "-- url of the page with the problem -- :   dollarsaverprograms.com  -- HikaShop version -- : 2.6.3 -- HikaSerial version -- : 1.10.4 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.4.26 -- Browser(s) name and version -- : Firefox 45.0.2  I have to include terms and conditions on the generated certificates, and need to insert page breaks between the paragraphs to make them more readable. The only way I found I could do this is to insert a huge number of spaces between each paragraph in the text field to force the next paragraph onto a new line. There must be a better way to achieve what I'm trying to do. Any thoughts? typing in two or more  does not have any affect. Using a WYSIWYG field type only shows the html coding on the certificate.  The attached file shows the entry field on the left and the bottom of the certificate and the terms on the right.  Thanks!")*

Hi,

Can you please confirm that you have specified an height and a width in your "attach serial" configuration ?

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODg0NTQwLWxpbmUtYnJlYWtzLWluLXRleHQtYXJlYXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")**
- [![a2zcs's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar33209.jpg)](/forum/user/33209-a2zcs "View a2zcs's Profile") Topic Author
- [ Offline](/forum/user/33209-a2zcs)

Less More

- Posts: 298
- Thank you received: 7
-
-

10 years 4 months ago [\#243404](#243404) by [a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")  Replied by *[a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")* on topic *[Line breaks in text areas](/forum/17-serial-how-to/884540-line-breaks-in-text-areas#243404 "-- url of the page with the problem -- :   dollarsaverprograms.com  -- HikaShop version -- : 2.6.3 -- HikaSerial version -- : 1.10.4 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.4.26 -- Browser(s) name and version -- : Firefox 45.0.2  I have to include terms and conditions on the generated certificates, and need to insert page breaks between the paragraphs to make them more readable. The only way I found I could do this is to insert a huge number of spaces between each paragraph in the text field to force the next paragraph onto a new line. There must be a better way to achieve what I'm trying to do. Any thoughts? typing in two or more  does not have any affect. Using a WYSIWYG field type only shows the html coding on the certificate.  The attached file shows the entry field on the left and the bottom of the certificate and the terms on the right.  Thanks!")*

Sorry it has taken me so long to get back to you. Took a much needed vacation. Yes the the height and width for this is set in the AttachSerial configuration. Any more thoughts on it?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODg0NTQwLWxpbmUtYnJlYWtzLWluLXRleHQtYXJlYXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

10 years 4 months ago [\#243473](#243473) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Line breaks in text areas](/forum/17-serial-how-to/884540-line-breaks-in-text-areas#243473 "-- url of the page with the problem -- :   dollarsaverprograms.com  -- HikaShop version -- : 2.6.3 -- HikaSerial version -- : 1.10.4 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.4.26 -- Browser(s) name and version -- : Firefox 45.0.2  I have to include terms and conditions on the generated certificates, and need to insert page breaks between the paragraphs to make them more readable. The only way I found I could do this is to insert a huge number of spaces between each paragraph in the text field to force the next paragraph onto a new line. There must be a better way to achieve what I'm trying to do. Any thoughts? typing in two or more  does not have any affect. Using a WYSIWYG field type only shows the html coding on the certificate.  The attached file shows the entry field on the left and the bottom of the certificate and the terms on the right.  Thanks!")*

Hi,

Would it be possible to have a (partial) screenshot of your "attach serial" configuration in order to see what you have set ?
So I could see to reproduce your issue.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODg0NTQwLWxpbmUtYnJlYWtzLWluLXRleHQtYXJlYXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")**
- [![a2zcs's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar33209.jpg)](/forum/user/33209-a2zcs "View a2zcs's Profile") Topic Author
- [ Offline](/forum/user/33209-a2zcs)

Less More

- Posts: 298
- Thank you received: 7
-
-

10 years 4 months ago [\#243502](#243502) by [a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")  Replied by *[a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")* on topic *[Line breaks in text areas](/forum/17-serial-how-to/884540-line-breaks-in-text-areas#243502 "-- url of the page with the problem -- :   dollarsaverprograms.com  -- HikaShop version -- : 2.6.3 -- HikaSerial version -- : 1.10.4 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.4.26 -- Browser(s) name and version -- : Firefox 45.0.2  I have to include terms and conditions on the generated certificates, and need to insert page breaks between the paragraphs to make them more readable. The only way I found I could do this is to insert a huge number of spaces between each paragraph in the text field to force the next paragraph onto a new line. There must be a better way to achieve what I'm trying to do. Any thoughts? typing in two or more  does not have any affect. Using a WYSIWYG field type only shows the html coding on the certificate.  The attached file shows the entry field on the left and the bottom of the certificate and the terms on the right.  Thanks!")*

Here are the screenshots from my configuration.
The field I'm having problems with is the "Certificate Terms"

thanks for the help

- [ ![attach&#95;serial.jpg](/forum/attachment/32192) ](/forum/attachment/32192 "attach&#95;serial.jpg") [ ](/forum/attachment/32192?download=1 "attach&#95;serial.jpg")
- [ ![attach&#95;serial2.jpg](/forum/attachment/32193) ](/forum/attachment/32193 "...ch&#95;serial2.jpg") [ ](/forum/attachment/32193?download=1 "...ch&#95;serial2.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODg0NTQwLWxpbmUtYnJlYWtzLWluLXRleHQtYXJlYXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

10 years 4 months ago [\#243528](#243528) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Line breaks in text areas](/forum/17-serial-how-to/884540-line-breaks-in-text-areas#243528 "-- url of the page with the problem -- :   dollarsaverprograms.com  -- HikaShop version -- : 2.6.3 -- HikaSerial version -- : 1.10.4 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.4.26 -- Browser(s) name and version -- : Firefox 45.0.2  I have to include terms and conditions on the generated certificates, and need to insert page breaks between the paragraphs to make them more readable. The only way I found I could do this is to insert a huge number of spaces between each paragraph in the text field to force the next paragraph onto a new line. There must be a better way to achieve what I'm trying to do. Any thoughts? typing in two or more  does not have any affect. Using a WYSIWYG field type only shows the html coding on the certificate.  The attached file shows the entry field on the left and the bottom of the certificate and the terms on the right.  Thanks!")*

Hi,

Thanks.
Can you please re-download HikaSerial 1.10.4 and confirm that the patch fix your issue ?

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODg0NTQwLWxpbmUtYnJlYWtzLWluLXRleHQtYXJlYXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")**
- [![a2zcs's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar33209.jpg)](/forum/user/33209-a2zcs "View a2zcs's Profile") Topic Author
- [ Offline](/forum/user/33209-a2zcs)

Less More

- Posts: 298
- Thank you received: 7
-
-

10 years 4 months ago [\#243547](#243547) by [a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")  Replied by *[a2zcs](/forum/user/33209-a2zcs "View a2zcs's Profile")* on topic *[Line breaks in text areas](/forum/17-serial-how-to/884540-line-breaks-in-text-areas#243547 "-- url of the page with the problem -- :   dollarsaverprograms.com  -- HikaShop version -- : 2.6.3 -- HikaSerial version -- : 1.10.4 -- Joomla version -- : 3.5.1 -- PHP version -- : 5.4.26 -- Browser(s) name and version -- : Firefox 45.0.2  I have to include terms and conditions on the generated certificates, and need to insert page breaks between the paragraphs to make them more readable. The only way I found I could do this is to insert a huge number of spaces between each paragraph in the text field to force the next paragraph onto a new line. There must be a better way to achieve what I'm trying to do. Any thoughts? typing in two or more  does not have any affect. Using a WYSIWYG field type only shows the html coding on the certificate.  The attached file shows the entry field on the left and the bottom of the certificate and the terms on the right.  Thanks!")*

Thank you!!!
That seems to have done it.
Cheers!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE3LXNlcmlhbC1ob3ctdG8vODg0NTQwLWxpbmUtYnJlYWtzLWluLXRleHQtYXJlYXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.101 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
