3 users online. Create an account or sign in to join them.Users

Search

Issue logged, I hope I have explained it well. Thank you, John.

github issue #10

This is the correct redirect rule that adds a parameter to the site root:

from: /^$/ to: parameter (delimiting for the from field and no delimiting for the to field)

Thank you for your help, John!

I am still curious about something: does the router allow dynamic parameters?

When you say dynamic parameters, what exactly do you mean?

A parameter output from a data source (ds-parameter), or any other parameter available to a page.

Not as such no.

Anything you pass into the URL, which can be from a DS can be routed to a fixed string, or copy of that original parameter using the standard regex $n syntax.

It's just standard regex or rails routing.

How we could do that, I don't really know to be honest, would it be worth putting in? I don't know. opens a discussion about it

Since the URL router modifies what page you're going to be using, it has to run way before your DSes are run. It would be impossible to create some sort of parameter loopback that lets you allow use DS output parameters in your routes.

You can still use those output parameters the way you were using them without URL router though, so there's no need for such a feature.

Or am I completely misunderstanding what you're after?

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details