[symfony-users] Re: Best way of exiting a symfony app

2007-04-14 Thread Frank Stelzer
OMG! I think the sun has obfuscated my mind. Ok, now i go the corner of my room and shame on me :) Am 14.04.2007 um 17:29 schrieb netblox: > > Hi, > > what about sfAction redirect? > > http://www.symfony-project.com/api/symfony/action/sfAction.html > > > > On

[symfony-users] New Plugin: sfExternalLinkTrackerPlugin

2007-04-15 Thread Frank Stelzer
Hi everybody, i have written a small plugin to track external links of a symfony application. That means, when a user clicks on a link, which is linked to an external url, this action is logged in the database and could maybe analysed afterwards. The analysing stuff is however not (yet) main

[symfony-users] Re: New Plugin: sfExternalLinkTrackerPlugin

2007-04-15 Thread Frank Stelzer
ing on right now > where the links clicked need to be tracked per browser session and > then > e-mailed to the client in a report. > > Great work! > > - Jon > > Frank Stelzer wrote: >> Hi everybody, >> i have written a small plugin to track external links of a symfo

[symfony-users] Re: New Plugin: sfMediaLibrary

2007-04-15 Thread Frank Stelzer
Hi Francois, Great work!! But it seems, that the file BasesfMediaLibraryActions is missing in the package. - Frank Am 15.04.2007 um 19:01 schrieb Francois Zaninotto: > Hi all, > > Back in the initial version of symfony, there was some code > somewhere in the repository that could vaguely be

[symfony-users] Re: New Plugin: sfMediaLibrary

