[symfony-users] Re: Component using different views per module

2008-11-24 Thread Eus
Hi Ho! --- On Mon, 11/24/08, Gorka <[EMAIL PROTECTED]> wrote: > Thanks again for your comments :) > > On Nov 24, 2:37 am, Eus <[EMAIL PROTECTED]> wrote: [snip] > > What is your objection to this approach if > include_component() behaves in the rigid way of referring a > template? > > My only

[symfony-users] Re: symfony on shared host

2008-11-24 Thread Eus
Hi Ho! --- On Mon, 11/24/08, julien <[EMAIL PROTECTED]> wrote: > The problem is that I don't have a "web > visible" folder and a "web > hidden" folder. > Everything is visible... > * I guess it's not very good for security > * I get confuse on the way I should re-organize the folder > arborescen

[symfony-users] Re: Forward in filter renders layout twice

2008-11-24 Thread Sumedh
Thanks Thomas...it would be useful... Is there some open source project for newsletters that sort of has an admin panel for choosing recipient lists, selecting a template etc...and may some in-place editing of HTML? On Nov 25, 5:59 am, Eno <[EMAIL PROTECTED]> wrote: > On Mon, 24 Nov 2008, andrea

[symfony-users] Re: Symfony patterns?

2008-11-24 Thread Jérôme TEXIER
Hi, I don't understand why you need to retrieve your cart on db. Cart could only be saved at the end of the process when the user is validating its order and just remained on session before that event. BTW, did you take a look to sfShoppingCartPlugin, which is pretty useful for that kind of purp

[symfony-users] Re: Forward in filter renders layout twice

2008-11-24 Thread Eno
On Mon, 24 Nov 2008, andreas wrote: > Ok... didn't know google groups does this - I use a regular email client > so I didn't notice. Actually its not an anomaly of Google Groups, use threaded view in pine, Thunderbird or Evolution and you'll see the same thing... -- --~--~-~--~--

[symfony-users] Re: Unable to load model obj into a form.

2008-11-24 Thread noetix
Anyone? On Nov 21, 1:15 am, [EMAIL PROTECTED] wrote: > Symfony 1.1.5 - Note this worked on 1.1.4 > Propel 1.3 > > When I try to insert a record using this form I get the following: > > Catchable fatal error: Object of class DebugPDO could not be converted > to string in /home/backstab/sf/plugins/

[symfony-users] Re: symfony administration panel - making some order

2008-11-24 Thread lir
On Nov 24, 6:51 pm, Eno <[EMAIL PROTECTED]> wrote: > On Nov 24, 7:18 am, lir <[EMAIL PROTECTED]> wrote: > > > Obviously the administration panel is not what the end-user will > > eventually see, right? > > Depends on your site right? If you're building a wiki, it might be > useful but generally

[symfony-users] Re: Symfony patterns?

2008-11-24 Thread Lee Bolding
On 24 Nov 2008, at 20:25, Jacob Coby wrote: >> $pos = new CartPosition(); >> $pos->product = "some product"; >> $pos->cart = CartTable::findByPk($someWrongId); >> $pos->save(); That looks... wrong. In several different ways. 1) cart ID should definitely be one of the variables held in the s

[symfony-users] Re: Symfony patterns?

2008-11-24 Thread Jacob Coby
On Nov 24, 2008, at 12:38 PM, Michal G wrote: > > Hello and thanks for all your answers > > On Nov 23, 12:34 pm, small <[EMAIL PROTECTED]> wrote: >> Miachel, >> Good question - you will actually find the first few chapters of the >> book explain each part of the MVC model - and what part of your

[symfony-users] Re: Symfony patterns?

2008-11-24 Thread Michal G
Hello and thanks for all your answers On Nov 23, 12:34 pm, small <[EMAIL PROTECTED]> wrote: > Miachel, > Good question - you will actually find the first few chapters of the > book explain each part of the MVC model - and what part of your code > should go where. I strongly recommend you have a r

[symfony-users] Re: Solution to build a wiki

2008-11-24 Thread Lee Bolding
On 24 Nov 2008, at 16:36, snirgel wrote: > I tested the sfPropelVersionableBehaviorPlugin. But theres no solution > for the approval-problem. sfPropelApprovableBehaviorPlugin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

[symfony-users] Re: Forward in filter renders layout twice

2008-11-24 Thread andreas
Ok... didn't know google groups does this - I use a regular email client so I didn't notice. Apologies to everyone! Andreas Eno schrieb: > On Nov 24, 10:25 am, andreas <[EMAIL PROTECTED]> wrote: > >> Sorry, this is a new thread? I see my subject in the header. > > Of course - because you re

[symfony-users] Re: symfony administration panel - making some order

2008-11-24 Thread Eno
On Nov 24, 7:18 am, lir <[EMAIL PROTECTED]> wrote: > This administration panel rises several questions: > 1. I'm still not aligned with the administration purposes. Is it just > for "playing" with the database and evaluation functionalities added > to the application logic? (like CRUD actions, ne

[symfony-users] Re: Forward in filter renders layout twice

2008-11-24 Thread Eno
On Nov 24, 10:25 am, andreas <[EMAIL PROTECTED]> wrote: > Sorry, this is a new thread? I see my subject in the header. Of course - because you replied to an existing thread but changed the subject. When viewing threads from a mailing list, your message now appears in the middle of another thread

[symfony-users] Solution to build a wiki

2008-11-24 Thread snirgel
Hi, i wanna build a feature with simple wiki-functions. Means: - add and edit an article (only one field) - an admin must approve a new version of the article I tested the sfPropelVersionableBehaviorPlugin. But theres no solution for the approval-problem. The nahoWikiplugin it's to heavyweighted

[symfony-users] Re: Forward in filter renders layout twice

2008-11-24 Thread Eno
Andreas, Please, when posting to this list, start a new thread instead of `hijacking' and old one. -- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to sy

[symfony-users] Re: Forward in filter renders layout twice

2008-11-24 Thread andreas
Sorry, this is a new thread? I see my subject in the header. Eno schrieb: > Andreas, > > Please, when posting to this list, start a new thread instead of > `hijacking' and old one. > > -- > > > > --~--~-~--~~~---~--~~ You received this message because you ar

[symfony-users] Re: symfony on shared host

2008-11-24 Thread Eno
On Nov 24, 5:02 am, julien <[EMAIL PROTECTED]> wrote: > The problem is that I don't have a "web visible" folder and a "web > hidden" folder. > Everything is visible... > * I guess it's not very good for security > * I get confuse on the way I should re-organize the folder > arborescence... And i

[symfony-users] HTML Newsletter

2008-11-24 Thread Dominik Tuleweit
And uninstall Outlook2007 :) Am 24.11.2008 um 14:51 schrieb Lee Bolding: > > > On 24 Nov 2008, at 12:37, Sumedh wrote: > >> ..Also there seemed a lot of disagreement on whether one should >> use HTML or text mails...Does someone know a set of practical rules >> that work on majority of the emai

[symfony-users] Re: Forward in filter renders layout twice

2008-11-24 Thread andreas
Ok, now it renders twice in production as well... sigh. Redirecting works, forwarding does not. Thanks for further comments, Andreas andreas schrieb: > No, it's just a plain HTML page, no ajax whatsoever. > > *However* > > Writing the above, I had the idea to try in prod environment - and it

[symfony-users] Re: symfony on shared host

2008-11-24 Thread Thomas Dedericks
Hi, > * I guess it's not very good for security And you're right. You do have some plain text files with database server address, username & password in your project, for example :/ > * I get confuse on the way I should re-organize the folder > arborescence... You could put all the symfony stu

[symfony-users] Re: Forward in filter renders layout twice

2008-11-24 Thread andreas
No, it's just a plain HTML page, no ajax whatsoever. *However* Writing the above, I had the idea to try in prod environment - and it works. So while my problem is kinda solved, this now seems more like a bug than before... can anybody confirm this? Could this be the debug toolbar? This is sf

[symfony-users] Re: Forward in filter renders layout twice

2008-11-24 Thread Gareth McCumskey
Is this forward being asynchronously (Ajax) loaded into a div? If that is the case I have experienced the same issue and just use setTemplate as opposed to forward to ensure that only the template and not the entire page is loaded into the div On Mon, Nov 24, 2008 at 4:39 PM, andreas <[EMAIL PROTE

[symfony-users] Forward in filter renders layout twice

2008-11-24 Thread andreas
Hi, I have a filter that must forward to one module/action depending on some condition (redirect is not an option). When the forward happens, the entire layout is rendered twice. I have found a thread about it here: http://www.symfony-project.org/forum/index.php/m/51301/ But I don't really be

[symfony-users] Re: Propel insert float error

2008-11-24 Thread Jérôme TEXIER
A few days after this discussion I found more info about this problem, I didn't take the time to update the thread so I do it now. Actually this bug is directly linked to Creole and has already been reported here : http://creole.phpdb.org/trac/ticket/65 It has been corrected one year ago on Creol

[symfony-users] In-place editor tag woes

2008-11-24 Thread Gareth McCumskey
I am attempting to use the in_place_editor_tag with symfony 1.1.4 and for some reason after following the directions in the book for symfony 1.1 the editor just doesn't happen. Even viewing the source with Firebug shows no additional code from this helper being inserted. The div that wraps the text

[symfony-users] Re: HTML Newsletter

2008-11-24 Thread Lee Bolding
On 24 Nov 2008, at 12:37, Sumedh wrote: > ..Also there seemed a lot of disagreement on whether one should > use HTML or text mails...Does someone know a set of practical rules > that work on majority of the email clients...? Send Multipart emails (text + html) :) --~--~-~--~~-

[symfony-users] Re: javascript file linkinking

2008-11-24 Thread [EMAIL PROTECTED]
What a stupid I am. I just forgot to place "/" before my file path: On 24 нояб, 15:51, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi guys, > > I'm facing the following problem. I need to place a folder with > javascript files in my symfony project, but symfony takes all > javascripts from

[symfony-users] javascript file linkinking

2008-11-24 Thread [EMAIL PROTECTED]
Hi guys, I'm facing the following problem. I need to place a folder with javascript files in my symfony project, but symfony takes all javascripts from 'js/' folder by default. I didn't find how can i change this. And how can I link javascript files if they are located in multidepth folders? Sure

[symfony-users] Re: symfony on shared host

2008-11-24 Thread Thomas Dedericks
Hi, > * I guess it's not very good for security And you're right. You do have some plain text files with database server address, username & password in your project, for example :/ > * I get confuse on the way I should re-organize the folder > arborescence... You could put all the symfony stu

[symfony-users] Re: HTML Newsletter

2008-11-24 Thread Thomas Dedericks
hi, a good resource for CSS support in HTML emails : http://www.campaignmonitor.com/css/ Le lundi 24 novembre 2008 à 04:37 -0800, Sumedh a écrit : > Hi Friends, > > Thinking of an HTML newsletter... > > Any plugins etc. available for it? > > What are the restrictions on kind of HTML that on

[symfony-users] HTML Newsletter

2008-11-24 Thread Sumedh
Hi Friends, Thinking of an HTML newsletter... Any plugins etc. available for it? What are the restrictions on kind of HTML that one should and shouldn't use in emails? I saw some documents, but they were pretty old...Also there seemed a lot of disagreement on whether one should use HTML or text

[symfony-users] symfony administration panel - making some order

2008-11-24 Thread lir
Hey, I will begin by apologizing for the possibly blown questions but I have done some reading and things don't yet fall as expected in my head, symfony and frameworks are new so please bear with me. Reading a symfony tutorial (http://www.sitepoint.com/article/symfony- beginners-tutorial) and

[symfony-users] Re: Symfony sandbox

