[symfony-users] Re: Use Plagin from Different ORM

2009-07-14 Thread Richtermeister
Hi all, on that note, I'm aware that Doctrine somehow is the future.. what I don't know is why. I'm open to anything that raises my productivity level, but so far I have not seen a clear reason to switch to Doctrine, other than people seem to find it's SQL like syntax more userfriendly (which I

[symfony-users] Re: sfGuard

2009-07-13 Thread Richtermeister
Hey Germana, you can create your own form, extending the sfGuardUserFilterForm and make your modifications from inside that form. Look at the formatter classes to see what format settings you can customize.. for example: $this - widgetSchema - getFormFormatter() - setErrorListFormatInARow ( ul

[symfony-users] Passing Admin Filter Settings via Query String?

2009-07-10 Thread Richtermeister
Hi all, I remember that in the sf1.0 admin generator I was able to pass the filter settings via url. That's obviously nice when you want to link directly to specific records. I don't seem to get this to work in the sf1.2 admin generator. Do I have to override the filter actions to pick up on the

[symfony-users] Re: Two fields - One Line???

2009-07-08 Thread Richtermeister
Hey MS, I would just create a new Widget class that renders those 2 fields. Since it is one widget, it would have 1 label, but output whatever controls you teach it to. Look at the date widget for inspiration, as it renders 3 select inputs. Daniel On Jul 6, 6:28 pm, master.soccer

[symfony-users] Re: Force reload of updated CSS and JS

2009-07-06 Thread Richtermeister
Hey Sid, not the very same method, but using the sfCombinePlugin (there's others as well) you can use a hashed request for the stylesheet that allows you to longterm browser-cache the file. When you want to force a reload, you increase a version number, and the hash updates. CSS delivery is

[symfony-users] Rich Date for Admin Filters

2009-07-01 Thread Richtermeister
Hi all, I am probably either missing something or about to be disappointed, but I was wondering what the SF1.2 approach for rich date fields in admin filters would be. I understand that I can manually edit the filter form classes and wrestle, say, jquery-ui-date widgets in there. This just

[symfony-users] Overriding Plugin generator files

2009-07-01 Thread Richtermeister
Hi all, I have a case where a plugin relies on autogenerated admin modules and comes with customized generator.yml files (sfSimpleBlogPlugin to be exact). In the plugin's generator file it lists 3 fields: list: display: [title, created_at, extract] Now, I want to override this

[symfony-users] Re: plugins ....

2009-06-30 Thread Richtermeister
Hey Lee, I assume what you mean is the similarity in argument between having a single ecommerce application for ecommerce purposes, and having a single plugin for, say, feed purposes. I don't think the two are the same discussions - they differ on scale. I can very well argue that an all in one

[symfony-users] Search based on attributes

2009-06-30 Thread Richtermeister
Hi all, I have a question regarding a particular search refinement methodology. So far I've been using the lucene plugin to do pre-indexed text search, and it works great. Now my client has a new request, to be able to slice and dice the search results based on what attributes they may have, so

[symfony-users] Re: e-commerce solution under symfony

2009-06-29 Thread Richtermeister
Hi all, first off, I don't think Magento being too slow is a compelling reason to rebuild it... who says building it on SF would be any faster? After all you would want (need) to provide the same or more features and support both doctrine propel to appease us developers, etc... I've tried

[symfony-users] Re: e-commerce solution under symfony

2009-06-29 Thread Richtermeister
Regarding sfShop it seems the demo site has been down since February. I'm not saying that every project needs to have a hosted demo, but if a link to the demo is provided, it should probably work. I have more and more clients look under the hood of what Symfony really is, and when they find

[symfony-users] Re: Flash lost with IE

2009-06-29 Thread Richtermeister
Hey man, You just solved an issue that was bugging me for weeks as well! Thanks much!! :) Daniel On Jun 29, 10:44 am, tonio607 antoine.roll...@gmail.com wrote: Wouu I found the solution. It was connected with my last post about IE6 reloading the session while encounter

[symfony-users] Re: plugins ....

2009-06-29 Thread Richtermeister
Hey Alecs, I think everybody agrees that the list of plugins is getting a little cluttered and that there's some overlap and contributions of questionable usefulness. While I think that your point about having only 1 plugin for each purpose is a little extreme (variation drives exploration), I

[symfony-users] Re: plugins ....

2009-06-29 Thread Richtermeister
Hey Sid, that's true, as far as sharing experience is concerned. With regard to avoiding overlap, supposedly this page is there to help: http://trac.symfony-project.org/wiki/OfficialProposedPlugins Although it doesn't quite make sense to me. Either it's badly outdated, nobody cares, or I am

[symfony-users] Re: plugins ....

2009-06-29 Thread Richtermeister
Hey Pablo, it is good to hear this experience and I think you're right that concurrent development happens a lot, so overlap is not by default due to carelessness or ignorance. In all reality, it is probably a good thing to have your plugin out there as well as all the others (code diversity),

[symfony-users] Re: plugins ....

2009-06-29 Thread Richtermeister
Whaddayaknow :) Gotta check that out these days. Thanks for pointing that out. I guess this goes to the point of dialog, since I didn't know the difference in performance from looking at both plugins (might have missed it, too). Always assumed they're basically the same. Daniel On Jun 29,

[symfony-users] Re: Customizing sfGuardAuth signin

2009-06-25 Thread Richtermeister
Hey Justin, as part of the authorization, a signin() method is called on the sfGuardSecurityUser object (myUser). That's the function I would overwrite and add the logging to. Hope this helps, Daniel On Jun 25, 7:59 am, justin_davis jdavis1...@gmail.com wrote: Yeah, that's the problem.  

[symfony-users] Re: Shopping Cart Plugin - 1.2 - Doctrine

2009-06-25 Thread Richtermeister
Hey Guys, From what I remember the shopping cart plugin doesn't make any use of symfony resources that have changed between 1.0 and 1.2, so I'm pretty sure you're save. As for the propel dependency, yes, there's some code in there that is hardly ever used. The whole plugin is very, very simple

[symfony-users] Timing for Registering Routes in sf1.0

2009-06-19 Thread Richtermeister
Hi all, there's one thing I'm always struggling with, and that is registering new routes dynamically in sf 1.0. For example, my current site has product categories, and I would like to add a new route for each category so that I get urls like /category1 /category2 etc. I know I can just do

[symfony-users] Re: Timing for Registering Routes in sf1.0

2009-06-19 Thread Richtermeister
url conflicts, and to avoid that you'll have to code some sort of reserved keywords system in the category creation part. Hope that helped clear up things a bit! Regards, Thiago Campezzi On Jun 19, 3:00 pm, Richtermeister nex...@gmail.com wrote: Hi all, there's one thing I'm always

[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 dincho.todo...@gmail.com wrote: That's my solution too. On Jun 16, 12:41 pm, passkey passkey1...@gmail.com wrote:

[symfony-users] Re: Propel and 1:1 relationships

2009-05-23 Thread Richtermeister
not applicable to Propel 1.3. On May 21, 8:57 pm, Richtermeister nex...@gmail.com wrote: Hey Crafty, I think one issue is that it's not really clear what you're trying to do.. I have no idea what this option0 / option1 setup is all about.. If you can give

[symfony-users] Re: Propel and 1:1 relationships

2009-05-23 Thread Richtermeister
Hey Crafty, ah I see. Thanks for walking me through that, I think that makes perfect sense. I'll have to look at your solution in detail, may need that myself one of these days :) Have a great weekend, Daniel On May 23, 3:08 am, Crafty_Shadow vankat...@gmail.com wrote: Hey Richtermeister

[symfony-users] Re: Propel and 1:1 relationships

2009-05-21 Thread Richtermeister
Hey Crafty, I think one issue is that it's not really clear what you're trying to do.. I have no idea what this option0 / option1 setup is all about.. If you can give an example of what you're trying to do, maybe we can help better. Daniel On May 20, 3:20 pm, Crafty_Shadow

[symfony-users] Re: Is there a better way to find a related record other than looping?

2009-05-15 Thread Richtermeister
I would just create a new method: $entry-findOneMetaDataByType(EntryMeta::Superscript); In there, for now you can have your loop (no problem with that.. loops are not all evil). If at some point you come up with a better solution (for performance reasons or whatever) you can just change the

[symfony-users] Re: autoload PHPExcel

2009-05-09 Thread Richtermeister
Hey Tomasz, the problem is not that symfony doesn't find the files.. The problem is that the Excel library does not rely on the autoloader, and it contains explicit require statements for required files. That's why you have to set the path... I have the same issue, but I don't find it much of a

[symfony-users] Re: sfconfig:get('app_textarea_col') does not work as it should when call from a task ?

2009-05-02 Thread Richtermeister
Hey Frederic, sorry, you're out of luck. Adding a _ doesn't mean that you're stepping through the array of values.. You can only access the first level of values directly. Daniel On May 1, 10:44 am, fredlab frederic.beauf...@free.fr wrote: Hey, I am developing a task that gets data from

[symfony-users] Re: sfconfig:get('app_textarea_col') does not work as it should when call from a task ?

2009-05-02 Thread Richtermeister
Addition: You can, however, do this: $textarea_settings = sfConfig::get(app_textarea); $cols = $textarea_settings[cols]; Hope that helps, Daniel On May 1, 10:44 am, fredlab frederic.beauf...@free.fr wrote: Hey, I am developing a task that gets data from app.yml of my general config

[symfony-users] Re: important if you are using Zend_Loader with symfony

2009-05-02 Thread Richtermeister
Oh THANK GOD! The Zend Loader is the most illconceived piece of code I've seen come out of a major company. Here's a link to a discussion between a user and a Zend engineer about that subject. I ran into the very same problem. Basically all error messages from loaded classes were suppressed,

[symfony-users] Re: Bitwise Criteria's

2009-04-30 Thread Richtermeister
because 512 + 256 = 768. Hope that helps a bit more On Thu, Apr 30, 2009 at 1:47 AM, Richtermeister nex...@gmail.com wrote: Hi Gareth, thanks for the explanation. The part about the 1, 2, 4, 8 step I get.. but to me those would still be integers.. albeit not continuous. I guess I am

[symfony-users] Re: Custom form

2009-04-30 Thread Richtermeister
Hey Alessandro, what you describe is a formbuilder, and if you keep it very basic you can do this via a list of fieldtype, fieldname, required flag, etc.. in the database. The form would just display those fields, and post things to a module that validates it based on your setting, and then I

[symfony-users] Re: application exceptions

2009-04-29 Thread Richtermeister
Hey Steve, as a general rule, any exception (even a normal php exception) that you throw from within your code will ultimately be caught by symfony and displays either an error 500 or a stacktrace (in dev mode), UNLESS you catch the exception within your own code first. Creating your own

[symfony-users] Re: Bitwise Criteria's

2009-04-29 Thread Richtermeister
.. etc etc. Hope that helps On Wed, Apr 29, 2009 at 6:01 PM, Richtermeister nex...@gmail.com wrote: Hi Gareth, I just read your blog entry on that subject, and I have to admit that it never occurred to me to use bits to store multiple flags in one column. I like it! :) Thanks. My

[symfony-users] Re: Updating the session in a cached action

2009-04-27 Thread Richtermeister
Hey Thomas, just curious, I have not come across that plugin of yours and I was wondering what it does and where I can find documentation about it, since I can't seem to locate it in the symfony plugins section (other than on trac). Thanks, Daniel On Apr 24, 9:50 am, Thomas Rabaix

[symfony-users] Re: Fast symfony API searches using Mozilla's Ubiquity extension

2009-04-17 Thread Richtermeister
Hey Eno, that is really really cool :) Thanks for introducing that and sharing the code. Daniel On Apr 16, 12:05 pm, Eno symb...@gmail.com wrote: Here's a quick hack to add a 'symfony' command to Ubiquity which allows you to quickly do a search of the symfony API docs. With Ubiquity

