Multiple fonts in one cell dataset

Asked by Marius Huianu

Hi Guys,

Is possible to add multiple fonts in one cell.
For ex. I have two words in one cell, one I want to be bold.

Thanks in advance,
Marius

Question information

Language:
English Edit question
Status:
Answered
For:
Xibo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Dan Garner (dangarner) said :
#1

Sorry I don't think that will be possible - the column value is the lowest
unit we can apply a style to.

Revision history for this message
Marius Huianu (marius-huianu) said :
#2

I find one workaround.

Insert the HTML cod for styling one of the word from that cell in MySQL data base.

Is any filter on dataset for HTML code? If you want to add some HTML code in dataset after refresh is deleted.

Best Regards,
Marius

Revision history for this message
Dan Garner (dangarner) said :
#3

Sorry but HTML code is not allowed in the data set data columns (for
security reasons it is filtered out). We might look at having a "HTML"
datatype for columns in the future, which would allow input through a
CKEditor instance.

Dan Garner

The Xibo Project - http://xibo.org.uk
Proudly sponsored by Spring Signage Ltd - http://springsignage.com

On 1 July 2014 13:21, Marius Huianu <email address hidden>
wrote:

> Question #251021 on Xibo changed:
> https://answers.launchpad.net/xibo/+question/251021
>
> Marius Huianu posted a new comment:
> I find one workaround.
>
> Insert the HTML cod for styling one of the word from that cell in MySQL
> data base.
>
> Is any filter on dataset for HTML code? If you want to add some HTML
> code in dataset after refresh is deleted.
>
> Best Regards,
> Marius
>
> --
> You received this question notification because you are a member of Xibo
> Developers, which is an answer contact for Xibo.
>

Revision history for this message
Dan Garner (dangarner) said :
#4

If you really want to allow if you can change the
lib/pages/dataset.class.php and find all lines that read:

$value = Kit::GetParam('value', _POST, _STRING);

changing them to:

$value = Kit::GetParam('value', _POST, _HTMLSTRING);

Can you help with this problem?

Provide an answer of your own, or ask Marius Huianu for more information if necessary.

To post a message you must log in.