Results 1 to 7 of 7

Thread: DAX Version 2 tags

  1. #1
    Join Date
    Mar 2004
    Location
    Posts
    312

    Default DAX Version 2 tags

    OCD 6.x introduces a new style of tags (obviously XML inspired).

    The old DAX tags (version 1) looked like this:

    <!--[TagName]--><!--[/TagName]-->

    The new DAX tags (version 2) look like this:

    <dax:TagName></dax:TagName>

    However, in order to use the new tags you must include the following declaration in the Declaration section (see Declaration tab in DaxEdit).

    DAX_VERSION 2;

    If this declaration is not present, you will receive a script error message.

    OCD 6.0 beta 1 (build 9715) includes a theme with the new tags. Look for 'Default Theme.dax' in the Templates sub folder.

  2. #2

    Default Re: DAX Version 2 tags

    Hi Paul,

    Do you know what the Ver. 2 tagname is for an Album Composer (as opposed to a Track Composer) ???

    Im trying to get the Album page to display Composer's name in the title block, as well as the Artist's.

  3. #3
    Join Date
    Mar 2004
    Location
    Posts
    312

    Default Re: DAX Version 2 tags

    Hi Chris

    The logical tag would be <dax:composer/>, since album producer is <daxroducer/>, album soloist is <dax:soloist/> etc. However, as far as I can see the album composer tag is missing.

    DaxEdit contains a list of available tags (see right hand column). Album composer is not in the list.

  4. #4

    Default Re: DAX Version 2 tags

    Hi Paul,

    What you've found pretty much matches my experience......perhaps I'm starting to get the hang of this programming thingy ;D

    So I'm at a bit of a dead end. Think I'll wait for Andrei to come up with the answer.

  5. #5
    Join Date
    Mar 2003
    Location
    NW NJ, USA
    Posts
    31

    Default Re: DAX Version 2 tags

    I've just reinstalled OrangeCD after a hiatus... and I find that the templates have all changed...

    However, it appears the changes are for the better...

    here's my question... in the past, I was able to put the system generated links inside of a static link

    (ex sitename.com/index.php?static=folder/SYSTEM GEN FILE NAME HERE)

    is this still something that's possible with the new dax:linkthing system?

  6. #6
    Join Date
    Feb 2009
    Posts
    1,548

    Default Re: DAX Version 2 tags

    Quote Originally Posted by MRC
    is this still something that's possible with the new dax:linkthing system?
    I am not sure. How did this work? Can you give an example?

    Andrei

  7. #7
    Join Date
    Mar 2003
    Location
    NW NJ, USA
    Posts
    31

    Default Re: DAX Version 2 tags

    in my templates it was something like

    <a href="www.sitename.com/<!--[albumlink]-->"><!--[albumtitle]--><!--[/albumlink]--></a>

    unfortunately, I lost all my stuff, which is why I had to reinstall... so I don't have any of the actual templates I built to pull from.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •