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

#   Insert HTML in expiration alert language strings, suggestion needed!

##

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

Less More

- Posts: 224
- Thank you received: 8
-
-

8 years 1 month ago -  8 years 1 month ago [\#299366](#299366) by [oloccina](/forum/user/23273-oloccina "View oloccina's Profile")  *[Insert HTML in expiration alert language strings, suggestion needed!](/forum/58-hikasubscription/896005-insert-html-in-expiration-alert-language-strings-suggestion-needed#299366 "Hello, this does not really concerns Hikaserial Subscription only, but since it came up while customizing the component I am going to post the question here hoping you will give some suggestions.  I want to insert some html in the language strings attached to the subscription expiration emails, but I am not sure how to format it for it to work correctly.  Normal html would be:  Should I change all &quot; signs to &quot;&#95;QQ&#95;&quot; and all = signs to (see below)  ? like this  even with the second solution in sublime text editor the sintax highlighting is wrong (maybe it considers comments the # signs) is there a way to test this without having to set a subscription and send a test expiration email?  Thank you")* was created by *[oloccina](/forum/user/23273-oloccina "View oloccina's Profile")*

Hello,
this does not really concerns Hikaserial Subscription only, but since it came up while customizing the component I am going to post the question here hoping you will give some suggestions.

I want to insert some html in the language strings attached to the subscription expiration emails, but I am not sure how to format it for it to work correctly.

Normal html would be:
Code:

&lt;p style="font-size: 16px;"&gt;Ciao,&lt;br /&gt;la tua iscrizione a &lt;strong&gt;%s&lt;/strong&gt; scadr&amp;agrave; presto,&lt;br /&gt;&lt;strong&gt;&lt;a href="%s"&gt;clicca qui&lt;/a&gt;&lt;/strong&gt; per rinnovarla.&lt;/p&gt; &lt;p&gt;Questa iscrizione ti da accesso a tutte le nostre meditazioni guidate,&lt;br /&gt;alla nostra collezione di musica a 432 Hz, e un sconto del 20% su tutti&lt;br /&gt;i nostri corsi online.&lt;/p&gt; &lt;p&gt;&lt;em&gt;Per rinnovare l'iscrizione, assicurati aver effettuato l'accesso al tuo account &lt;br /&gt;altrimenti riceverai un messaggio di errore.&lt;br /&gt;In ogni caso, puoi sempre rinnovarla anche acquistandola di nuovo &lt;br /&gt;direttamente dallo shop &lt;a href="https://accademiainfinita.it/shop/prodotto/meditazioni-musica-iscrizione-annuale"&gt;cliccando qui&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt; &lt;p&gt;grazie,&lt;br /&gt;Accademia Infinita&lt;/p&gt;

Should I change
all " signs to "_QQ_"
and all = signs to (see below) Code:

&amp;#x003D;

?
like this
Code:

SUBSCRIPTION_EXPIRATION_NOTICE_CONTENT="&lt;p style&amp;#x003D;"_QQ_"font-size: 16px;"_QQ_"&gt;Ciao,&lt;br /&gt;la tua iscrizione a &lt;strong&gt;%s&lt;/strong&gt; scadr&amp;agrave; presto,&lt;br /&gt;&lt;strong&gt;&lt;a href&amp;#x003D;"_QQ_"%s"_QQ_"&gt;clicca qui&lt;/a&gt;&lt;/strong&gt; per rinnovarla.&lt;/p&gt; &lt;p&gt;Questa iscrizione ti da accesso a tutte le nostre meditazioni guidate,&lt;br /&gt;alla nostra collezione di musica a 432 Hz, e un sconto del 20% su tutti&lt;br /&gt;i nostri corsi online.&lt;/p&gt; &lt;p&gt;&lt;em&gt;Per rinnovare l'iscrizione, assicurati aver effettuato l'accesso al tuo account &lt;br /&gt;altrimenti riceverai un messaggio di errore.&lt;br /&gt;In ogni caso, puoi sempre rinnovarla anche acquistandola di nuovo &lt;br /&gt;direttamente dallo shop &lt;a href&amp;#x003D;"_QQ_"https://accademiainfinita.it/shop/prodotto/meditazioni-musica-iscrizione-annuale"_QQ_"&gt;cliccando qui&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt; &lt;p&gt;grazie,&lt;br /&gt;Accademia Infinita&lt;/p&gt;"

even with the second solution in sublime text editor the sintax highlighting is wrong (maybe it considers comments the # signs)
is there a way to test this without having to set a subscription and send a test expiration email?

Thank you

Last edit: 8 years 1 month ago by [oloccina](/forum/user/23273-oloccina "View oloccina's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vODk2MDA1LWluc2VydC1odG1sLWluLWV4cGlyYXRpb24tYWxlcnQtbGFuZ3VhZ2Utc3RyaW5ncy1zdWdnZXN0aW9uLW5lZWRlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 224
- Thank you received: 8
-
-

8 years 1 month ago -  8 years 1 month ago [\#299368](#299368) by [oloccina](/forum/user/23273-oloccina "View oloccina's Profile")  Replied by *[oloccina](/forum/user/23273-oloccina "View oloccina's Profile")* on topic *[Insert HTML in expiration alert language strings, suggestion needed!](/forum/58-hikasubscription/896005-insert-html-in-expiration-alert-language-strings-suggestion-needed#299368 "Hello, this does not really concerns Hikaserial Subscription only, but since it came up while customizing the component I am going to post the question here hoping you will give some suggestions.  I want to insert some html in the language strings attached to the subscription expiration emails, but I am not sure how to format it for it to work correctly.  Normal html would be:  Should I change all &quot; signs to &quot;&#95;QQ&#95;&quot; and all = signs to (see below)  ? like this  even with the second solution in sublime text editor the sintax highlighting is wrong (maybe it considers comments the # signs) is there a way to test this without having to set a subscription and send a test expiration email?  Thank you")*

I asked this also on the Joomla.org forum, a user suggests to just change all " to ', leaving the = signs as they are.
The result would be something like
Code:

SUBSCRIPTION_EXPIRATION_NOTICE_CONTENT="&lt;p style='font-size: 16px;'&gt;Ciao,&lt;br /&gt;la tua iscrizione a &lt;strong&gt;%s&lt;/strong&gt; scadr&amp;agrave; presto,&lt;br /&gt;&lt;strong&gt;&lt;a href='%s'&gt;clicca qui&lt;/a&gt;&lt;/strong&gt; per rinnovarla.&lt;/p&gt; &lt;p&gt;Questa iscrizione ti da accesso a tutte le nostre meditazioni guidate,&lt;br /&gt;alla nostra collezione di musica a 432 Hz, e un sconto del 20% su tutti&lt;br /&gt;i nostri corsi online.&lt;/p&gt; &lt;p&gt;&lt;em&gt;Per rinnovare questa iscrizione, assicurati di aver effettuato l accesso al tuo account &lt;br /&gt;altrimenti riceverai un messaggio di errore.&lt;br /&gt;In ogni caso, puoi sempre rinnovarla anche acquistandola di nuovo &lt;br /&gt;direttamente dallo shop &lt;a href='https://accademiainfinita.it/shop/prodotto/meditazioni-musica-iscrizione-annuale'&gt;cliccando qui&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt; &lt;p&gt;grazie,&lt;br /&gt;Accademia Infinita&lt;/p&gt;"

Last edit: 8 years 1 month ago by [oloccina](/forum/user/23273-oloccina "View oloccina's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vODk2MDA1LWluc2VydC1odG1sLWluLWV4cGlyYXRpb24tYWxlcnQtbGFuZ3VhZ2Utc3RyaW5ncy1zdWdnZXN0aW9uLW5lZWRlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 1 month ago [\#299381](#299381) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Insert HTML in expiration alert language strings, suggestion needed!](/forum/58-hikasubscription/896005-insert-html-in-expiration-alert-language-strings-suggestion-needed#299381 "Hello, this does not really concerns Hikaserial Subscription only, but since it came up while customizing the component I am going to post the question here hoping you will give some suggestions.  I want to insert some html in the language strings attached to the subscription expiration emails, but I am not sure how to format it for it to work correctly.  Normal html would be:  Should I change all &quot; signs to &quot;&#95;QQ&#95;&quot; and all = signs to (see below)  ? like this  even with the second solution in sublime text editor the sintax highlighting is wrong (maybe it considers comments the # signs) is there a way to test this without having to set a subscription and send a test expiration email?  Thank you")*

Hello,

Yes, the usage of single quotes are easier than trying to push double quotes.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vODk2MDA1LWluc2VydC1odG1sLWluLWV4cGlyYXRpb24tYWxlcnQtbGFuZ3VhZ2Utc3RyaW5ncy1zdWdnZXN0aW9uLW5lZWRlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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.068 seconds

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