| [sfXSLTViewPlugin] First release [message #34809] |
Mon, 03 September 2007 11:04  |
johnwards Messages: 52 Registered: August 2007 Location: Oxford |
Member |
|
|
Well hello...
Right my first go at a symfony plugin.
http://trac.symfony-project.com/trac/wiki/sfXSLTViewPlugin
This provides XSL templates for symfony.
The parent node on the XML is called "XML"
If you have this plugin installed it will use the XML method it provides to turn Propel models to XML otherwise it uses the toArray method on your propel model. It wraps all string data in CDATA tags, it tests to see if a string is numeric first however.
As part of the plugin another class called sfArray2XML which does exactly what is says on the tin.
Well have a play and please give me feedback.
|
|
|
|
|
|
| Re: [sfXSLTViewPlugin] First release [message #37732 is a reply to message #34850 ] |
Fri, 19 October 2007 10:21   |
SpasmodicMonk Messages: 11 Registered: October 2007 |
Junior Member |
|
|
Hi, I'd really like to use this plugin and have had a good crack at getting it to work.
However, nothing I try seems to work right.
All I want is to write out a page that says "Hello world."
My application looks like :-
/apps
--/frontend
----/modules
------/test
--------/templates
----------indexSuccess.xsl
----/templates
------layout.xsl
When I go to http://mydomain/test, I get a stacktrace error reporting "indexSuccess.xsl does not exist in:" (no actual path name follows).
Would it be possible for you to write a quick-start readme like that provided with the sfSmartyViewPlugin? ( http://www.symfony-project.com/trac/attachment/wiki/sfSmarty ViewPlugin/README.pdf?format=raw)
Thanks,
Ian.
[Updated on: Fri, 19 October 2007 10:22]
|
|
|
|
| Re: [sfXSLTViewPlugin] First release [message #37743 is a reply to message #37734 ] |
Fri, 19 October 2007 11:40   |
SpasmodicMonk Messages: 11 Registered: October 2007 |
Junior Member |
|
|
Hi, it's good to know that you are using this on a major project. That's what we intend to do with it too.
I have included a zipfile of my apps folder. I can post the contents of my entire modules folder if you need it.
Thanks for your help.
Attachment: apps.zip
(Size: 24.78KB, Downloaded 190 time(s))
|
|
|
|
|
|
| Re: [sfXSLTViewPlugin] First release [message #67756 is a reply to message #34809 ] |
Mon, 15 December 2008 12:06   |
johnwards Messages: 52 Registered: August 2007 Location: Oxford |
Member |
|
|
Hi,
We are planning on redeveloping it for symfony 1.2 in the near future.
Not planning on 1.1 support unless it is easy to backport.
If you can start development on it if you like.
Cheers
John
[Updated on: Mon, 15 December 2008 12:07]
|
|
|
|
|
| Re: [sfXSLTViewPlugin] First release [message #68466 is a reply to message #68450 ] |
Tue, 23 December 2008 12:46  |
johnwards Messages: 52 Registered: August 2007 Location: Oxford |
Member |
|
|
I won't have time to roll a release until the new year.
However you can get it out of svn if you want.
|
|
|