jDownloadsownloads.com


Author Topic: HTML in Text Before/After for modules  (Read 4184 times)

0 Members and 1 Guest are viewing this topic.

Offline manuelkuhs

  • Newbie
  • *
  • Posts: 16
HTML in Text Before/After for modules
« on: 20.04.2013 19:58:53 »
Would it be possible to enable HTML input in the Text Before and Text After fields in the JDownloads modules?

Offline Arno

  • Administrator
  • ***
  • Posts: 12.271
    • jDownloads.com
Re: HTML in Text Before/After for modules
« Reply #1 on: 24.04.2013 11:36:20 »
Have you try it?  ::)
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!

Offline manuelkuhs

  • Newbie
  • *
  • Posts: 16
Re: HTML in Text Before/After for modules
« Reply #2 on: 25.04.2013 21:25:58 »
Nuts I thought I had replied to this already... Yes I've inserted simple HTML (link) but it stripped the html during saving...

Offline Arno

  • Administrator
  • ***
  • Posts: 12.271
    • jDownloads.com
Re: HTML in Text Before/After for modules
« Reply #3 on: 27.04.2013 12:05:09 »
HM.. then it is not allowed in this field.
But you can change it:
- open in your modules folder the .xml file with a text editor like the freeware notepad++ (as example: mod_jdownloads_top.xml)
- find lines like this:
Code: [Select]
<field name="text_before" type="textarea" cols="30" rows="2" default="" label="MOD_JDOWNLOADS_TOP_TEXT_BEFORE_TITLE" description="MOD_JDOWNLOADS_TOP_TEXT_BEFORE_DESC"/>
Code: [Select]
<field name="text_after" type="textarea" cols="30" rows="2" default="" label="MOD_JDOWNLOADS_TOP_TEXT_AFTER_TITLE" description="MOD_JDOWNLOADS_TOP_TEXT_AFTER_DESC"/>- add in this lines after: default=""  filter="safehtml"
- save the files
« Last Edit: 27.04.2013 12:35:42 by Arno »
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!

Offline manuelkuhs

  • Newbie
  • *
  • Posts: 16
Re: HTML in Text Before/After for modules
« Reply #4 on: 27.04.2013 17:36:12 »
Thanks so much that works perfectly!!