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

2009-06-18 Thread Thomas Dedericks
Hi, Is the page entirely rendered ? With its layout ? Check your PHP error log, and make sure that you haven't exhausted the available memory... Le Thu, 18 Jun 2009 08:36:14 +0200, seifolah Ghaderi a écrit: > Hi Anyone. > > I'm new in symfony .I 'm reading jobeet tutorial. > But now It don

[symfony-users] sfDoctrineAssetsLibraryPlugin

2009-06-18 Thread Thomas Rabaix
Hello Sorry to post there but I don't know who create the plugin sfDoctrineAssetsLibraryPlugin, so to who may concern ... The sfDoctrineAssetsLibraryPlugin plugin has just been created, I just want to tell the author that the works is already done with swDoctrineAssetsLibraryPlugin. So maybe it w

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

2009-06-18 Thread NairuS
Hello, I'm new in symfony and I had this problem 2 days ago. Be sure your view.yml is ok. check all the css and images clear the cache : php symfony cc Bye NairuS ;) 2009/6/18 Thomas Dedericks > > Hi, > > Is the page entirely rendered ? With its layout ? Check your PHP error > log, and make sure

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

2009-06-18 Thread Nicolas Bazire
Have you thought about inheritance? On Jun 17, 4:32 pm, Jonathan Wage wrote: > 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 > >

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

2009-06-18 Thread Marius Rugan
can you elaborate a little bit more on this? On Thu, Jun 18, 2009 at 12:12 PM, Nicolas Bazire wrote: > > Have you thought about inheritance? > > On Jun 17, 4:32 pm, Jonathan Wage wrote: > > Can you log a ticket about this? > > > > Honestly though, I would add columns to the model differently by

[symfony-users] Recommendations for affordable managed hosting that's Symfony 1.2-ready and secure

2009-06-18 Thread Tom Boutell
Hi folks, We're looking for a solid hosting company that can meet these requirements: * PHP 5.2.6 or better (suitable for Symfony 1.2, with PDO/MySQL/gd all properly enabled) * The netpbm utilities are installed, or can be (pnmtopng and friends) * system() calls are permitted * The files of othe

[symfony-users] Re: Recommendations for affordable managed hosting that's Symfony 1.2-ready and secure

2009-06-18 Thread Eno
On Thu, 18 Jun 2009, Tom Boutell wrote: > We're able to find all but the last of the above in "dedicated > virtual" offerings from hostmysite, mediatemple, slicehost and other > providers, but these hosts take a "hands-off"hy in the future - they > don't take care of OS updates, so if there's a s

[symfony-users] Re: Recommendations for affordable managed hosting that's Symfony 1.2-ready and secure

2009-06-18 Thread Andrei Dziahel
Hi, Tom. Take a look at Dreamhost — it meets all your requirements. Regarding to netpbm, pnmtopng etc. - I suppose you'll have to compile them yourself (if they aren't installed already). But generally it takes only ./configure --prefix=/home/username/ && make && make install. Yes, hoster allows t

[symfony-users] accessing the doctrine schema configuration

2009-06-18 Thread Jonathan Franks
Hi y'all, I'm developing a plugin with a doctrine behavior. The behavior is configured in the schema.yml. I have made a routing class which needs access to this configuration. What's the best way to do this please? Should I use sfYaml or can I access it somehow through a doctrine class? Reg

[symfony-users] Re: accessing the doctrine schema configuration

2009-06-18 Thread Thomas Rabaix
Access this information with your class table : Doctrine::getTable('yourModel') Look to the API to get more information from there. On Thu, Jun 18, 2009 at 5:57 PM, Jonathan Franks wrote: > > Hi y'all, > > I'm developing a plugin with a doctrine behavior. The behavior is > configured in the schem

[symfony-users] Re: Recommendations for affordable managed hosting that's Symfony 1.2-ready and secure

2009-06-18 Thread Lee Bolding
On 18 Jun 2009, at 16:53, Andrei Dziahel wrote: > Hi, Tom. > > Take a look at Dreamhost NO. DON'T!!! You get what you pay for - with Dreamhost that means a bunch of amateurs. I speak from experience. AVOID. Best to do something like Eno suggests - manage your own servers. EC2, Linode or

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

2009-06-18 Thread Loris
On Jun 17, 6:43 pm, jamie wrote: > try this: > > public function executeOdt(sfWebRequest $request) > { >    $output = $this->getController()->getPresentationFor('ModuleName', > 'xmlcontent'); > > } > > that will assign the output of executeXmlcontent() to $output > On Jun 17, 6:43 pm, jamie wro

[symfony-users] sf 1.2.7 / dcotrine 1.0.10 - admin generator, batch delete, actAs SoftDelete, error

2009-06-18 Thread virtualize
Hi all When I use the batch action to delete one or more items in an admin generated module, I get this one: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: 'true' for column 'deleted' at row 1 I'm almost sure this is a doctrine bug. I only found similar closed ticket for doctrine

[symfony-users] Re: sf 1.2.7 / dcotrine 1.0.10 - admin generator, batch delete, actAs SoftDelete, error

2009-06-18 Thread Jonathan Wage
Postgres? Jonathan H. Wage (+1 415 992 5468) Open Source Software Developer & Evangelist sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org On Thu, Jun 18, 2009 at 12:00 PM, virtualize wrote: > > Hi all > > When I use the batch action to delete one or more items in an admi

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