2008-11-24 Thread lir
Thanks, I have indeed downloaded the 1.1. sf_sandbox and used that for starting out... Regards, Lir. On Nov 24, 11:36 am, "Fabian Lange" <[EMAIL PROTECTED]> wrote: > Hi Liran, > these instructions should help > you:http://www.symfony-project.org/installation/1_1/upgrade > > or perhaps you jus

[symfony-users] Re: action which returns an image doesn't work anymore im Symfony 1.2

2008-11-24 Thread brajesh
I am facing similar issue in 1.0 ... In my case, the content type remains set to "text/html" in spite of setting it to "image/jpeg" in the action... On Nov 12, 2:48 am, Eno <[EMAIL PROTECTED]> wrote: > On Nov 7, 5:29 pm, Samir <[EMAIL PROTECTED]> wrote: > > > Well, when I call the URL of the act

[symfony-users] Re: symfony on shared host

2008-11-24 Thread julien
The problem is that I don't have a "web visible" folder and a "web hidden" folder. Everything is visible... * I guess it's not very good for security * I get confuse on the way I should re-organize the folder arborescence... julien On Nov 21, 12:46 am, Eno <[EMAIL PROTECTED]> wrote: > On Thu, 20

[symfony-users] Re: Component using different views per module

2008-11-24 Thread Gorka
Thanks again for your comments :) On Nov 24, 2:37 am, Eus <[EMAIL PROTECTED]> wrote: > Hi Ho! > > --- On Sat, 11/22/08, Gorka <[EMAIL PROTECTED]> wrote: > > > Hi Eus, > > > Thanks for your reply. Components are already available to > > all > > modules, you can call include_component('blog', > > '

[symfony-users] Re: Symfony sandbox

2008-11-24 Thread Fabian Lange
Hi Liran, these instructions should help you: http://www.symfony-project.org/installation/1_1/upgrade or perhaps you just use a new sandbox Fabian On Mon, Nov 24, 2008 at 10:26 AM, lir <[EMAIL PROTECTED]> wrote: > > > Hey Fabien, > > You are correct, I have wrongly assumed that the link > http:/

[symfony-users] Re: Problem with date validation (1.1)

2008-11-24 Thread Christoph Hautzinger
Yohan 'rouKs' G. wrote: > I use the sfValidatorDate in my project and I need to validate a french > date (d-m-Y). > My problem is that the sfValidatorDate take a regex as date_format > parameter... > > What kind of regex should I give to this validator ? got the same issue... try: @(?P\d{2}).(?P

[symfony-users] Re: Symfony sandbox

2008-11-24 Thread lir
Hey Fabien, You are correct, I have wrongly assumed that the link http://www.symfony-project.com/get/sf_sandbox.tgz refres to the latest stable (1.1). Is there an easy way to upgrade from a symfony 1.0.18 to 1.1 for the sandbox? Regards, Liran. On Nov 24, 11:23 am, "Fabian Lange" <[EMAIL PR

[symfony-users] Re: Symfony sandbox

2008-11-24 Thread Fabian Lange
Hi, It looks like as the symfony.php you are executing is an 1.0 symfony. Your command works only for 1.1 or better Greetings Fabian On Mon, Nov 24, 2008 at 10:13 AM, lir <[EMAIL PROTECTED]> wrote: > > Hey everyone, > > I'm a new-comer to the Symfony framework and I've started my share of > read

[symfony-users] Symfony sandbox

2008-11-24 Thread lir
Hey everyone, I'm a new-comer to the Symfony framework and I've started my share of reading of documentation and tutorials scattered out there in the big wide web. I started by working out with the tutorial which uses the sf_sandbox package but I want now to create another project (so I can alwa

[symfony-users] Re: Symfony 1.2 Admin generator and sfDoctrine problem

2008-11-24 Thread Bertrand Zuchuat
Thanks. This is correct my problem. Bertrand Le 24 nov. 08 à 08:31, adrive a écrit : > Add option "with_wilcard_routes: true" to your routings. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" gro