2007-04-15 Thread Frank Stelzer
e it both in the package.xml and in the 0.8 archive. Where did > you get your package from? > > François > > De : [EMAIL PROTECTED] [mailto:symfony- > [EMAIL PROTECTED] De la part de Frank Stelzer > Envoyé : dimanche 15 avril 2007 19:32 > À : [EMAIL PROTECTED] >

[symfony-users] Re: New Plugin: sfMediaLibrary

2007-04-15 Thread Frank Stelzer
15.04.2007 um 21:35 schrieb Francois Zaninotto: > Can you tell me more about these i18n warnings? Are they caused by > the plugin or by your application? > > François > > De : symfony-users@googlegroups.com [mailto:symfony- > [EMAIL PROTECTED] De la part de Frank Stelzer > En

[symfony-users] Re: New Plugin: sfMediaLibrary

2007-04-15 Thread Frank Stelzer
Am 15.04.2007 um 21:35 schrieb Francois Zaninotto: > Can you tell me more about these i18n warnings? Are they caused by > the plugin or by your application? > > François > > De : symfony-users@googlegroups.com [mailto:symfony- > [EMAIL PROTECTED] De la part de Frank Stelze

[symfony-users] Re: Problems with deployment

2007-04-18 Thread Frank Stelzer
Check if everything is in your web root dir. The web root dir on your host should look like something like this: = SCHNIPP web/ css/ main.css images/ admin/ apply_f2.png back

[symfony-users] Re: Problems with deployment

2007-04-18 Thread Frank Stelzer
Could it be that you have included perhaps some files in your dev environment, but not in the prod environment. Any restrictions in your settings.yml or view.yml ? To your plugins problem: Are the according modules of the plugins enabled in your prod environment, too ? - Frank Am 18.04.20

[symfony-users] Re: Re : [symfony-users] Re: Problems with deployment

2007-04-18 Thread Frank Stelzer
You did not mention, that you use prototype with this plugin. The pathes are ok, you have to copy all the web/* data out of your plugins in your web root. MY_PLUGIN/web/* to /MY_PLUGIN/* As one can see in your former mail, you did not copy these files in your prod server. - Frank Am 18

[symfony-users] Re: Component + action

2007-04-19 Thread Frank Stelzer
You can call the component in your action. So you would have the common operations only in the component. Am 19.04.2007 um 15:14 schrieb Haris Zukanović: > Hi, > > I have a component and an action that do exactly the same... > > I need the component to include it in my layout.php and I need

[symfony-users] Re: Component + action

2007-04-19 Thread Frank Stelzer
component into your action to retrieve the same output and to go through the same php code. Am 19.04.2007 um 16:50 schrieb Haris Zukanović: > How can I call it? > include_component? > > That is a helper function.. I would be braking rules right? > > > Frank Stelzer wrote

[symfony-users] Re: Component + action

2007-04-19 Thread Frank Stelzer
Am 19.04.2007 um 17:41 schrieb Haris Zukanović: > Thank you very much.. > It works like a charm :) > great :) I have just released a small wiki article (sorry for language mistakes): http://trac.symfony-project.com/trac/wiki/ HowToHandleSameCodeInAComponentAndAnAction because this problem

[symfony-users] Re: Best way to do this?

2007-04-29 Thread Frank Stelzer
I would maybe create a own criterium class, which hinherits Criteria. This class adds a criterion with this publishing flag in the constructor. -- myCriteria extends Criteria(){ public function __construct(){ $this->add('is_published',1); // table attribute hard coded } } -- Here is t

[symfony-users] Doctrine Error: No table named ... found

2007-05-09 Thread Frank Stelzer
Hi everybody, in my new project i have to use doctrine as ORM. However i am not used to it and get during my first tests some errors and am know a little bit lost :). I get one error, where i could not find out what is wrong. I have to use an existing database schema where a "_foobar" table exis

[symfony-users] build_model task in prod-env

2007-05-10 Thread Frank Stelzer
Hi everybody, i have to add dynamically tables to my existing model. I use doctrine as ORM and create for every new "dynamically" model a new schema file. Afterwards i would run the doctrine_build_model task in an action, so that the model classes from this new table are generated (maybe addition

[symfony-users] Re: build_model task in prod-env

2007-05-10 Thread Frank Stelzer
y need to keep an eye on the load of the server. > > On 5/10/07, Frank Stelzer <[EMAIL PROTECTED]> wrote: >> >> Hi everybody, >> i have to add dynamically tables to my existing model. I use >> doctrine as >> ORM and create for every new "dynami

[symfony-users] Howto use active record functionality of Doctrine

2007-05-11 Thread Frank Stelzer
Hi, i want to use the active record functionality of doctrine. That means, i have a model definition and want to create the according table on the fly. The manual (http://doctrine.pengus.net/doctrine/manual/documentation2.php?chapter=Getting+started+-+Starting+new+project) says that there is noth

[symfony-users] Re: Htmlentities

2007-05-11 Thread Frank Stelzer
should be just a typo myfiler myFilter Naming of the class and the according class file is case sensetive. > > On May 7, 10:35 am, "Jonathan H. Wage" <[EMAIL PROTECTED]> wrote: > >> I would write a custom filter and apply it to the filter chain. > > I couldn't get custom filters working at al

[symfony-users] Re: Htmlentities

2007-05-11 Thread Frank Stelzer
Mmmh, did you clear the cache after class creating and did you put the class file in the project lib dir? > > should be just a typo > > myfiler myFilter > > Naming of the class and the according class file is case sensetive. > > >> >> On May 7, 10:35 am, "Jonathan H. Wage" <[EMAIL PROTECTED]> w

[symfony-users] Re: Howto use active record functionality of Doctrine

2007-05-12 Thread Frank Stelzer
with this content in your project/config folder: # Turn off create tables for all environments, all connections all: attributes: create_tables: on (alter the env to your purposes) - Frank Am 11.05.2007 um 15:12 schrieb Frank Stelzer: > > Hi, > i want to use the active r

[symfony-users] Re: dynamic content areas

2007-05-13 Thread Frank Stelzer
I do not know exactly, what you want to do. But with slots and component slots you can display everything you want through a template. Are slots not sufficient for your purposes ? - Frank Am 13.05.2007 um 12:53 schrieb Matthias Nothhaft: > > Hi, > > Is it possible to define an area in a tem

[symfony-users] [doctrine] where clause in select does not work

2007-05-14 Thread Frank Stelzer
Hi everybody, the subscription of the doctrine mailinglist currently does not work ( i get no response subscription mail), so i try to find the answer here. Devs, who do not work with doctrine, please ignore this mail :) I am lost with simple querying data from a table. I read the docus, but noth

[symfony-users] Re: [doctrine] where clause in select does not work

2007-05-14 Thread Frank Stelzer
Here another soliloquy :) There was a bug in the pgsql driver implementation, which i had to fix on my own. For those of you, which use doctrine + pgsql: Have an eye at the Pgsql.php - Frank > > Hi everybody, > the subscription of the doctrine mailinglist currently does not work ( i > get no

[symfony-users] sfFeed2Plugin and status codes

2007-05-17 Thread Frank Stelzer
Hi everybody, i have a huge and strange problem with the sfFeed2Plugin (but i only guess that my issue is caused here). I can call my feeds and they will generated without problems. However i get a 404 response on my prod server, although my feeds are shown correctly (there is NO 404 excep

[symfony-users] Re: sfFeed2Plugin and status codes

2007-05-17 Thread Frank Stelzer
got it! It was a .htaccess problem. Sorry for another useless mail... --~--~-~--~~~---~--~~ 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 un

[symfony-users] Re: W3Counter v4 Built on Symfony

2007-05-23 Thread Frank Stelzer
Really great site with a nice design! Am 22.05.2007 um 15:45 schrieb Jonathan H. Wage: > I am curious, did you use Propel? I am interested in this fact, too :) - Frank --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[symfony-users] Re: Askeet Modifications

2007-05-26 Thread Frank Stelzer
You can call another javascript function, which jumps to the top of the page, when the link_to_remote is done. 'indicator', 'url' => __MY_URL__, 'complete' => "JumpToTop()", ))?> Am 25.05.2007 um 05:26 schrieb Rafael George: > > Hi guys, im changing some stuffs from Askeet, for a pe

[symfony-users] Re: 2 Actions, one form + validation

2007-06-03 Thread Frank Stelzer
Hi Greg, i would link the "add" form to a save action and the "edit" form to a update action (same form, but with different action targets). The save and update actions forward themselves to an internal doSave action. The advantage of handling with two "update" actions is, that you can def

[symfony-users] Re: symfony 1.0.5 released (security fix)

2007-06-27 Thread Frank Stelzer
Fabien, What is about the stable sandbox? http://www.symfony-project.com/get/sf_sandbox.tgz I get the Version "1.0.5-PRE" after extracting. Little mistake or is the sandbox at the moment really the pre version? - Frank > > Hi Amit, > > The security fix has been commited to the trunk and the 1.

[symfony-users] Re: cant find helper after project is frozen anddeployed

2007-06-28 Thread Frank Stelzer
You have an typing error in there. The helper is called I18NHelper, with capitalize N. Typing is case sensetive on unix machines, on windows machines not. So you could use the I18nHelper on your windows machine, but your linux server does not find this helper. - Frank > I did that as well. No

[symfony-users] Re: Batch scripts use 'sfWebRequest'?

2007-06-28 Thread Frank Stelzer
You have to define another environment ('batch' or 'test' or something like that) for this purpose. In this new environment you can define your request class in the factories.yml of the frontend app. 'dev' is your normal environment for web development. - Frank > I've created a new Batch scr

[symfony-users] Re: Tracking down a problem..

2007-07-02 Thread Frank Stelzer
For this purpose i set normally the logging level on my production server to the debug level. If you are lucky, you can better find the problem. But do not forget to change the logging level again, when you found the problem :) Perhaps there is somewhere an exception thrown, which is not logged/

[symfony-users] Re: Tracking down a problem..

2007-07-02 Thread Frank Stelzer
Mmh, did you also looked in your apache error_log (if existing)? I got in former times some illegal state exceptions etc. and of course the error_log was the last log file i looked into ... :) - Frank > Frank Stelzer wrote: >> For this purpose i set normally the logging le

[symfony-users] Re: using components from a batch script

2007-07-09 Thread Frank Stelzer
Headers are sent because of the storage, mainly sfSessionStorage. I use sfSessionTestStorage for my "cli environment" and everything works for me. Perhaps this storage works for you either. - Frank Am 10.07.2007 um 02:07 schrieb Ian P. Christian: > Clearly, using getPresentationFor() is ca

[symfony-users] Re: Remove a stylesheet

2007-07-14 Thread Frank Stelzer
Cyrille, look at this chapter: http://www.symfony-project.com/book/trunk/07-Inside-the-View- Layer#File%20Inclusion%20Configuration You can overwrite the stylesheet of any plugin with the great configuration cascade. Create a directory with the name of the module (do not create a complete

[symfony-users] Re: prod environment vs. dev environment

2007-07-23 Thread Frank Stelzer
Mmmh first of all rename your index.php in index2.php. Maybe your WAMP installation redirects/rewrite something, which it should not. Check > http://localhost:8080/index2.php and hope you get more, than a blank page :) - Frank Am 23.07.2007 um 20:14 schrieb Brian Hoke: > I've installed a symf

[symfony-users] Re: sfGuard

2007-08-08 Thread Frank Stelzer
You can link to the customized action, where you handle your customized stuff and after everything went fine you can forward to the normal login action of the plugin. - Frank Am 08.08.2007 um 21:18 schrieb g0d br: > Hi, > > I'm trying to use an customized sfGuardAuth action to be called >

[symfony-users] php_openssl.dll Warning ?

2007-08-09 Thread Frank Stelzer
Hey, I am a little bit lost at the moment, because i get on every domain, where i implemented a symfony project such warning message on my productive server (shared host): PHP Warning: PHP Startup: Unable to load dynamic library './ php_openssl.dll' - ./php_openssl.dll: cannot open shared o

[symfony-users] Re: php_openssl.dll Warning ?

2007-08-10 Thread Frank Stelzer
problem still exists - Frank Am 10.08.2007 um 17:59 schrieb Tristan Rivoallan: > > On 8/10/07, Frank Stelzer <[EMAIL PROTECTED]> wrote: > >> To solve this problem, i have to know, where the according code >> line is >> located, which causes this problem

[symfony-users] Re: php_openssl.dll Warning ?

2007-08-10 Thread Frank Stelzer
, i have to know, where the according code line is located, which causes this problem. > Well, that your configuration problem, not symfony's as it seems. Eigher > comment out php_openssl.dll or put it there so PHP can find it. > > On 8/9/07, Frank Stelzer <[EMAIL PROTECTED]&

[symfony-users] Re: propel many-to-many example

2007-08-15 Thread Frank Stelzer
A good point to learn how symfony handles m:m relationships is this small chapter: http://www.symfony-project.com/book/trunk/14-Generators#Many-to-Many% 20Relationships The chapter talks about the admin generator, but one get the point :) Am 15.08.2007 um 21:04 schrieb hutchic: > > http:/

[symfony-users] Re: new symfony plugin, sfLightWindowPlugin

2007-08-17 Thread Frank Stelzer
Looks really great. I am using the sfLightboxPlugin at the moment and now i am thinking of switching to this new plugin. Great work! - Frank --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group

[symfony-users] Re: how to create a drag_and_drop

2007-08-17 Thread Frank Stelzer
http://www.symfony-project.com/book/trunk/11-Ajax-Integration#Drag-and-Drop These drag and drop boxes can be implemented by ajax sortable lists. - Frank > hi. > im try to find a drag_and_drop box example like a www.igoogle.com but im > dont find... > some idea of as to make? > > tks > > > >

[symfony-users] Re: Losing session problem

2007-08-20 Thread Frank Stelzer
Hi, how do you manage your sessions? Are you using the standard serverside sessions or do you save your sessions in the database? Or to speak symfony: Do you use the sfSessionStorage or the sfMySQLSessionStorage as storage? I hope you use the last one, because is the only solution, where

[symfony-users] Re: Where to locate own (PHP-) Interfaces

2007-08-20 Thread Frank Stelzer
Put it in a normal sub directory of your projects lib folder (so you can reuse it better afterwards or export it to a plugin). Only the orm tools put files in the lib/model dir in my projects. - Frank Am 20.08.2007 um 14:33 schrieb Sebastian Schulze: > > Hey guys. > > I want some of my mode

[symfony-users] Re: Losing session problem

2007-08-20 Thread Frank Stelzer
Hi again, i use sfPostgreSQLSessionStorage in a web server cluster and have no problems. For debugging your problem, i would write s small filter for that, that logs session id and user id for every request. So you could track down, when your session gets really lost. Have you checked, if

[symfony-users] [sfGuardUserPlugin] Remember Me Filter

2007-08-26 Thread Frank Stelzer
Hi everybody, I have an understanding problem with the remember me filter of the sfGuardUserPlugin. As far as i understood this filter, it only works within actions, which are secured (the security handler checks if the according action is secured and only adds this remember me filter when

[symfony-users] Re: announce: sfMemcachePlugin-0.2

2007-08-30 Thread Frank Stelzer
Just a small hint: Are you aware of, that a sfMemcacheCache class already exists? http://trac.symfony-project.com/trac/browser/trunk/lib/cache/ sfMemcacheCache.class.php This could cause naming problems, if one would use this plugin. - Frank Am 31.08.2007 um 01:10 schrieb Myke Hines: > > I

[symfony-users] Re: announce: sfMemcachePlugin-0.2

2007-08-30 Thread Frank Stelzer
s > on purpose that the naming be conflicting because the plugin is > incompatable and unneccesary with symfony 1.1.x > >thanks tho > > On Aug 30, 2007, at 5:07 PM, Frank Stelzer <[EMAIL PROTECTED]> > wrote: > >> >> Just a small hint: >> >>

[symfony-users] Re: How to use sfPropelActAsSortableBehaviorPlugin in a range data?

2007-09-04 Thread Frank Stelzer
Does this work? > $node5 = abcPeer::retrieveByPK(5); > $node5->moveToTop($node5); moveToTop takes a sortable object, so $node5 itself. Am 04.09.2007 um 20:09 schrieb Cipher Chien: > $node5 = abcPeer::retrieveByPK(5); > $node5->moveToTop($records); > //hum... this is not work. --~--~-

[symfony-users] Re: Two new plugins: polling and rating

2007-09-05 Thread Frank Stelzer
Great work! I need this functionality for my current project the next days and i was afraid, that i have to do all the work alone. But so, you saved me lots of hours of work! Thanks! - Frank Am 05.09.2007 um 18:21 schrieb Nicolas Perriault: > > Francois Zaninotto a écrit : > >> May I sugg

[symfony-users] Re: Image generator

2007-09-10 Thread Frank Stelzer
have a look at this cookbook chapter: http://www.symfony-project.com/cookbook/1_0/upload - Frank Am 10.09.2007 um 20:20 schrieb Eno: > > Is it possible to manage image uploads through the Symfony generator? > If not, is there a plugin that does something similar that's easy to > integrate? >

[symfony-users] Re: single record in the table

2007-09-18 Thread Frank Stelzer
Why do you not add an unique constraint to the name field? Look at the sfPropelUniqueValidator, if you want to validate this constraint on php side. - Frank Am 18.09.2007 um 19:34 schrieb jhon cañas: > > hi.. > I need validate if a record exist in a table before insert. example: > > id | n

[symfony-users] Re: sfGuardUser : profile

2007-09-19 Thread Frank Stelzer
try $sf_user->getGuardUser()->getProfile()->getId(); $sf_guard_user is not available in templates normally. > > Hi everyone, > > I'm having trouble creating a partial link to the edit user profile in > sfGuardUser > > I've created _userprofile.php in the templates/ directory, but when I > try

[symfony-users] Re: GPLed plugins

2007-09-19 Thread Frank Stelzer
+1 When i use a plugin hosted on the project website, i assume that the plugin has the same license than the project itself. That means, i would seperate the "normal" plugins from plugins with other licenses. Tagging would be the first step, but i think it would be too confusing, when there

[symfony-users] Re: GPLed plugins

2007-09-20 Thread Frank Stelzer
Only one small additional idea: Cause of this reason, we could add a extra "license filter", which goes throw all installed plugins and check there licenses (so every symfony project could be license validated). Therefore you have to define a plugin_license_only: MIT in your settings.yml or wh

[symfony-users] Re: Very, very slow app?symfony(not really)?server??

2007-09-27 Thread Frank Stelzer
I am currently hosting on a shared host, too and i have performance problems. But you can completly disable logging, activate caching (as far as possible) and deactivate some standard helpers, which maybe are not used in your app. When you use the admin generator try to define join methods

[symfony-users] Re: [sfGuardPlugin] Remember Me Filter

2007-10-07 Thread Frank Stelzer
it > doesn't do this then it's a bug, IMO. > > If you're sure you're doing everything right, make a trac ticket > telling me how to recreate this situation and then assign it to me > (davedash) and I'll have a look at it. > > -d > > On

[symfony-users] Re: ORM?

2007-10-08 Thread Frank Stelzer
I use Propel 1.3 rev701 standalone in an none symfony project and i like it so much better than 1.2. However, the nested set support has still some bugs, but the rest works very fine. I decided against doctrine because of the lack of stability. I didn't tested Propel 1.3 with symfony, but i w

[symfony-users] Re: Callback with Prototype Window

2007-10-08 Thread Frank Stelzer
> var json=transport.responseText.evalJSON(false); Did you changed this flag to true already? JS is not evaluated by default after a remote request. Am 08.10.2007 um 17:08 schrieb [EMAIL PROTECTED]: > > Hi, > I got a problem with prototype Window. > My goal is to call a PW with a form. > The fo

[symfony-users] Re: Propel performance patch

2007-10-16 Thread Frank Stelzer
>> but many problems with other plugins as well (e.g. the nested set one) Propel 1.3 has nested set support natively, so the nested set plugin is absolete. I use Propel 1.3 in a non-symfony application and it works very well. The disadvantage of Propel 1.3 is currently the lack of debug

[symfony-users] Re: Symfony coders needed / symfony e-commerse module...

2007-10-23 Thread Frank Stelzer
What is the current state of this plugin? Is there any chance to contribute? I have to implement common shop functionality within the next days and do not want to reinvent the wheel. Please let me know, how you discuss this topic, beside this mailinglist. - Frank Am 04.10.2007 um 20:54 sch

[symfony-users] Re: I18N problem

2007-11-02 Thread Frank Stelzer
There is a ":" missing > new_registration: <--- > url: /:sf_culture/signup > param: { module: user, action: signup } Am 02.11.2007 um 13:09 schrieb Mohammad Asif Ali: > new_registration > url: /:sf_culture/signup > param: { module: user, action: signup } --~--~-~--~-

[symfony-users] Different layout file with sfDimensionsPlugin

2007-11-04 Thread Frank Stelzer
Hi, I have a understanding problem with sfDimensionsPlugin. I want to set a dimension, within a preExecute action method, to be able to call a complete different layout.php than the rest does. Example my_module1 -> should always be rendered with /app/templates/layout.php my_module2 -> should

[symfony-users] Re: Different layout file with sfDimensionsPlugin

2007-11-04 Thread Frank Stelzer
{ > $this->setLayout('mylayout'); > } > } > > > sfDimensionsPlugin changes the lookup paths for all files, not just > the the > layout, it is probably over kill for what you are trying to do. > > Cheers, > > Dustin > > On 11/4/07 5:00 PM, "Frank St

[symfony-users] Re: Model generate problem

2007-11-07 Thread Frank Stelzer
In case you use propel: Use timestamp instead of datetime. Propel supports date, time and timestamp as date&column types: http://propel.phpdb.org/docs/user_guide/chapters/ColumnTypes.html And it may read: > start_date:timestamp You missed the ":" - Frank Am 07.11.2007 um 10:25 schrie

[symfony-users] Re: accessing model variable in filter

2007-11-12 Thread Frank Stelzer
Uli, there is no huge different between interacting with the model layer in a filter or in a action. Have a look at this filter for an example: http://trac.symfony-project.com/browser/plugins/sfGuardPlugin/lib/ sfGuardBasicSecurityFilter.class.php As you want to do some performance tweaks i

[symfony-users] Re: sfPropel13Plugin - 'Fatal error: Call to undefined method PDOStatement::next()'

2008-05-24 Thread Frank Stelzer
You have to assign all your custom queries to Propel 1.3 syntax. CreoleStmt:next() for example to PDOStatement::fetch() Read the documentation about PDO for more information: http://propel.phpdb.org/trac/wiki/Users/Documentation/1.3/Criteria http://us.php.net/pdo Am 24.05.2008 um 09:05 schrieb

<    1   2