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

Search

Hi peeps,

I'm in need of an alteration as an experiment to the default layout of the page.xsl file when you create a new page in the Blueprints > pages admin area.

Where's the best place to find where this file is created?

symphony/template/page.xsl

For now you'll have to change the 'core' templates as Lewis mentioned but If I recall correctly this is going to be improved in 2.3. There will be a location (/templates?) under workspace where you can override the default templates.

Update here it is

Yep, thanks just been there now.

Is there also a way of injecting lets say, a textarea at the bottom of a blueprints add/edit of a page?

i.e I'm thinking of using a simple textarea to add static content to a given page.

Brendo mentioned a delegate to append fields to the array, but to be honest I'm a little light on backend knowledge of the API right now.

@moonoo2 it has been asked on the forums a couple of times in the context of the (copious) 'static pages' discussion. At the moment I don't think there is an extension allowing you to 'extend' Symphony Pages with more fields.

Hey Davidlund, Template overriding is gonna be a sweet addition!

Brendo did mention in a previous thread that something like: AppendPageContent delegate in the API may be of use to inject a simple textarea field into the blueprints > pages add/edit form, but I guess it's not for everyone. thanks for template info though. :)

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