Hello!
1.
I have a static (that is, no php in it) file transform.xsl which I put
in a folder "xslt" under webroot that has a link
<link rel="stylesheet" type="text/css" href="../../css/style.css"/>
to a style.css file. And in my view I am linking transfor.xsl file:
<?php
e('<?xml-stylesheet type="text/xsl" href="'.Router::url('/',
true).'xslt/articles.xsl" ?>');
?>
The problem is, the number of arguments passed to the controller
(separated by slashes) seems to affect the base url between
transform.xsl and style.css. That is, if an url like
www.exaple.com/controller/view/param1
works just as expected (outputs xml file that is transformed by the
help of transform.xls and styled by style.css) then, for example,h this
www.exaple.com/controller/view/param1/param2
outputs a page without styling. Any ideas how to get things working
without using absolute url in transform.xsl, as moving the application
would be more difficult? Well, this is what I am forced to do right now:)
2.
I have a page with possible addresses like these
www.exaple.com/controller/view/someid
www.exaple.com/controller/view/someid/format:xml
www.exaple.com/controller/view/someid/format:html
The output of www.exaple.com/controller/view/someid is the same as if
there were /format:xml added to it. Is there any way to tell the cache
engine to put/retrive both /someid and /someid/format:xml to/from the
same "place" (file, cache variable etc)?
3.
I have
Configure::write('Asset.filter.css', 'css.php');
Configure::write('Asset.compress', true);
and using /ccss/*.css in paths.
Yet, no gzip compression seems to be applied to the (cached) page itself
or the minimized css files. What am I missing and/or how to make it happen?
Any comments appreciated.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---