[symfony-users] Re: Many sites using the same application

2009-04-17 Thread Richtermeister
Hey Nei, this is so weird, I will be starting a project this weekend that seems to have the same goal / structure. A CMS for multiple websites.. If you like I'd be interested in emailing you directly so we can share some ideas and figure out how to best build this using symfony. Daniel On

[symfony-users] Re: How can i use a symfony helper in a js file

2009-04-16 Thread Richtermeister
Hey Ahmed, look into sfContext::getInstance()-getController()-genUrl ($internal_uri, $absolute); to generate the url. That's what's being called from within the url_for function, and it's perfectly fine to use that within your app code. Hope this helps, Daniel On Apr 16, 4:26 am, Ahmed

[symfony-users] Re: Dynamic security.yml

2009-04-09 Thread Richtermeister
Hi Hausa, maybe I'm wrong but it seems that you're going about it backwards.. Instead of dynamically controlling what permissions are required, you should just set those once, and then dynamically control what users have those permissions. For example, I give every module a general credential

[symfony-users] Re: Unchecked check boxes (Apologies for the double post.)

2009-03-30 Thread Richtermeister
I think you can set a default value for fields, no? $form - setDefault($fieldname, $default_value); Haven't tried this myself yet, just a thought. Daniel On Mar 30, 1:09 am, Gareth McCumskey gmccums...@gmail.com wrote: I am not sure I understand why this is a problem. Can you not check on

[symfony-users] Re: Admin Generator Links

2009-03-25 Thread Richtermeister
Hey Jacob, not sure that this would work with a GET request. The admin forms are usually only bound to POST requests, so maybe try using the POST method on the links. Daniel On Mar 25, 6:52 am, Jacob Coby jc...@portallabs.com wrote: Symfony 1.1 Is it possible to generate links that

[symfony-users] Re: Admin Generator Links

2009-03-25 Thread Richtermeister
On second thought, even if that works, you'd still get all missing fields marked as erroneous. I'll keep thinking about it :) On Mar 25, 6:52 am, Jacob Coby jc...@portallabs.com wrote: Symfony 1.1 Is it possible to generate links that auto-fill fields for the   create action in the admin

[symfony-users] Re: How to display different data set in backend admin through generator?

2009-03-17 Thread Richtermeister
Hey Frank, 2 ways to do it: First, you could use the peer_method parameter under the list settings to specify what method on the peer is used to select the users (default doSelect, could be changed to doSelectForUser for example, and in that method you filter based on the current user). This

[symfony-users] Re: Can't get site to work in production on godaddy

2009-03-17 Thread Richtermeister
Hi Benjamin, I'm the author of the codemassacre post, and things have changed for version 1.2. I need to write a newer post. For now, this is how I am able to do it (no worries, had the same problem). First, this goes into the factories.yml for the all environment all: request: param:

