• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

template syntax

  1. L

    <select> inside a <xen:option>

    I'm trying to create a template modification that adds a new option to a radio unit in an admin template. This existing radio unit looks like so: <xen:radiounit label="..." name="..."> <xen:option value="...">...</xen:option> ... </xen:radiounit> I want my new option to contain a...
  2. CyberAP

    PHP min() function alternative in templates?

    Is there any way to have something similar to min() function in PHP but in templates?
  3. CyberAP

    Self-required css templates or an easy alternative to include css with 0 TM or direct edits

    It is a minor feature request and it's based on some of the add-ons I already made that have no actual .php files and only contain a single XML. For example I want to create an add-on that changes the look of editor or any other element. To do that I'll have to: Create a template; Create a new...
  4. Freelancer

    Trouble with video file attachments

    I extended the file attachment template to recognize if audio or video files are shown. It adds an html5 player and works great with MP3 audio attachments. Files can be played as an attachment. However I am not able to get .mp4 or any other video files to be shown. The player is displayed but...
  5. CyberAP

    Possible to get node title by id?

    I am wondering is it possible to retrieve node title by referencing its id inside templates?