Topic Closed
80 Posts

Hi everyone,

is there any chance to get something like a "strip_tags" to the head's title-tag?

I use the configuration's "page-titel" to design the (navbar-)brand appearance a little bit, but the inserted style-attribute will than appear in the browser's tab or title bar. With the "strip_tags" it will be gone there, but the brand is still well modified.

For the time beeing, it works when manually changing "/include/tool/Output.php" line 1354., but only until next update...

What can I do to place this request?




4 years ago#10357

1.5K Posts
16 Plugins
design, web development & visual effects

I'd say the title isn't meant to contain HTML markup.


A) We have a plugin filter hook 'MetaTitle' to modify the title (see here). You can use it in a theme as well.

B) You might want to change template.php and replace
  global $config;
  echo common::Link('',$config['title'],'','class="navbar-brand"');


<?php \gp\tool\Output::Get("Extra", "Brand"); ?>

Create a new Extra Content Area 'Brand' and edit on page.

Edited: 3 years ago#10358

80 Posts

... isn't meant to contain ...

Yes, that is right, but If someone uses it this way :-) the "strip_tags" would be a good and safe way to clean that up and prevent from looking ugly. Never mind... I will try the hook approach.

Thanks /cs


3 years ago#10359

1.5K Posts
16 Plugins
design, web development & visual effects
On the other hand, it won't hurt. Therefore, added.
3 years ago#10360

Topic Closed



elFinder 2.1.50 in Upcoming Release

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In