Search

In some places, like under the Page Type for Pages, there are links (admin, hidden etc.). What are the purpose of these? Clicking on them doesn't seem to bring any action.

that area is optional. Like how s1.7 is, there are "page types" you can choose from. before, you had to declare at least a "default" page type. it basically gives your page node in your xml another attribute that you can use for xsl conditionals.

say i have a page type of sub, i can then do:

xml:

<page type="sub">
    <title>This is a title</title>
</page>

xsl:

<xsl:if test="page/@type = 'sub'"> <!-- sorry, not sure what the attribute name really is -->
    <h2><xsl:value-of select="page/title" /></h2>
</xsl:if>

it's still the same principles as 1.7 in this respect, i believe.

Clicking on those links should fill the field with the appropriate page type. What browser are you using?

To overcome this little bug you may also type the available page types in the text field separated by a comma.

wtdtan, thanks for the explanation.

Lewis, that was what I tought. Opera 9.25 and Safari, both on Mac OS X.

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