Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
<!--[pnml XX html=true]-->
  • Posted: 04.05.2008, 01:39
     
    mumuri
    rank:
    Helper Helper
    registered:
     May 2004
    Status:
    offline
    last visit:
    19.11.08
    Posts:
    192
    hello

    what is the good way to introduce HTML in a constant ?

    i ve got a contant like this

    Code

    define('_PRESENTATIONMANDATORY','Sur ce forum, la présentation est <u>obligatoire</u>, une présentation non faites invalidera la création de votre compte.');


    and

    Code

    <!--[pnml name="_PRESENTATIONMANDATORY" html=true]-->


    the u tags are always displayed

    thanks



    edited by: mumuri, May 03, 2008 - 12:40 PM

    --
    4 pages of french & english Zik.1 tips
  • Posted: 04.05.2008, 02:01
     
    espaan
    rank:
    Helper Helper
    registered:
     August 2003
    Status:
    offline
    last visit:
    22.11.08
    Posts:
    465
    I think it is HTML=1 instead of HTML=true. Is u an allowed HTML markup by default?

    Edit: pnml plugin shows a HTML= param that is converted into boolean, so true should also work IMO.



    edited by: espaan, May 03, 2008 - 10:07 PM

    --
    http://www.erikspaan.nl
    http://www.avwijchen.nl

    Involved in: BlankTheme, StoriesExt, Menu templates, SmugView and zikula.nl
  • Posted: 04.05.2008, 03:25
     
    mumuri
    rank:
    Helper Helper
    registered:
     May 2004
    Status:
    offline
    last visit:
    19.11.08
    Posts:
    192
    ok thanks i forget to allow it in the HTML tags, HTML=true works

    thanks

    --
    4 pages of french & english Zik.1 tips

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula