Hi,

I have created a backed using the backend generator of symfony and got
2 problems. One of the generated modules is called "availability",
it's generator.yml file is like:

...
list:
        actions:
          generateSeason: { label: Generate Season }
...

and its related action in the controler file of the module

public function executeListGenerateSeason(sfWebRequest $request)
{
      ...
      ...
}

After this a have created the related template file(located in apps/
backend/module/availability/templates) for this action called
"listGenerateSeasonSuccess.php" with some html code in it. The problem
that i have is  when i click the action "Generate Season" in the list
view  the  "listGenerateSeasonSuccess" does not load the css file that
the layout.php  has by default, these are:

<?php use_stylesheet('admin.css') ?>
<?php include_javascripts() ?>
<?php include_stylesheets() ?>)

in the browser i saw that the page view of
"listGenerateSeasonSuccess.php" includes oly the next stylesheets:

<link rel="stylesheet" type="text/css" media="screen" href="/css/
main.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/css/
admin.css" />

so have included the css of the layout "hardcoed" in the
"listGenerateSeasonSuccess.php" file like:

<?php use_stylesheet('admin.css') ?>
<?php include_javascripts() ?>
<?php include_stylesheets() ?>
<?php use_stylesheet('/sfDoctrinePlugin/css/global.css') ?>
<?php use_stylesheet('/sfDoctrinePlugin/css/default.css') ?>
...
...
 and it loads fine...why this is happening? as i know the decorator
patern must work..what am i missing here?

The second thing that i am having trouble with... is that i need to
customise the look and feel of te filter section   plus some other
things in the new, edit ect views and in its related controllers-
actions, but the backend generator does not create any of these
files...at least  in the template directoy nor in the actions one. How
can i access this files to customice them?

any advice will be apreciated.

Regards

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to