Search

I would like to set default value for URL param. Is it possible? I mean, when I create page, I can add URL parameters to text field, but if none is provided in the URL, I would like to use default value then.

Hi miika. I believe you can do {$param:defaultvalue}.

David, at Page properties?

Edit: Seems it's possible on data source XPath...

Or you could call a globalparam.xsl template that you import to say your master.xsl template in which you mimic the vars you want with the default value. Symphony in my experience will over ride the defaults you set if they exist when the page is created.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details