[symfony-users] Re: Criteria for Record that doesn't exist in another table

2009-03-17 Thread Richtermeister
Try this: $c = Criteria; $c - addJoin(UserPeer::ID, ListUserPeer::USER_ID, Criteria::LEFT_JOIN); $c - add(ListUserPeer::USER_ID, null, Criteria::ISNULL); that should work. Also, you don't need an id column in the list_user table, in fact it interferes with symfony on some levels. Just set both

[symfony-users] Re: Can't get site to work in production on godaddy

2009-03-17 Thread Richtermeister
| sfError404Exception Empty module and/or action after parsing the URL / frontend_dev.php/ (/). On Mar 17, 12:16 pm, Richtermeister nex...@gmail.com wrote: Hi Benjamin, I'm the author of the codemassacre post, and things have changed for version 1.2. I need to write a newer post. For now

[symfony-users] Re: Can't get site to work in production on godaddy

2009-03-17 Thread Richtermeister
/factories.yml all:   routing:     class: sfPatternRouting     param:       generate_shortest_url:            true       extra_parameters_as_query_string: true   request:     param:       path_info_key: REQUEST_URI On Mar 17, 12:46 pm, Richtermeister nex...@gmail.com wrote: Hey Ben, look

[symfony-users] Re: has anyone used link helper to generate absolute URL in command line task?

2009-03-12 Thread Richtermeister
I came across this when automated batch emails had invalid links in them.. I handled it by setting the $_SERVER[HOST] variable to the my host before I use absolute link helpers. Hope this helps, Daniel On Mar 12, 4:16 pm, Sid Bachtiar sid.bacht...@gmail.com wrote: The main problem is that

[symfony-users] Re: How to cleanly post populating form fields or object

2009-03-12 Thread Richtermeister
Why not use a field validator to validate the zip code, and then populate the lat/long after a successful form submission in a separate step. If you cache the calls to the Geocoding service (as you should since over time you'll have all zip/lat/long combinations), this won't add a second call.

[symfony-users] Re: i can not login, using the simple, built in security that Symfony has be default

2009-03-10 Thread Richtermeister
Including default settings in comments is common, even amongst apache config files etc. It's useful since you don't have to reference outside resources to understand what settings you can use. Daniel On Mar 10, 12:33 am, Lawrence Krubner lkrub...@geocities.com wrote: I figured out what

[symfony-users] Re: Bigger or smaller modules ?

2009-03-10 Thread Richtermeister
Also, in a well-build app you should be able to separate things out with minimal effort, once you decide that you stuffed too much into one module. Either way, when I read most people separate their projects into 2 apps I usually assume that there's a good reason for it and try to imitate first,

[symfony-users] Re: Symfony Production Performance improvements

2009-03-09 Thread Richtermeister
Hi Gareth, after reading all this I feel your time is most likely best spent in smart caching, since it sounds like the DB is not your bottleneck. What's easy to overlook when working with symfony, is that compared to straight procedural get data - display data scripts, rendering templates with

[symfony-users] Re: symfony errors to display line numbers

2009-03-03 Thread Richtermeister
Hi Joshua, the logs don't include stacktraces, but when you're browsing in dev mode you should get a stacktrace, no? Have a great day, Daniel On Mar 3, 12:27 am, naholyr naho...@gmail.com wrote: Maybe because your class has a primary key named another way than Id. On 3 mar, 04:10, Joshua

[symfony-users] Re: Forms over multiple pages, save at the end?

2009-02-19 Thread Richtermeister
Hi Justin, alternatively you really treat each form individually, and save the valid data in the session each time, only forwarding to the next form when the required data has been entered. At the last form you save all to the database. I find that these kind of process flows often need so much

[symfony-users] Re: What is the method to convert php array to post string

2009-02-05 Thread Richtermeister
= $this-getRequestParameter(users);        }else{         $user = $request-getParameterHolder()-getAll();        } On Wed, Feb 4, 2009 at 2:40 PM, Richtermeister nex...@gmail.com wrote: Hi Frank.. You're have to pass a multidimensional array then. Just loop over your original array, and change every