2009-06-18 Thread Eno
On Jun 16, 2:56 am, Jonathan Wage wrote: > Link to documentation: > > http://www.doctrine-project.org/documentation/manual/1_0/en/defining-... BTW, http://www.doctrine-project.org/downloads/pdfs/cookbook_1_0_en.pdf returns a 404. -- --~--~-~--~~~---~--~~ You r

[symfony-users] TinyMCE with bbcode plugin still convert html tags to real html tags

2009-06-18 Thread dziobacz
I use TinyMCE: http://tinymce.moxiecode.com/index.php with enable bbcode plugin in TinyMCE When I edit post: text_1 [b]text_2[/b] I see in TinyMCE: bold text_1 and bold text_2 !!! This is wrong, this is danger - TinyMCE with bbcode plugin convert html tags to real html tags !! This is TinyMCE pr

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

2009-06-18 Thread a...@speedypin.com
That sounds like an option Marjin, without looking to hairy. so myUser will extend MyCompositeUser and myCompositUser will be a union of all the class signatures of the 'Extend myUser with this' classes for each of the plugins I am interested. Providing no method signatures clash I may be able to

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

2009-06-18 Thread a...@speedypin.com
Doh! That won't work, all the other classes extend something or other, and that will thwart my god-awful crime of a composite class of all the plugins that want to be myUsers base class. Is the observer pattern what I need here? On Jun 18, 11:40 am, "a...@speedypin.com" wrote: > That sounds li

[symfony-users] how can i load all my model classes in the proyect configuration class?

2009-06-18 Thread Gary Rojas
Hi everybody, I have troubles, i need to get loaded all the model classes on the ProjectConfiguration class. I hope someone knows how to do this. Thanks so much --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "sy

[symfony-users] Re: how can i load all my model classes in the proyect configuration class?

2009-06-18 Thread Gary Rojas
I use Symfony 1.2 and Doctrine 1.0 Sorry for this On 18 jun, 14:22, Gary Rojas wrote: > Hi everybody, I have troubles, i need to get loaded all the model > classes on the ProjectConfiguration class. > > I hope someone knows how to do this. > > Thanks so much --~--~-~--~~

[symfony-users] Re: accessing the doctrine schema configuration

2009-06-18 Thread Jonathan Franks
Thanks Thomas - that worked. I made a getOptions method in my ObjectAttributes template and then called Doctrine::getTable($this->options['model'])- >getTemplate('ObjectAttributes')->getOptions(); Regards Jonathan On 18 Jun 2009, at 17:12, Thomas Rabaix wrote: > Access this information

[symfony-users] Re: accessing the doctrine schema configuration

2009-06-18 Thread Jonathan Wage
I think getOptions() is already a method on Doctrine_Template. Thanks, Jon On Thu, Jun 18, 2009 at 3:04 PM, Jonathan Franks wrote: > > Thanks Thomas - that worked. I made a getOptions method in my > ObjectAttributes template and then called > > Doctrine::getTable($this->options['model'])- >

[symfony-users] Default values for widgets in admin-generated form

2009-06-18 Thread juro
Hi, I have created an admin generated module in my backend "myclass" based on Myclass.class.php. After changing the widget for the field "name" and assigning it a default value "your name", I was surprised that the default value was not shown in the form. On the other hand my frontend has a modu

[symfony-users] howto check if internal_uri for link_to is valid??

2009-06-18 Thread zxczx zxczxc
howto check if internal_uri for link_to is valid?? sometimes when i provide bad composed internal_uri - link_to gives me 500 Errors and exceptions in dev --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony use

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

2009-06-18 Thread Bernhard Schussek
A perfect example of why one should program against interfaces, not classes. I don't see how the observer pattern could help you. I see a solution though. You can make a composition of all the plugin's user classes in your myUser class (i.e. store them in properties). Then implement the __call()

[symfony-users] AJAX search and keyup

2009-06-18 Thread Pinkrabbit
Hi! I read tutorial section http://www.symfony-project.org/jobeet/1_2/Propel/it/18 on AJAX search and i found a bug due to double keydown when search auto complete is active in the input form, that takes to multiple post requests instead one. You can fix this with: $("yourinputsearchid").get(

[symfony-users] Re: Default values for widgets in admin-generated form

2009-06-18 Thread LevelX
Have you tried to set the default via the $this->setDefault('name', 'Please insert a name'); syntax? For me this works also in generated modules (but using propel). On 18 Jun., 22:59, juro wrote: > Hi, > > I have created an admin generated module in my backend "myclass" based > on Myclass.cla

[symfony-users] Re: Status of PayPal plugin(s)

2009-06-18 Thread Antoine Leclercq
Hi back, Alright, I'm back to Beirut and ready for real stuff. Symfony Live conferences were awesome and there were lots of nice level talks. @Marijn : Nice approach. We'll definitely go for wider solution in order to provide a standard way to process transactions. I need to dig a bit more on exis

[symfony-users] Why cannot I save the uploaded file name to database automatically?

2009-06-18 Thread happy oliver
Hi, Are there someone can point out why I cannot save the upload file path into database by default. I customize my form showing as below. At the Form class: class AdvertisementForm extends BaseAdvertisementForm { public function configure() { parent::configure(); $this->offsetUnse