Loading...
 
Skip to main content

Use of HTML into title and sub-title of site, not-allowed since 6.x, a way to a solution

Status
Open
Subject
Use of HTML into title and sub-title of site, not-allowed since 6.x, a way to a solution
Version
6.x
Category
  • Feature request
Feature
All / Undefined
Submitted by
Bernard TREMBLAY
Volunteered to solve
Bernard TREMBLAY
Lastmod by
Bernard TREMBLAY
Rating
(0)
Description

I had tested and finally used in 5.3 HTML into the sub-tile of the Header.

This allows to comment or to have longer information and to be free of the content and look.

The 6.x version don't allows this anymore. So the title and subtitle is poor (fivealive style).

I do believe that the best way should be a table (not a frame because of HTML5) and the ability to define the content of to line (<tr>), one for title, the other for sub-title.
(then the sub-title could not be written, if long enough, under the login button... which can overlay it)

Both they could content HTML.

The style of each <tr> has the actual default value but HTML with common tags as <span> or <img> allows to build a good title.

Naturally there is a downside : The title and subtitle must be sometime used as text (to be print for example). Then we obviously discover (invent) that we have two different GUI objects :

  • the title HTML block which should be displayed into the header
  • the title as text


The technical solution is simple :
The syntax of an HTML title and subtitle "must" be :
<span id="site_title" title="the text title" ... {other attributes} > ... HTML content ... </span>
So it is easy to parse the content to get "text_title" and "text_subtitle".

This could be implemented for 6.1 and after into 7.x trunk

Workaround

I can write a project into the .tpl
But is-it an enhanced that van be included in 6.1 or must wait 7.0

Importance
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3685
Created
Wednesday 01 December, 2010 11:28:24 UTC
by Bernard TREMBLAY
LastModif
Wednesday 01 December, 2010 11:51:59 UTC


Show PHP error messages