[symfony-users] Re: Model View Controller pattern

2009-01-19 Thread Richtermeister
Hey Blue, just to add to the good previous posts, I would describe business logic as the rules and behavior of an application. For example, you may have a client that want to receive an email for every order that is placed in your online store. Except for weekends. In that case he wants to

[symfony-users] Re: PDO problems on Jobeet tutorial

2009-01-19 Thread Richtermeister
Hi all, in XAMPP 1.7 PDO causes apache to crash. Here's a fix. http://www.apachefriends.org/f/viewtopic.php?f=16t=32617 Daniel On Jan 19, 7:57 am, Guibod gui...@free.fr wrote: Same problem for me. Thought it was a problem related to zendoptimizer (I had similar crash accessing the jobeet

[symfony-users] Re: Primary key: is varchar ok?

2009-01-12 Thread Richtermeister
Hi Daniele, I have used alphanumeric pks in sf1.0 projects without any problems. If this doesn't work in sf1.2, that would suck, and I can only imagine that the routing requirements contain a numeric requirement. Check that area, because from what I know about propel, it doesn't care what type

[symfony-users] Re: heatmap plugin?

2008-12-23 Thread Richtermeister
Hey Lee, I've had the same problem with the sfFeed2Plugin.. disappeared from the site, but it's still all in the repository. Just browse around there (subversion..) On Dec 22, 5:35 am, Lee Bolding l...@leesbian.net wrote: Am I going crazy, or was there at one point a Symfony 1.0 heatmap  

[symfony-users] Re: Use sfUser attribute in view.yml

2008-12-16 Thread Richtermeister
Hey Francois, you can also use a filter do set this globally. Daniel On Dec 16, 5:11 am, François CONSTANT francois.const...@gmail.com wrote: Hi, well because all the titles in this application are set up in the view.yml files. Furthermore I think that the title is part of the view, not

[symfony-users] Re: sfMediaLibrary outside tinyMCE

2008-12-10 Thread Richtermeister
in my system and works fine with tinyMCE. I just want to use it outside tinyMCE. Stéphane On 2 déc, 23:03, Richtermeister [EMAIL PROTECTED] wrote: I believe the sfAssetsLibraryPlugin is just what you need. Hope it helps, Daniel --~--~-~--~~~---~--~~ You

[symfony-users] Re: sfApplyPlugin makes it easy for users to create and verify accounts

2008-12-08 Thread Richtermeister
YUSSS!!! Thanks Tom, like you wrote I've been reinventing that wheel a thousand times. (I'm a great wheel maker by now ;) Can't wait to try it. Thanks again! Daniel On Dec 6, 8:41 am, Tom Boutell [EMAIL PROTECTED] wrote: If you're like me you've probably noticed that Symfony's sfGuardPlugin

[symfony-users] Re: sfMediaLibrary outside tinyMCE

2008-12-02 Thread Richtermeister
I believe the sfAssetsLibraryPlugin is just what you need. Hope it helps, Daniel On Dec 2, 2:07 am, tef_be [EMAIL PROTECTED] wrote: Hi all, I use sfMediaLibrary in tinyMCE and I found it great ! but I want to use it outside. I want the admin of the app able to upload pictures associated

[symfony-users] Re: Symfony prejudices and myths

2008-12-01 Thread Richtermeister
Another myth I've encountered is that sf forces you to use an ORM or DBA.. I'd love to see that talk, but I won't be able to go to the conference. Is it in english, and is there a way for you to tape it and put it online? :) On Nov 25, 12:21 pm, Stefan Koopmanschap [EMAIL PROTECTED] wrote:

