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

Dizkus

Bottom
Adding an custom html-tag
  • Posted: 03.07.2004, 15:43
     
    Lilltiger
    rank:
    Freshman Freshman
    registered:
     July 2004
    Status:
    offline
    last visit:
    25.07.04
    Posts:
    24
    Is it possible to adding/modifing the parsing of an html/wiki tag?
    I want to make an <image></image> tag that parses the URL within these tags to an template of HTML-tags. And the same with the Wiki eqvialent to image drawing (so it works eaven if the Wiki module is runing).
    ex:

    Code

    <image title="pnDev" url="http://noc.postnuke.com">
      http://forums.postnuke.com/images/dev_button.jpg
    </image>

    Becomes:

    Code

    <table>
      <tr>
        <td style="pn-img-title"><strong>Image Header<strong></td>
        <td>
          <a href="http://noc.postnuke.com">
            <img url="http://forums.postnuke.com/images/dev_button.jpg">
          </a>
        </td>
      </tr>
    </table>


    BTW i guess this might be a bit tricky but just point me in the right direktion and ill solve it as im an quite experienced programer.

    Regards
    Lilltiger

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula