[symfony-users] Jobeet tutorial Don't display style in Job App

2009-06-17 Thread seifolah Ghaderi
Hi Anyone. I'm new in symfony .I 'm reading jobeet tutorial. But now It don't display css and symfony tools menu on job app,Although it work in home page. What's problem? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

[symfony-users] Re: Doubt with forms in Symfony 1.2

2009-06-17 Thread Sid Bachtiar
I tend to create my own forms for frontend and use the admin generator one for backend/admin. Obviously more work to create your own forms, but you get more control. On Thu, Jun 18, 2009 at 4:21 PM, lmdes wrote: > > hi! I`m working with forms in symfony 1.2, and i want to know in which > situati

[symfony-users] Re: length integer in doctrine - why so many differences between doctrine and mysql ?

2009-06-17 Thread Orkan
brilliant! On Jun 16, 8:56 am, Jonathan Wage wrote: > Link to documentation: > > http://www.doctrine-project.org/documentation/manual/1_0/en/defining-... > > And then you can take a look at this code that converts a Doctrine portable > definition to a native dbms definition for MySQL. > > http:/

[symfony-users] Symfony plus Dojo

2009-06-17 Thread Alan Candido
Hi Guys, Who know an example (simple) of an application using symfony and Dojo? I would also like an example of customization of custom form authentication. Grateful for the attention PS: Sorry my bad English -- Good luck and peace of the Lord [:>} Alan Cândido ><> --~--~-~--~~

[symfony-users] Re: local layout inside main layout

2009-06-17 Thread dziobacz
ok - I know :D I have found somewhere that I must use global - see below !! Create in \sf_sandbox\apps\frontend\templates files: _header.php and _footer.php with header layout content and footer layout content. Create also file: layout_forum.php. So this folder should have files: _header.php _foo

[symfony-users] Doubt with forms in Symfony 1.2

2009-06-17 Thread lmdes
hi! I`m working with forms in symfony 1.2, and i want to know in which situations i have to create them manually or when i have to extend the forms generated automatically by using symfony propel:build-forms. For example, if i have a model/schema with 40 tables, and i use diferents kinds of forms

[symfony-users] Re: local layout inside main layout

2009-06-17 Thread dziobacz
Ok - so first I had to change MAIN layout on: Then I created files: _header.php and _footer.php in \sf_sandbox\apps \frontend\templates And I have an error: The template "_header.php" does not exist or is unreadable in "". The template "_footer.php" does not exist or is unreadable in "". Why

[symfony-users] Re: Multiple Exentds myUser requests.

2009-06-17 Thread Marijn
On Jun 18, 1:33 am, "a...@speedypin.com" wrote: > Hi, > > I want to use some lovely symfony plugins for my site. But the ones I > want to use require you to extend you myUser class to the plugins user > class equiv. > > For example, sfUserUser, and sympal and xsPasswordManagerPlugin among > other

[symfony-users] Multiple Exentds myUser requests.

2009-06-17 Thread a...@speedypin.com
Hi, I want to use some lovely symfony plugins for my site. But the ones I want to use require you to extend you myUser class to the plugins user class equiv. For example, sfUserUser, and sympal and xsPasswordManagerPlugin among others want you to do this. Does that mean if I can't extend my use

[symfony-users] Re: local layout inside main layout

2009-06-17 Thread Sid Bachtiar
That's not a good solution because: 1) It's not symfony convention for managing layout. 2) You won't get the benefit of caching in you need to later. Partial and component can be cached. 3) You still have to include it on each templates in your module manually. On Thu, Jun 18, 2009 at 1:20 AM,

[symfony-users] Re: local layout inside main layout

2009-06-17 Thread Sid Bachtiar
E ... why do you have to repeat the whole layout code? :) Layout too can use partial, component, slot, component_slot, etc. your forum_layout.php could look like: FORUM On Wed, Jun 17, 2009 at 9:02 PM, dziobacz wrote: > > But if I create another layout for this module it will look like

[symfony-users] Re: How to use generated content in an action

2009-06-17 Thread jamie
try this: public function executeOdt(sfWebRequest $request) { $output = $this->getController()->getPresentationFor('ModuleName', 'xmlcontent'); } that will assign the output of executeXmlcontent() to $output On Jun 16, 8:06 pm, Loris wrote: > Hi, all. > > I'd like to develop a plugin tha

[symfony-users] Re: Caching per-user pages and security

2009-06-17 Thread Richtermeister
Alternatively, and this is just an idea - haven't tried it yet, but does the order of caching and security filter play a part in this? Daniel On Jun 17, 3:13 am, Dincho Todorov wrote: > That's my solution too. > > On Jun 16, 12:41 pm, passkey wrote: > > > Ah I understand, i had the same issue

[symfony-users] Re: Overriding plugin schema with doctrine and sf 1.2

2009-06-17 Thread Jonathan Wage
Can you log a ticket about this? Honestly though, I would add columns to the model differently by overriding the setTableDefinition() in your lib/model/doctrine/sfDoctrineGuardPlugin/sfGuardUser.class.php Thanks, Jonathan H. Wage (+1 415 992 5468) Open Source Software Developer & Evangelist sens

[symfony-users] Re: Overriding plugin schema with doctrine and sf 1.2

