Path

ez projects / ezcore / forum / general / ezcss/ezscript generate ful...


ezcss/ezscript generate full url

You need to be logged in to post messages in the forums. New users may register here.

Stéphane Couzinier

Member since:
10 January 2008

Posts: 10

Monday 25 August 2008 3:13:22 pm

Salut

We try to use ezcss and ezscript.
It work ;-)... but is there a way to add the domaine in the url of the css/js tag?

Thanks



Up

André R.

Member since:
14 January 2008

Posts: 170

Tuesday 02 September 2008 10:13:22 am

not currently, but shouldn't be to hard to implement ;)

Lead Engineer eZ Publish
@: http://twitter.com/andrerom

Up

André R.

Member since:
14 January 2008

Posts: 170

Thursday 04 September 2008 3:44:38 pm

You can actually already do this, just forgot.
I'm not sure its supported by the download version, but in the svn version you have:



 'ezscriptfiles' => array( 'script_array' => array( 'type' => 'array',


                                   'required' => true,


                                   'default' => array() ),


                           'pack_level' => array( 'type' => 'integer',


                                   'required' => false,


                                   'default' => 2 )),


    'ezcssfiles' => array( 'css_array' => array( 'type' => 'array',


                                   'required' => true,


                                   'default' => array() ),


                           'pack_level' => array( 'type' => 'integer',


                                   'required' => false,


                                   'default' => 2 )),




Witch returns a array of files to include instead of generating the html for you.

Lead Engineer eZ Publish
@: http://twitter.com/andrerom

Up

You need to be logged in to post messages in the forums. New users may register here.