[symfony-users] Re: Handling session timeout...

2008-11-21 Thread Richtermeister
Hi Sumedh, when you make a module or an action secure, and it is being requested by somebody who is not authenticated, he/she will automatically be redirected to the login action as defined in settings.yml. Very easy. Have a great day, Daniel On Nov 17, 4:17 am, Sumedh [EMAIL PROTECTED]

[symfony-users] Re: How would you.. Combine URLs from the database and the routing system?

2008-11-21 Thread Richtermeister
Hi Christian, I've done a similar CMS module at one point, and I used the config.php file to query the database and add a list of valid routes to the routing on the fly. It's fast enough and holds up great. Let me know if you need specifics. Daniel On Nov 20, 1:06 am, Thomas Dedericks [EMAIL

[symfony-users] sfPropelOptimisticLockBehaviorPlugin ?

2008-11-18 Thread Richtermeister
Whatever happened to the sfPropelOptimisticLockBehaviorPlugin? It is referenced in the documentation, but I can't seem to find it.. Thanks, Daniel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users

[symfony-users] Re: Displaying range for a value in image...

2008-11-18 Thread Richtermeister
Maybe this is more highlevel than GD.. http://ezcomponents.org/docs/api/latest/introduction_Graph.html On Nov 18, 4:21 am, Kiril Angov [EMAIL PROTECTED] wrote: The way I see it, iMagick has everything that GD has and more. On Tue, Nov 18, 2008 at 8:35 AM, Sumedh [EMAIL PROTECTED] wrote:

[symfony-users] Re: sfPropelOptimisticLockBehaviorPlugin ?

2008-11-18 Thread Richtermeister
of plugins. On Nov 18, 10:54 pm, Richtermeister [EMAIL PROTECTED] wrote: Whatever happened to the sfPropelOptimisticLockBehaviorPlugin? It is referenced in the documentation, but I can't seem to find it.. Thanks, Daniel --~--~-~--~~~---~--~~ You received

[symfony-users] Re: Working on a User Profile plugin.

2008-11-17 Thread Richtermeister
Hey James, I've used something like that in the past (was even internationalized), and the way I did it is that I added a type field to the attribute table, so that attributes became text, longtext, boolean, select one, select many, etc... That way you can generate appropriate input elements

[symfony-users] Re: propel : dynamic linking

2008-11-01 Thread Richtermeister
direction. It is just a little unusual when you're used to thinking on a database level. Does that make sense to you? Daniel On Oct 31, 1:13 am, Thibault Jouannic [EMAIL PROTECTED] wrote: Hi Richtermeister, thank you for your reply. I'm not sure to understand, how you would build that in Symfony

[symfony-users] Email Configuration

2008-10-30 Thread Richtermeister
Hi all, I'm using Symfony 1.0, and when I send emails from an action I see that it's using settings from the mailer.yml file. However, when I send it from somewhere else (say, a batch file) those settings seem not to be used. I'm just wondering.. is that how it's supposed to be? Am I supposed

[symfony-users] Re: Email Configuration

2008-10-30 Thread Richtermeister
Hi Yuretsz, just the one that came with it. phpMailer I believe. Thanks. On Oct 30, 10:21 am, Yuretsz [EMAIL PROTECTED] wrote: What plugin do you use for sending emails? On Thu, Oct 30, 2008 at 8:07 PM, Richtermeister [EMAIL PROTECTED] wrote: Hi all, I'm using Symfony 1.0, and when

[symfony-users] Re: propel : dynamic linking

2008-10-30 Thread Richtermeister
Hi there, I think a good solution for your problem needs to be more flexible. For example, you have separate tables for tools and books. What is often done is have a table for generic items ShopItems that stores the type of item (tool, book, etc.. now it's dynamic) and link those to an attribute

[symfony-users] Re: structure advices

2008-09-25 Thread Richtermeister
That's usually an OK way to start, as you can always move things into modules later. Gotta love the routing control :) On Sep 24, 11:28 pm, julien [EMAIL PROTECTED] wrote: Thank you both of you for your answer. I did it the way Tom suggested as the frontend will stay quite simple. On Sep

[symfony-users] Re: Deleting from database by click

2008-08-28 Thread Richtermeister
Hey Fabian, I actually wonder if what you describe there would really help, and I can only see it applicable for the delete method, and I guess there would have to be an opportunity to determine the following redirect and optionally set a flash message... not sure it's worth the trouble,

[symfony-users] Re: Custom email sending action

2008-08-28 Thread Richtermeister
Hey Rod, have a look at the sfEmail Plugin, as it takes the email content and writes it to a file. You should be able to base your work on this and simply write the result to the database instead. Daniel On Aug 27, 3:14 pm, Rod [EMAIL PROTECTED] wrote: Hi all, I would like to write my own

[symfony-users] Re: Progressive enhancement/graceful degradation

2008-07-17 Thread Richtermeister
I don't think there is a way to detect this on the first request. I guess you could fire off an ajax request and if it arrives at the server, you know JS is turned on, so from the second request out you can respond accordingly. I think, however, that the if_javascript() combined with noscript

[symfony-users] Re: How can I see the raw SQL that a Criteria() object is going to execute?

2008-07-13 Thread Richtermeister
When you set your logging level to info, and turn on debug mode in your front controller, all executed SQL statements will be written to the log file. By that I mean the physical log file, not just the web- debug list. Hope this helps, Daniel On Jul 11, 4:05 pm, Ant Cunningham [EMAIL

[symfony-users] Re: amfphp, sabreamf, symfony

2008-06-30 Thread Richtermeister
Hey Marco, the sf plugin for AMFPHP is pretty self-explanatory methinks. I just wanted to add another solutions that I'm currently using to power a Flex project. It's called WebOrb, and I found it to work better than AMFPHP (then again, that was about 1 year ago when I last compared..) To use

[symfony-users] Re: Caching a forwarded action

2008-06-27 Thread Richtermeister
Can you access action B directly and confirm that it actually uses the cache? Because, off the top of my head, what you're doing should be working.. Daniel On Jun 26, 3:06 am, Nicolas CHARLOT [EMAIL PROTECTED] wrote: Hi, We have an action A who's not cached forwarding to an action B who's

[symfony-users] Re: Ignore accent with sfLucenePlugin

2008-06-24 Thread Richtermeister
In the documentation on sfLucene you can find something about a transform function that, if supplied, is applied to a field before it gets indexed. The example is using strip_tags, but in your case you can write your own custom function to remove accents and use that. Hope this helps, Daniel On

[symfony-users] Re: creating object from another one

2008-06-23 Thread Richtermeister
Richtermeister well, I did overwrite nothing actually . I only had a __toString() method to my Provider class. But finally, I understood. It was working well adding a sluugableBehavior on the Provider item and not working without it. That's why I thought it was related to the plugin. Since

[symfony-users] Re: Force an Autocompletion list pick for input_auto_complete_tag

2008-06-23 Thread Richtermeister
Hi Shinkan, that sounds like a chicken egg problem, where you can't disable the field completely, since the user would never be able to trigger it.. I guess you would need to watch userinput on this field, and on every keystroke ensure that you only allow letters that make sense with what is in

[symfony-users] Re: How to make Filter Variables global?

2008-06-21 Thread Richtermeister
Hi Eddie, I often use the User to hold this kind of information, like their country, their language preferences, etc.. This doesn't mean you should set it as an attribute (as this would be saved into the session), but if you give your user a class variable to hold this i18n object, you can set

[symfony-users] Re: How do I access a validate .yml setting in my template?

2008-06-14 Thread Richtermeister
. Daniel On Jun 13, 7:22 pm, Daevid Vincent [EMAIL PROTECTED] wrote: *sigh* Thanks for the reply Richtermeister. I thought I was pretty clear in my email below, but just to re-iterate. I'm trying to prevent the redundancy of having to type a string of error message in the Javascript

[symfony-users] Re: Slightly offtopic - CC encryption / decryption

2008-06-14 Thread Richtermeister
to get. James On Jun 13, 2008, at 2:58 PM, Nathanael D. Noblet wrote: Richtermeister wrote: Hi all, your points are well taken, and I'm not trying to put the cc numbers into a database for the very same reason.. I do, however, have to put it into the session as part of the checkout

[symfony-users] Re: Slightly offtopic - CC encryption / decryption

2008-06-13 Thread Richtermeister
I think you'll find that one way functions are mandatory, and that you're only ever allowed to store the last 4 card digits in plain. On 12 Jun 2008, at 22:02, Richtermeister wrote: Thanks Mohammad, that is exactly what I was looking for! And another reason to get mcrypt working

[symfony-users] Re: How do I access a validate .yml setting in my template?

2008-06-13 Thread Richtermeister
Hi Daevid, other than parsing the file into an array via the Yaml class I don't think you can get to it. Out of interest, what are you trying to do? Daniel On Jun 12, 2:40 pm, Daevid Vincent [EMAIL PROTECTED] wrote: I asked this before and got no real answer. Is this not possible? Can I not

[symfony-users] Re: How to mix form object and form error !

2008-06-12 Thread Richtermeister
Hey Sylver, the form_error function is still available, even when you use object input tags. so in your case: ?php echo form_error(mail); ? ?php echo object_input_tag($client, 'getMail'); ? is perfectly valid and works. Hope this helps, Daniel On Jun 11, 2:21 am, Sylver [EMAIL PROTECTED]

[symfony-users] Re: Conception problem... Module / Application

2008-06-12 Thread Richtermeister
Hey Olivier, I would build one app with all the required modules for a store (catalog, checkout, account, etc), and make each module smart enough to customize itself based on certain parameters, such as the url. Then you can swap out layout, templates, stylesheets etc, based on store

[symfony-users] Slightly offtopic - CC encryption / decryption

2008-06-12 Thread Richtermeister
Hi all, this is not specific for symfony, but advice is so good here, I thought I'd ask. I have no experience with encrypting / decrypting data, but the app I'm working on needs to store Credit Card numers for a brief amount of time... how would you go about en / de-crypting those? (No one way

[symfony-users] Re: Slightly offtopic - CC encryption / decryption

2008-06-12 Thread Richtermeister
Thanks Mohammad, that is exactly what I was looking for! And another reason to get mcrypt working on my server ;) Thanks again, have a great day. Daniel On Jun 12, 1:37 pm, Mohammad Ali Safari [EMAIL PROTECTED] wrote: Hi, I use the methods in PHP mcrypt module. I have these two methods:

[symfony-users] Re: please help me

2008-06-10 Thread Richtermeister
When the session is expired, the user should not be able to access areas where he / she could do any damange with the remaining session data. You can enforce that by sending them back to a login screen and in that action removing the stale data.. Hope this helps, Daniel On Jun 10, 1:48 am,

[symfony-users] SQL table creation order

2008-06-09 Thread Richtermeister
Hi all, I'm trying to switch a symfony application from mySql to ms-sql, and I'm no good at ms-sql syntax, so I'm looking to use the generated sql file to create all tables for me. However, I'm getting errors, because the sql file is trying to set up constraints on tables that haven't been

[symfony-users] Re: Please help on exclude template

2008-06-07 Thread Richtermeister
You can create a view.yml file in the appropriate module config directory, and in there make the following declaration: youractionSuccess: has_layout: off replacing youraction by whatever you named your action. That should work. It's also in the manual.. Hope that helps, Daniel On Jun 6,

[symfony-users] Re: how can I count online users? (what about user offline because of timeout?)

2008-06-07 Thread Richtermeister
Detecting inactive users is usually done by watching mouse movement. No movement for a few minutes and you send an event telling your server the users is not online any more.. I for myself would skip the pinging and just go by what actions a user triggers.. everybody who has requested an action

[symfony-users] Re: sfConfig : Configuration not persistent ??

2008-06-04 Thread Richtermeister
Hey there, this is correct. changes to the config via sfConfig are not persistent, and they should not be. After all, that's what all the config yml files are good for. Just set all your persistent settings in there. Runtime changes to the sfConfig object should only be done to adjust for

[symfony-users] Re: Webflows in symfony???

2008-05-29 Thread Richtermeister
I haven't worked with it myself, but it seems you might want to look at the pageflow plugin http://trac.symfony-project.com/wiki/sfPageFlowPlugin Let us know how it goes. :) Have a great night, Daniel On May 28, 8:26 pm, allan [EMAIL PROTECTED] wrote: Hello I’m making a project in which I

[symfony-users] Viewing Log Files Symfony Style?

2008-05-28 Thread Richtermeister
Hi all, I really like the debug toolbar and how it lists the logged messages, so I was wondering if currently there is a way to view the saved log files in the same fashion? I'm currently just viewing those files in a text-editor, and being able to turn messages on or off by severity or class

[symfony-users] Re: List of Live Symfony Sites?

2008-05-16 Thread Richtermeister
/ james On May 16, 2008, at 1:26 AM, Richtermeister wrote: Hi all, quick question. I know I've come accross this before, but I can't find it right now.. Where is the list of live websites that are built with Symfony? We just released a new site (www.activemotif.com), and I'd like

<    1   2   3   4   >