2009-06-17 Thread Marius Rugan
It seems that there is a fault in: sfDoctrinePlugin's _checkForPackageParameter lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/lib/task/sfDoctrineBuildModelTask.class.php line 64: $this->_checkForPackageParameter($config['yaml_schema_path']); line 119: $files = sfFinder::type('file')->name('*.ym

[symfony-users] Re: local layout inside main layout

2009-06-17 Thread dziobacz
I think I have found a better solution: create in module, in templates file 'header.php' with text 'FORUM' and in each template use: I think - this is the most comfortable idea. If in the future I would like to change text each header in each template I have to modify only "header.php" file. :))

[symfony-users] Re: Overriding plugin schema with doctrine and sf 1.2

2009-06-17 Thread Marius Rugan
Hi, yes, i'm placing it inside project/config/doctrine/sfDoctrineGuardPlugin.schema.yml package: sfDoctrineGuardPlugin.lib.model.doctrine sfGuardGroup: ...rest of the original schema.yml from sfDoctrineGuardPlugin goes here ... trying to re-generate model with symfony doctrine:build-all-reload

[symfony-users] Re: Overriding plugin schema with doctrine and sf 1.2

2009-06-17 Thread Jonathan Wage
And you're placing this at the top of the file in your own project/config/doctrine folder? Jonathan H. Wage (+1 415 992 5468) Open Source Software Developer & Evangelist sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org On Wed, Jun 17, 2009 at 7:32 AM, Marius Rugan wrote:

[symfony-users] Overriding plugin schema with doctrine and sf 1.2

2009-06-17 Thread Marius Rugan
Hi all, In March, Jonathan Wage wrote: Add this to the top of the plugin: "package: sfDoctrineGuardPlugin.lib.model.doctrine" This "package" option is automatically added to the schema files found in plugins so that the models are all generated in the right places. When you copy that schema file

[symfony-users] Re: local layout inside main layout

2009-06-17 Thread Eno
On Wed, 17 Jun 2009, dziobacz wrote: > in each template my module ? This isn't so comfortable - if in the > future I want to change text 'Forum header' I have to change this text > in each template my module but if no other way :) You can set a default value for the slot if the template does

[symfony-users] Re: Caching per-user pages and security

2009-06-17 Thread Dincho Todorov
That's my solution too. On Jun 16, 12:41 pm, passkey wrote: > Ah I understand, i had the same issue before and my solution was what > you're thinking to do, move the code to be cached in a component, then > in the action make a include_component() with respective parameter, > e.x: include_compon

[symfony-users] Re: sfForm - validation error - field repopulation - how does it work?

2009-06-17 Thread klemens_u
Ah yes, one more thing: The problem was actually a known bug with the checkbox widget: http://trac.symfony-project.org/ticket/5244 Would be nice if this bug could be fixed soon... Thanks! On 17 Jun., 11:19, klemens_u wrote: > Hi Bernhard! > > Thanks to your reply I have solved the problem. >

[symfony-users] Re: sfForm - validation error - field repopulation - how does it work?

2009-06-17 Thread klemens_u
Hi Bernhard! Thanks to your reply I have solved the problem. It really quite buried. I didn't find it because I searched for the repopulation functionality assuming it is triggered somewhere in the bind() method. It's not. For everyone interested: It's actually triggered in the view when using t

[symfony-users] Re: sfForm - validation error - field repopulation - how does it work?

2009-06-17 Thread klemens_u
Hi Bernhard! Thanks to your reply I have solved the problem. It really quite buried. I didn't find it because I searched for the repopulation functionality assuming it is triggered somewhere in the bind() method. It's not. For everyone interested: It's actually triggered in the view when using t

[symfony-users] Re: local layout inside main layout

2009-06-17 Thread dziobacz
But if I create another layout for this module it will look like main layout + text 'FORUM' so if in the future I change main layout I will have to also change layout for this module :) It isn't also comfortable but thx for next advice :) On 17 Cze, 10:33, Sid Bachtiar wrote: > Why not create a

[symfony-users] Re: local layout inside main layout

2009-06-17 Thread Sid Bachtiar
Why not create another layout for your module? E.g.: create forum_layout.php in myproject/myapp/templates Then in your module's view.yml: default: layout: forum_layout On Wed, Jun 17, 2009 at 8:26 PM, dziobacz wrote: > > "and then fill the slot with your contextual content in templates: > >

[symfony-users] Re: local layout inside main layout

2009-06-17 Thread dziobacz
"and then fill the slot with your contextual content in templates: Forum header " in each template my module ? This isn't so comfortable - if in the future I want to change text 'Forum header' I have to change this text in each template my module but if no other way :) On 17 Cze, 09:54,

[symfony-users] Re: local layout inside main layout

2009-06-17 Thread passkey
Hi, as far as I know, it's not possible to have a layout in module level, I bypass this by using slot, for example in layout.php, I define a slot: Default header and then fill the slot with your contextual content in templates: Forum header On Jun 17, 9:46 am, dziobacz wrote: > I have

[symfony-users] local layout inside main layout

2009-06-17 Thread dziobacz
I have my own module 'Forum' - each site in this module should have header 'FORUM'. Is it possible to make local layout inside main layout for this module. Local layout should look: FORUM Is it possible or not (I think not) ? --~--~-~--~~~---~--~~ You received th