MiniFrontPage html

Hi,
sorry for my bad english, I've downloaded your module and it's very nice!! But I've a question, I've seen that the module cleaned my tag html, an example, I've a tag <h3> in my introtext but the module cancel this tag... Can I do something for change that?

thank you,
kind regards.
12 years 1 month ago #1 by valentina

Please Log in or Create an account to join the conversation.

Hello vale87,

Sorry for late reply,

Please open and edit this file mod_minifrontpage.php and about line 97, you will find this code:
$allowed_tags = "<i><b><strong><br><a>";

please add your tag (<h3>) in that code, so become like this
$allowed_tags = "<i><b><strong><br><a><h3>";

Good Luck
12 years 1 month ago #2 by ronysyz

Please Log in or Create an account to join the conversation.

uhhh perfect!!
thank you!! Have a nice day!!
12 years 1 month ago #3 by valentina

Please Log in or Create an account to join the conversation.

I want no HTML code in the teaser. It should be displayed only text. I have the problem that HTML code fragments are shown. It will e.g. following text generated:

Zu Schade für eine Katzenwäsche... >/a>/a>/a> ...sind unsere komfortablen und gepflegten Sanitären Einrichtungen. Alles neu! Man sieht es....


How can i remove this Code-Snippet "/a>"? It makes me a lot of problems. I apologize also for my knowledge of english :).
12 years 1 month ago #4 by Hansi Schäffer

Please Log in or Create an account to join the conversation.

Mmm maybe you also need to add the closing anchor tag inside the $allowed_tags variable as pointed in above tips
$allowed_tags = "<i><b><strong><br><a></a><h3>";

Let us know then
12 years 1 month ago #5 by erwinschro

Please Log in or Create an account to join the conversation.

I was able to fix the problem that I have removed . There are still problems. From this source:
Für unsere Gäste stehen wir Kopf – begeisterte Gäste, unser wichtigstes Ziel
Seit 2003 existiert die Initiative ServiceQualität Sachsen. Seitdem sind mehr als 100 Hotels, Tourismus-, Verkehrs- und weitere Unternehmen der Dienstleistungsbranche mit dem Zertifikat "ServiceQualität Sachsen" ausgezeichnet worden, die Sie an nebenstehendem Logo erkennen.
(sorry, but the function "code" does not work)

the following text ist generated:

Für unsere Gäste stehen wir Kopf – begeisterte Gäste, unser wichtigstes Ziel Seit 2003 existiert die Initiative ceQualität Sachsen Seitdem sind mehr als 100 Hotels, Tourismus-, Verkehrs- [ ... ]

I suspect that some HTML is swallowed, but I dont why.
12 years 1 month ago #6 by Hansi Schäffer

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum