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

Announcement

Symphony's issue tracker has been moved to Github.

Issues are displayed here for reference only and cannot be created or edited.

Browse

Closed#205: Suggestion: URL context for JavaScript/DOM

Sometimes when writing extensions on Entry new/edit pages you need to decipher what section you are looking at, what the “mode” is (edit, new) and what the entry ID is.

For example in Custom Admin I build a URL object. This is very specific to the /publish/ pages, but could be made more generic:

http://github.com/nickdunn/custom_admin/blob/master/assets/custom.js#L11

It would be great if the Symphony JS object returned something similar — a URL or Context object, for example.

I think this is a good idea. Maybe this could be implemented in connection with the addition of Rowan’s last missing plugins (Symphony 2.1?!).

As this is a feature request, it will not be considered for 2.0.x.

Out of scope for 2.0.x. Closing this issue.

This issue is closed.

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