[symfony-users] How to display an app on the backend and frontend

2011-11-30 Thread Dave
Hello.
I wonder how I can display an app on the backend and frontend
Thanks...

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] NestedSet admin generator

2010-11-27 Thread Dave
I have been struggling to generate a form which has fields to use the
NestedSet behavior.  I have my yaml schema defined like so

Geography:
  actAs:
NestedSet:
Sluggable:
  unique: true
  name: friendly_url
  fields: [title,id]
  canUpdate: false
  columns:
title: string(255)
description: string(255)
meta_title: string(255)
meta_description: string(255)

When running ./symphone doctrine:generate-admin backend geography the
resulting fields just have text entry values for the level, lft, and
rgt, fields.

I have searched quite a bit for information, but the only tutorials I
could find reference adding a widget called
sfWidgetFormDoctrineChoiceNestedSet which doesn't appear to exist
anymore.

Has this functionality been removed?

Thanks,

Dave

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] frameset

2010-03-23 Thread Dave Helard
Hi Everyone,

Can anybody has example of using frameset ? I am not able to find any way of
using frameset with symfony. I dont know where to add the frameset tag and
all. I tried something, but could get the result I want. If any one has done
this before, please reply to my post.

Regards,
Dave.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


[symfony-users] Re: Updating data with Doctrine Migations

2009-12-30 Thread Dave
I am able to get the data migrated, but it is step 3 that I am trying
to find the most correct but direct method (using Doctrine
migrations).

The issue with the example at
http://www.doctrine-project.org/documentation/cookbook/1_0/en/symfony-and-doctrine-migrations
is that it requires the models to be updated twice, once before the
migration and again after the migration.  This does not seem to work
well for a distributed team, nor for deployment to production systems
as the upgrade is then a two step (two installed packages) upgrade
instead of a single testable and deployable package.

My current method is to use Doctrine_Manager::connection()->getDbh()
and then use PDO to migrate the data using standard SQL which then
doesn't need the old version of the model classes, but I was wondering
if there was a more "proper" way to do it via Doctrine or if there is
no direct support for this type of migration (yet).  The other option
I was looking at was copying the old model to a new class (uniquely
named by the version) and using that during the migration, but that
seemed unclean as well.


David
--
On Dec 26, 3:10 pm, Alexandre Salomé 
wrote:
> Your steps for the migration :
>
>    - Create the new table with your DocumentState class
>    - Add a new column "state_id" for your foreign key
>    - Foreach instance, find/create a state object and associate it.
>    - Delete your state_ columns
>
> Is it OK ?

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Re: Updating data with Doctrine Migations

2009-12-26 Thread Dave
Thanks, but updating the structure is not the issue (the tools work
pretty well for that).

The problem is migrating the data.  The model for the "Document" table
has changed in this example, thus the old columns are not in the model
any more (and new columns are in the model that are not in the old
table structure).


Dave
--

On Dec 26, 2:54 am, Alexandre Salomé 
wrote:
> Migration in Doctrine offers you some "tools methods" : add column, create
> table, delete table, delete column, create FK... methods to alter the
> structure (see 
> documentation<http://www.doctrine-project.org/documentation/manual/1_2/en/migrations>).
> Model-stuff is still available.
>
> See this sample 
> :http://www.doctrine-project.org/documentation/cookbook/1_0/en/symfony...
>
> Good luck, Alexandre
>
> 2009/12/24 Dave 
>
>
>
> > I am trying to determine the "proper" way to update data when using
> > doctrine migrations.
>
> > Having a legacy table similar to
>
> >  Document -> id (PK), state (string, nn), state_code (string, nn),
> > title (string, nn)
>
> > and changing it to be two tables similar to
>
> >  State -> id (PK), state (string, nn), state_code (string, nn), slug
> > (string, nn, based on state_code)
> >  Document -> id (PK), state_id (FK), title (string, nn), slug
> > (string, nn, based on FK's state_code and title)
>
> > Adding the tables and adjusting the columns works fine, but so far it
> > looks like I have to use Doctrine_Manager::connection()->getDbh() and
> > perform the data changes via PDO since the models have changed enough
> > that they cannot be used with the existing table.
>
> > Is there a more proper way to do the changes using Doctrine, or is
> > bypassing Doctrine using PDO the best way (especially since there are
> > many rows in the Document table).
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "symfony users" group.
> > To post to this group, send email to symfony-us...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > symfony-users+unsubscr...@googlegroups.com
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/symfony-users?hl=en.
>
> --
> Alexandre Saloméhttp://alexandre-salome.fr

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Updating data with Doctrine Migations

2009-12-24 Thread Dave
I am trying to determine the "proper" way to update data when using
doctrine migrations.

Having a legacy table similar to

  Document -> id (PK), state (string, nn), state_code (string, nn),
title (string, nn)

and changing it to be two tables similar to

  State -> id (PK), state (string, nn), state_code (string, nn), slug
(string, nn, based on state_code)
  Document -> id (PK), state_id (FK), title (string, nn), slug
(string, nn, based on FK's state_code and title)

Adding the tables and adjusting the columns works fine, but so far it
looks like I have to use Doctrine_Manager::connection()->getDbh() and
perform the data changes via PDO since the models have changed enough
that they cannot be used with the existing table.

Is there a more proper way to do the changes using Doctrine, or is
bypassing Doctrine using PDO the best way (especially since there are
many rows in the Document table).

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.




[symfony-users] Re: Multiple Doctrine Databases / Sf1.4 Issues

2009-12-08 Thread Dave
I am getting this issue with the Symfony 1.3.1 tag as well

A workaround that seems to work at the moment is to put
  Doctrine_Manager::getInstance()->bindComponent(,
);
lines into the ProjectConfiguration file.


Dave
--

On Nov 26, 9:51 am, Jonathan Wage  wrote:
> This should be fixed now.
>
> - Jon
>
> On Wed, Nov 25, 2009 at 1:29 PM, Thomas Parisot // Oncle Tom <
>
>
>
> tho...@oncle-tom.net> wrote:
> > I'm not encountering this problem anymore with Doctrine 1.2-RC1.
>
> > :)
>
> > On 24 nov, 19:49, "Thomas Parisot // Oncle Tom" 
> > wrote:
> > > Isn't it similar to this?http://trac.symfony-project.org/ticket/7659
>
> > > On 24 nov, 17:48, PhiKapJames  wrote:
>
> > > > I created a ticket, but appears that one was already created 2 days
> > > > ago.
>
> > > > On Nov 24, 11:06 am, PhiKapJames  wrote:
>
> > > > > Found an issue with using multiple databases.  I'm using the lastest
> > > > > 1.4 tag updated up to 20 minutes ago.  To test the issue, I created a
> > > > > test project and documented the steps I used to have the issue.
>
> > > > > The issue seems to be that no matter what connection is specified,
> > > > > once the model is used, it will always try to use the last connection
> > > > > in the list.  Here's what I did.
>
> > > > > I created two databases quickly:
> > > > > CREATE DATABASE `test1`;
> > > > > CREATE TABLE IF NOT EXISTS `Rebel` (
> > > > >   `RebelID` int(11) NOT NULL auto_increment,
> > > > >   `RebelName` varchar(32) NOT NULL,
> > > > >   `BallOrChain` tinyint(4) NOT NULL,
> > > > >   PRIMARY KEY  (`RebelID`)
> > > > > ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
>
> > > > > CREATE DATABASE `test2`;
> > > > > CREATE TABLE IF NOT EXISTS `Song` (
> > > > >   `Sacred` int(11) NOT NULL,
> > > > >   `Heart` varchar(32) NOT NULL,
> > > > >   UNIQUE KEY `Sacred` (`Sacred`)
> > > > > ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
>
> > > > > I then configured the databases in sf:
> > > > > ./symfony configure:database --name=test1 --class=sfDoctrineDatabase
> > > > > "mysql:host=localhost;dbname=test1" test1 test1
> > > > > ./symfony configure:database --name=test2 --class=sfDoctrineDatabase
> > > > > "mysql:host=localhost;dbname=test2" test2 test2
>
> > > > > $ cat config/databases.yml
> > > > > all:
> > > > >   test1:
> > > > >     class: sfDoctrineDatabase
> > > > >     param:
> > > > >       dsn: 'mysql:host=localhost;dbname=test1'
> > > > >       username: test1
> > > > >       password: test1
> > > > >   test2:
> > > > >     class: sfDoctrineDatabase
> > > > >     param:
> > > > >       dsn: 'mysql:host=localhost;dbname=test2'
> > > > >       username: test2
> > > > >       password: test2
>
> > > > > Then I ran all the normal things:
> > > > > ./symfony doctrine:build-schema
> > > > > ./symfony doctrine:build-model
> > > > > ./symfony doctrine:build-form
> > > > > ./symfony doctrine:build-filters
>
> > > > > ./symfony doctrine:generate-module --with-show
> > --non-verbose-templates
> > > > > frontend rebel rebel
> > > > > ./symfony doctrine:generate-module --with-show
> > --non-verbose-templates
> > > > > frontend song song
>
> > > > > Verified that the model created correctly with the connection
> > > > > specified in base:
> > > > > $ head lib/model/doctrine/base/BaseRebel.class.php
> > > > >  > > > > // Connection Component Binding
> > > > > Doctrine_Manager::getInstance()->bindComponent('Rebel', 'test1');
>
> > > > > Now if I go tohttp://test.localhost/frontend_dev.php/rebel, I get an
> > > > > error:
> > > > > SQLSTATE[42S02]: Base table or view not found: 1146 Table
> > > > > 'test2.Rebel' doesn't exist. Failing Query: "SELECT r.rebelid AS
> > > > > r__rebelid, r.rebelname AS r__rebelname, r.ballorchain AS
> > > > > r__ballorchain FROM Rebel r"
>
> > > > > From this I see that it&

[symfony-users] Re: Symfony @ DreamHost?

2008-02-24 Thread Dave Dash

Wait, I have experience with that process... compiling your own PHP on
DH isn't as bad as it seems... I had to do it, but it was worth it, of
course my DH setup is on a private server, which... sometimes sucks
becaus we by default get an old php 5.1.x series instead of 5.2.x.

Let me know if you have any troubles if you do compile it yourself.

Of course, I have had much better luck elsewhere.

On Feb 22, 2:04 am, "Lee Bolding" <[EMAIL PROTECTED]> wrote:
> Has anybody on the list managed to get an application running on Symfony at
> DreamHost?
>
> I've frozen one of my projects and deployed it, and it *mostly* works... I
> think it's failing due to the way the rewriting is working (or not working).
>
> I've googled around and found a bunch of posts stating that it "just works",
> but I can't find any links to these applications err... working. I'm
> assuming therefore that "working" means that the default module and action
> screen appears.
>
> I get the error message "No input file specified", which I'm led to believe
> is because of PHP being run as a CGI.
>
> I'm investigating options to mess around with the .htaccess file at the
> moment, but it seems like I may need to take the drastic step of following
> the process here 
> :http://spindrop.us/2007/06/01/installing-a-php-that-can-do-symfonydoc...
> n-dreamhost/
>
> Anyone have any experience with this?
--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Django

2008-02-06 Thread Dave Dash

After hearing about sf2.0 and then reading the django docs... I put 2
and 2 together.  I'm actually really excited about sf2 now.  I think
the flexibility (I'm assuming) it'll afford will be a huge sell for
some development teams.

As to the main question.  I've been coding a lot of django in the last
few weeks and I do miss a lot of symfony stuff like the debug toolbar,
and sf's templating style, but the more I delve into it, I find decent
enough strategies for accomplishing the same thing.  I do miss the
flexibility of specifying js/css dynamically... it's possible, but
it's entirely different from how i'm used to doing it.

If it makes sense, a debug toolbar can probably be written for django
as a piece of middleware.  I'm just not quite at that level to create
such a thing at the moment...

On Feb 4, 8:27 am, Fabien POTENCIER <[EMAIL PROTECTED]
project.com> wrote:
> Django is just awesome. I think it's the best python framework... and
> some features of symfony 2.0 are inspired by Django ;-)
>
> Fabien
>
> --
> Fabien Potencier
> Sensio CEO - symfony lead 
> developerhttp://www.sensiolabs.com/http://www.symfony-project.com/
> Sensio Labs
> Tél: +33 1 40 99 80 80
>
> Thierry wrote:
> > Would like to hear some of the opinions.
> > I'm considering giving it a spin...
--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] If checked, then validate?

2008-02-05 Thread Dave Dash
I have a field that I only want required if it another is checked, is their
a way to do that using the yml files?

-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: sfGuard + profile + admin

2008-01-30 Thread Dave Dash
I find it's a lot easier to do this the other way around.  Add a link from
your profile to your sfGuard object.



On Jan 29, 2008 5:06 AM, Ámon Tamás <[EMAIL PROTECTED]> wrote:

>
> Hello,
>
> What is the easiest way to add profile information to the sfGuard admin
> section?
>
>
> --
> Ámon Tamás <[EMAIL PROTECTED]>
>
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: sfForms11Plugin issue with existing sfPropelUniqueValidator

2008-01-28 Thread Dave

Thanks!

At least I now know that I am not just barking up the wrong tree.

So, my current workaround is to just copy the needed validators from
pear/symfony/validator/... and pear/symfony/addon/propel/validator/...
making the required changes (renaming sfValidator to sfValidatorBase
and then making the others inherit from that).

Part of the issue is that the validators have changed names, so I need
more of a sfValidators10CompatibleWithForms11Plugin ;-) as I'd rather
not change the code for the other plugins directly.

It looks like the sfFormExtraPlugin is probably not the best place to
put backwards-compatible versions of the renamed validators (eg.
sfStringValidator -> sfValidatorString), but is probably the place for
the propel validator.  Once I get a bit of time I'll look at trying to
write that one properly and contribute it.


Thanks again,

David
--

On Jan 28, 1:48 pm, Kiril Angov <[EMAIL PROTECTED]> wrote:
> I am using the plugin you mentioned and I had the same problem with the
> validator. I am afraid there is no solution yet but it is in on the 
> way:http://trac.symfony-project.com/wiki/sfFormExtraPlugin
>
> There is no code there yet but on the TODO is a replacement for
> sfPropelUniqueValidator. You can either wait or write it yourself for
> all of us to use :)
>
> Kupo
>
> Dave wrote:
> > I'm sure I must be missing something simple, but has anyone else had
> > issues with trying to use the sfForms11Plugin in an existing 1.0
> > symfony application?
>
> > In particular, I am getting
>
> > Fatal error: Class sfPropelUniqueValidator contains 1 abstract method
> > and must therefore be declared abstract or implement the remaining
> > methods (sfValidator::doClean) in /usr/share/pear/symfony/addon/propel/
> > validator/sfPropelUniqueValidator.class.php on line 32
>
> > where the sfPropelUniqueValidator is being used (by default) by the
> > sfGuardPlugin.
>
> > It seems that in 1.1 the unique validator now extends a new base
> > validator class and in 1.0 it extends the same class name as the new
> > 1.1 forms validators.
>
> > Is this something that should work (without having to change a lot of
> > core/plugin classes), or should I just wait until 1.1 comes out before
> > I use the new forms functionality?
--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] sfForms11Plugin issue with existing sfPropelUniqueValidator

2008-01-28 Thread Dave

I'm sure I must be missing something simple, but has anyone else had
issues with trying to use the sfForms11Plugin in an existing 1.0
symfony application?

In particular, I am getting

Fatal error: Class sfPropelUniqueValidator contains 1 abstract method
and must therefore be declared abstract or implement the remaining
methods (sfValidator::doClean) in /usr/share/pear/symfony/addon/propel/
validator/sfPropelUniqueValidator.class.php on line 32

where the sfPropelUniqueValidator is being used (by default) by the
sfGuardPlugin.

It seems that in 1.1 the unique validator now extends a new base
validator class and in 1.0 it extends the same class name as the new
1.1 forms validators.


Is this something that should work (without having to change a lot of
core/plugin classes), or should I just wait until 1.1 comes out before
I use the new forms functionality?
--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: sfZendPlugin gone?

2008-01-27 Thread Dave Dash
I think I did make a notice about this.  Sorry this was sort of spur of the
moment when I was cleaning up all the plugins I work on.  In any case Dustin
is right, in fact he convinced me to axe it.  I never provided any real
helpers, etc, and really the real driver for creating the plugin was for
Lucene support, but sfLucene already svn:externals this.

This is still available by pinning your external to an older revision - but
like dw said, it's not too much work to just add this to your lib/vendor

On Jan 26, 2008 3:15 PM, Simone Carletti <[EMAIL PROTECTED]> wrote:

> Hi Dustin,
> I agree with you (and I supposed it was the reason) but I think a plugin
> support cannot be dropped in this way without any notice or information.
>
> I would left at least a wiki page or an empty SVN folder with a README
> file (including deprecation details) instead of dropping it from SVN without
> any notice.
>
> What do you think?
>
> Simone
>
> PS. Thanks for the Zend/Pear link, I didn't know it before.
>
>
>
> On Jan 27, 2008 12:08 AM, Dustin Whittle <
> [EMAIL PROTECTED]> wrote:
>
> > Simone,
> >
> > The idea is that the only thing the sfZendPlugin does is create a
> > wrapper
> > around svn:externals to the zend framework. This is kind of pointless
> > since
> > you can already install zend directly via svn:externals or with pear:
> >
> > pear channel-discover zend.googlecode.com/svn
> > pear install zend/zend
> >
> > I think this is true for a few other plugins that wrap libraries, but do
> > not
> > add any other functionality (like helpers or util classes, etc).
> >
> > - Dustin
> >
> > On 1/26/08 12:17 PM, "Simone Carletti" <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > Hi Ian,
> > > I admit I didn't notice the change before your post.
> > >
> > > It seems it was removed by Dave Dash on changeset on r6893
> > > http://trac.symfony-project.com/changeset/6893
> > > but I really can't understand the reason.
> > >
> > > He's an active groups poster, I hope he will join this
> > > conversation. :)
> > >
> > > Simone
> > >
> > >
> > > On 26 Gen, 08:51, IanCitti <[EMAIL PROTECTED]> wrote:
> > >> Hi,
> > >>
> > >> Is the sfZendPlugin gone? I'm getting a 404
> > >> here:http://svn.symfony-project.com/plugins/sfZendPlugin
> > >>
> > >> ...and the only hint I have found in my searches is
> > >> here:
> > http://groups.google.com/group/symfony-devs/browse_thread/thread/8cf9...
> > >>
> > >> ...where it reads:
> > >> "In some cases like sfZendPlugin where it was strictly an external
> > >> link it made sense to axe it"
> > >>
> > >> ...but I would have expected more information on this. I suppose it
> > is
> > >> easy enough to include ZFW classes so maybe it doesn't matter that
> > the
> > >> plugin is gone.
> > >>
> > >> Ian
> > >
> > > >
> >


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Square Facebook type thumbnail

2008-01-23 Thread Dave Dash
:) it's a bit dated, let me know how it works.  I'll probably redo it in a
plugin and support either jquery or yui.

On Dec 10, 2007 11:04 AM, Tom Haskins-Vaughan <[EMAIL PROTECTED]>
wrote:

>
> kdizza, you've hit the nail on the head! Thanks.
>
> kdizza wrote:
> >
> http://spindrop.us/2006/09/16/cropping-images-using-dhtml-prototype-and-symfony/
> >
> > On Dec 9, 11:22 pm, Tom Haskins-Vaughan <[EMAIL PROTECTED]>
> > wrote:
> >> Has anybody by any chance created a module that creates a square
> >> thumbnail (like on Facebook) from an uploaded image that they are
> >> willing to share?
> > >
> >
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] parameters not being urldecoded

2008-01-22 Thread Dave Dash
Let's say I have a form

and submit '*' to 

thus generating a url

/q/%252A

for some reason this gets turned into %2A on one of my servers (nginx)

versus

being turned into '*'

So I traced this bug all the way to the sfWebRequest loadParameters  
method.  ANd it seems like normally your PATH_INFO will say /q/%2A  
and parse_str will change that to '*', but my PATH_INFO has the same  
data as request_uri.

I can't figure out a way to compensate for that.  I thought turning  
of PATH_INFO all together would work, but symfony did the same thing.

Any ideas?


Dave Dash
Eat smarter... www.reviewsby.us




--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: sf1.0: App constants in validation yaml?

2008-01-21 Thread Dave Dash
Unfortunately that did not work either.  I have to re-examine my files
again, but sfConfig::get didn't output things as planned.

-d

On Jan 19, 2008 12:07 AM, Zoltán Németh <[EMAIL PROTECTED]> wrote:

>
> 2008. 01. 18, p�ntek keltez�ssel 10.10-kor Dave Dash ezt �rta:
> > Is their a way to use my constants defined in app.yml in a validation
> > file?
> >
> > The %APP_CONSTANT% method did not work nor did  > sfConfig::get('app_constant')?>
>
> try
> 
>
> greets
> Zolt�n N�meth
>
> >
> >
> > >
>
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] nginx and symfony

2008-01-19 Thread Dave Dash
So I've been dabbling with nginx and it seems fairly cool, but I can't get
past rewriting and having issues with rewriting urls.

So does anybody have symfony working well with nginx?  I feel like I'm very
close, but just missing a few things, just because I don't understand
fastcgi enough.

-d

-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: CMS written in Symfony / Call for help

2008-01-18 Thread Dave Dash
This is awesome!

I will definitely look into playing around with this.  What type of
development model will you have?  E.g. will you have a maintainer and small
core of developers or will you have a crazy free-for-all (as you can tell
I'm not a fan of the latter ;)).

-d



On Jan 18, 2008 1:17 PM, Francois Baligant <[EMAIL PROTECTED]>
wrote:

>
> Remove plugins/sfPropelVersionableBehaviorPlugin/config/schema.xml and
> proceed again
>
> Regards,
> Francois
>
> On Jan 14, 7:09 pm, francis  belanger <[EMAIL PROTECTED]>
> wrote:
> > Warning: Creole::include_once(): Failed opening 'p.php' for inclusion
> > (include_path='/var/www/steer/lib:/var/www/steer:/var/www/steer/apps/
> > backend/lib:/var/www/steer/config/../lib/symfony/vendor:/var/www/steer/
> > config/../lib/symfony:/var/www/steer:/var/www/steer/config/../lib/
> > symfony/vendor/propel-generator/classes:/var/www/steer/lib:/var/www/
> > steer/apps//lib::/var/www/steer/config/../lib/symfony/vendor:.:/usr/
> > share/php:/usr/share/pear') in /var/www/steer/lib/symfony/vendor/
> > creole/Creole.php on line 366
> >
> >   [PropelException]
> >[wrapped: Unable to load driver class: p [User Info: Array]]
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Rambo Facebook Application

2008-01-18 Thread Dave Dash
Did you by chance use the FB Platform plugin?  Just curious about its
usage/use cases.

On Jan 15, 2008 8:00 AM, Mat <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> I've been recently working on another Facebook Application in association
> with Sony, to support the upcoming Rambo Film. The Application is
> available
> at (http://apps.facebook.com/johnrambo), this has been built entirely on
> symfony, like my other applications.
>
> I would really appreciate all the feedback I can get, both +ve and -ve.
>
> Thanks in Advance.
>
> Mat
>
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] sf1.0: App constants in validation yaml?

2008-01-18 Thread Dave Dash
Is their a way to use my constants defined in app.yml in a validation file?

The %APP_CONSTANT% method did not work nor did 

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: symfony on other web servers?

2008-01-02 Thread Dave Dash
So what are the benefits to running symfony (or PHP5) through lighttpd?  I'm
not good with server configuration, but I really couldn't get *that* much
more performance by using lighttpd+fastcgi versus apache2+mod_php, but I do
like the ease of use that lighttpd offers.

On Dec 19, 2007 12:36 PM, Kiril Angov <[EMAIL PROTECTED]> wrote:

>
> If you know lighttpd, this should be what you need:
>
> alias.url = (
>  "/sf/" => "/usr/local/pear/data/symfony/web/sf/"
> )
>
> url.rewrite-once = (
>  "^/(.*)\.(.*)" => "$0",
>  "^/([^.]+)$" => "/index.php/$1",
>  "^/$" => "/index.php"
> )
>
> Kupo
>
> Eno wrote:
> > On Dec 19, 12:36 pm, "Ian P. Christian" <[EMAIL PROTECTED]> wrote:
> >
> >
> >> I know people have used lighttpd just fine. Infact,I tihnk the wiki has
> >> a page about doing so
> >>
> >
> > What about things like mod_rewrite? How do you do that under lighttpd?
> >
> >
> >
> > >
> >
> >
>
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] MediaLayer or other hosts for symfony

2007-10-18 Thread Dave Dash
Does anybody have experience with medialayer?

Or does anybody have recommendations for a good host for symfony apps for
smaller (in terms of reach) audiences?


The Hosts that support symfony page is a nice list, but it really doesn't
give a good idea as to whether they are any good... e.g. Dreamhost is awful,
but there's no mention of that (not that their should be in that forum).

-d

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: New Symfony Facebook Application

2007-10-18 Thread Dave Dash
Kiril,

This is what I noticed too when I saw it.  The author had beaten me to the
punch for that name, but unfortunately there was not much substance.

-d

On 10/15/07, Kiril Angov <[EMAIL PROTECTED]> wrote:
>
>
> Yes, will do some time this week and I think it will be good enough as a
> first version of the plugin. Does anybody know who is the author of
> sfFacebookPlugin, I wish if we can combine the efforts and not have more
> than one plugin for facebook application development. I took a look at
> sfFacebookPlugin but say not more that just a bridge to the facebook
> php5 classes but I might have overlooked something special :)
>
> Kupo
>
> Dave Dash wrote:
> > Kupo!
> >
> > This is incredible, thanks.  I don't have much time to look at it but
> > from your description it sounds great, so go ahead and commit it, can
> > you update the README as well to reflect your changes?
> >
> > Thanks!
> >
> > -d
> >
> > On 10/13/07, *Kiril Angov* <[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>> wrote:
> >
> >
> > Dave, I am building a Facebook application on top of Symfony and I
> > took
> > your sfFacebookPlatform plugin as a base and while putting it to
> real
> > use I made several important improvements.
> >
> > Because this plugin in not just a sfFacebook kind of helper I
> > wanted it
> > to do all the heavy facebook lifting and not just a gateway to the
> > native Facebook php5 classes.
> >
> > First I created sfFacebookController for several purposes. First,
> > I had
> > to overload the redirect() method to not send status code 302 but
> > rather
> > 200 with the content for canvas redirection . Also
> the
> > erro404 action was sending error code 404 which makes facebook
> > adds it's
> > own text under your facebook 404 action which makes it looks bad
> like
> > "please come after several days" :) Now I can define my erro404 and
> it
> > will look exactly as I want it and facebook will not know that it
> > is 404
> > at all as it does not need to know anyway. The third reason is that
> > there is not point to have helpers for facebook fb_link_to(),
> > fb_url_to() and all that depend on them when we can simply change
> > genUrl() in sfFacebookController to achieve that effect on the
> stock.
> > The reasoning is that in my facebook application I use pretty much
> > 100%
> > of the time fb_* as I do not want to redirect to a different
> location
> > but the facebook application. All those fb_* functions did not
> > make sense.
> >
> > In the FBML helper I created fb_include_title(),
> > fb_include_javascripts() fb_include_stylesheets(). In order to
> update
> > the application title you need to send  and not a
> > . Also all javascripts and stylesheets must be
> > inline and
> > not external files so the stock helper functions do not do much
> > help in
> > a Facebook application context. I have not fully finished
> > fb_include_stylesheets() and fb_include_javascripts() but you get
> > the idea.
> >
> > I made some changes to the sfFacebookFilter also, you will see
> > what they
> > are from the source code. There may be some other changes so
> > looking at
> > the diff will make the most sense.
> >
> > I am putting the diff here: http://pastie.caboo.se/106830
> >
> > I have write privileges so I can commit the changes but I am not
> > sure if
> > you are using the current plugin as it is and I did not want to
> > "happily" surprise you. So either give me a heads up to commit
> > them or
> > otherwise :)
> >
> > Best,
> > Kupo
> >
> >
> > Dave Dash wrote:
> > > Mat,
> > >
> > > If you get a chance or are making another app, look at
> > > sfFacebookPlatformPlugin, specifically the helpers.  I wrote some
> > > voodoo code to get the routing the way Facebook needs it, I'm just
> > > curious to have another facebook developer review it.
> > >
> > > -d
> > >
> > > On 8/5/07, *Mat* < [EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>>>
> > > wrote:
> > >
> > >
> > >

[symfony-users] Re: New Symfony Facebook Application

2007-10-15 Thread Dave Dash
Kupo!

This is incredible, thanks.  I don't have much time to look at it but from
your description it sounds great, so go ahead and commit it, can you update
the README as well to reflect your changes?

Thanks!

-d

On 10/13/07, Kiril Angov <[EMAIL PROTECTED]> wrote:
>
>
> Dave, I am building a Facebook application on top of Symfony and I took
> your sfFacebookPlatform plugin as a base and while putting it to real
> use I made several important improvements.
>
> Because this plugin in not just a sfFacebook kind of helper I wanted it
> to do all the heavy facebook lifting and not just a gateway to the
> native Facebook php5 classes.
>
> First I created sfFacebookController for several purposes. First, I had
> to overload the redirect() method to not send status code 302 but rather
> 200 with the content for canvas redirection . Also the
> erro404 action was sending error code 404 which makes facebook adds it's
> own text under your facebook 404 action which makes it looks bad like
> "please come after several days" :) Now I can define my erro404 and it
> will look exactly as I want it and facebook will not know that it is 404
> at all as it does not need to know anyway. The third reason is that
> there is not point to have helpers for facebook fb_link_to(),
> fb_url_to() and all that depend on them when we can simply change
> genUrl() in sfFacebookController to achieve that effect on the stock.
> The reasoning is that in my facebook application I use pretty much 100%
> of the time fb_* as I do not want to redirect to a different location
> but the facebook application. All those fb_* functions did not make sense.
>
> In the FBML helper I created fb_include_title(),
> fb_include_javascripts() fb_include_stylesheets(). In order to update
> the application title you need to send  and not a
> . Also all javascripts and stylesheets must be inline and
> not external files so the stock helper functions do not do much help in
> a Facebook application context. I have not fully finished
> fb_include_stylesheets() and fb_include_javascripts() but you get the
> idea.
>
> I made some changes to the sfFacebookFilter also, you will see what they
> are from the source code. There may be some other changes so looking at
> the diff will make the most sense.
>
> I am putting the diff here: http://pastie.caboo.se/106830
>
> I have write privileges so I can commit the changes but I am not sure if
> you are using the current plugin as it is and I did not want to
> "happily" surprise you. So either give me a heads up to commit them or
> otherwise :)
>
> Best,
> Kupo
>
>
> Dave Dash wrote:
> > Mat,
> >
> > If you get a chance or are making another app, look at
> > sfFacebookPlatformPlugin, specifically the helpers.  I wrote some
> > voodoo code to get the routing the way Facebook needs it, I'm just
> > curious to have another facebook developer review it.
> >
> > -d
> >
> > On 8/5/07, *Mat* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> > wrote:
> >
> >
> > Well I can assure you it is made with symfony! It was quite a
> > challenge
> > getting the two to play nicely :), especially the routing system,
> > but once
> > the initial integration problems were solved symfony performed
> > fantastically.
> >
> > Mat
> >
> > -Original Message-
> > From: Haris Zukanovic' [mailto:[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>]
> > Sent: 05 August 2007 21:26
> > To: symfony-users@googlegroups.com
> > <mailto:symfony-users@googlegroups.com>
> > Subject: [symfony-users] Re: New Symfony Facebook Application
> >
> >
> > I can't be sure... Just a feeling... can be 100% wrong
> >
> >
> > Mat wrote:
> > > Yes entirely :)
> > >
> > > Out of interest what made you think it wasn't?
> > >
> > > Mat
> > >
> > > -Original Message-
> > > From: Haris Zukanovic' [mailto:[EMAIL PROTECTED]
> > <mailto:[EMAIL PROTECTED]>]
> > > Sent: 05 August 2007 21:10
> > > To: symfony-users@googlegroups.com
> > <mailto:symfony-users@googlegroups.com>
> > > Subject: [symfony-users] Re: New Symfony Facebook Application
> > >
> > >
> > > Is this really made with symfony?
> > >
> > > Mat wrote:
> > >
> > >> Hi everyone,
> > >>
> > >> Firstly 

[symfony-users] Re: [sfLucenePlugin] Notice: iconv(): Detected an illegal character in input string...

2007-10-08 Thread Dave Dash
I've had this problem with Zend Lucene before (accented characters).  This
might be worth bringing up on the Zend Frameework mailing list as the author
of the Zend Search Lucene is quite helpful with debugging issues like this.

It might have to do with the analyzer you are using.

On 10/8/07, Daniel Staver <[EMAIL PROTECTED]> wrote:
>
>
> I'm trying to index only the title field of a class just to test the
> plugin. When I build the index I get the following error on all fields
> with Norwegian characters in them:
>
> PHP Notice:  iconv(): Detected an illegal character in input string
> in /var/www/nibr/dev/plugins/sfLucenePlugin/lib/vendor/Zend/Search/
> Lucene/Analysis/Analyzer/Common/TextNum.php on line 56
>
> Notice: iconv(): Detected an illegal character in input string in /var/
> www/nibr/dev/plugins/sfLucenePlugin/lib/vendor/Zend/Search/Lucene/
> Analysis/Analyzer/Common/TextNum.php on line 56
> PHP Notice:  iconv(): Detected an illegal character in input string
> in /var/www/nibr/dev/plugins/sfLucenePlugin/lib/vendor/Zend/Search/
> Lucene/Field.php on line 188
>
> Notice: iconv(): Detected an illegal character in input string in /var/
> www/nibr/dev/plugins/sfLucenePlugin/lib/vendor/Zend/Search/Lucene/
> Field.php on line 188
>
> What's causing this to happen? I've configured everything to use UTF-8
>
> apps/admin/config/search.yml:
> index:
>   name:  NIBR
>   encoding:  UTF-8
>   cultures:  [no,en]
>
> models:
>   Publication:
> fields:
>   id:    unindexed
>   Title: text
>
> The table type is INNODB with default character set UTF8
>
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: symfony-framework.nl launched!

2007-10-04 Thread Dave Dash
Nice use of the reset/font/grid css framework :)

On 10/4/07, Stefan Koopmanschap <[EMAIL PROTECTED]> wrote:
>
>
> Hi guys (especially the dutch),
>
> I've just launched a public beta of the website symfony-framework.nl,
> a website advocating the use of symfony in the Netherlands, aiming at
> developers and managers. A longer description of this can be found on
> my weblog:
> http://www.leftontheweb.com/article/359/symfony-frameworknl-launched
>
> Anyway, feel free to help me test the site a bit if you have some
> time. Just click around and if you encounter anything, let me know :)
>
> Stefan
>
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Yet another Yahoo! website with symfony

2007-10-03 Thread Dave Dash
This is great.  I was a little let down when Y! bookmarks was made because I
was a delicious user.

I've played with the delicious preview and its exciting.  I know Yahoo's use
of PHP has helped the case for PHP, hopefully the same can be said of
symfony.

-d

On 10/3/07, Phu Son <[EMAIL PROTECTED]> wrote:
>
>
> Congrats Fabien and team!
>
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Migrations

2007-09-26 Thread Dave Dash
No, and I'm skeptical that one will.  The problem with datamodels is they
are still an abstraction from a real database so we're still a ways off from
having... version controlled data models.  Plus there's all sorts of rules
for updating data that aren't easily mgratable, e.g. does a column get
dumped, renamed, recomputed, etc during migration or not?  What about FKs?

So at the moment I would say no there isn't.

Personally there's not much appeal for myself (and others that I've talked
to) since you need faith in such a tool to not put your database out of
working order ;)

Personally I keep track of all my SQL alter statements and cut and paste
them into my staging/production servers when necessary.  It's manual... but
it's cut and paste too ;)

On 9/26/07, Jon Busby <[EMAIL PROTECTED]> wrote:
>
>
> Hi Everyone,
>
> I know _something_ exists that mimics rails "migrations" but is there
> some easy way of upgrading the datamodel on production sites without
> either
> 1. manually doing it!
> 2. dumping -> insert -> insert!
>
> Thanks!
>
> --
>
> Thanks,
>
> Jon Busby
> JBtwo Web Development
>
> Mobile :: +44 (0)7834 22 8887
> Office :: +44 (0)208 0900 351
>
> http://www.jbtwo.com
>
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: symfony-network.com

2007-09-26 Thread Dave Dash
I know one thing I would like is recommendations for developers from other
developers I know.  I suppose linkedIn could provide similar functionality
or a facebook app could do the same thing.  But something geared toward
finding developers to work with sounds nice.  I know I *don't* go to FB or
linkedIn now, and it's because I feel they are too generalized to provide me
with a good lead.



On 9/26/07, Francois Zaninotto <[EMAIL PROTECTED]>
wrote:
>
> The idea of doing a social stuff for symfony developers is nice. But why
> reinvent the wheel and redevelop something while it is possible (and fast)
> to open a group in Facebook?
>
> What features would you like to include to the symfony social network that
> are not available in an existing social network?
>
> (just my 2c)
>
> François
>
> 2007/9/26, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> >
> >
> > Please count me in.
> >
> > Not much I could offer in terms of time and experiences, but I do
> > interested in this idea and willing to contribute as much as I can.
> >
> > All the best.
> > -arief
> >
> >
> >
> > On 9/26/07, Ant Cunningham < [EMAIL PROTECTED]> wrote:
> > >
> > > I should have some time in a couple weeks although it may be sporadic.
> > Ill
> > > warn you up front though im far from a dev rockstar... but id more
> > than
> > > welcome the opportunity to learn from some of you who are more
> > experienced
> > > than me - which I think is probably most everyone here haha.
> > >
> > >
> > > On 9/25/07 11:49 AM, "Stefan Koopmanschap" <
> > [EMAIL PROTECTED]>
> > > wrote:
> > >
> > > >
> > > > Hi all,
> > > >
> > > > I was not really planning yet on sharing my idea, but the recent
> > job-
> > > > discussion made me want to share that idea. It seems that there is
> > > > some interest. Let's use this thread to get discussion going on what
> > > > it should be, and who can work on it.
> > > >
> > > > First of all, my idea: A social networking/profile site, similar to
> > > > LinkedIn, Facebook, and similar sites, where each symfony developer/
> > > > enthousiast/user can register to create a profile. In this profile,
> > > > one could also add a CV, project portfolio, and toggle a status like
> > > > "available for hire/available as freelancer/looking for freelancer/
> > > > looking for developer". The site would be free to all (so not like
> > > > Monster where companies have to pay).
> > > >
> > > > I'd like feedback on that idea. What should not be done, what should
> > > > be done, what should be changed.
> > > >
> > > > Then, I think it would be good to form a (small) group of
> > developers.
> > > > I can install a trac, open a subversion repository, etc on my
> > > > DreamHost (where I host all my sites) to support the team effort of
> > > > developing this site. We'll probably need someone to have some sort
> > of
> > > > project manager role, and a few developers. Interested parties,
> > please
> > > > do respond.
> > > >
> > > > That's it for now.
> > > >
> > > > Stefan
> > > >
> > > >
> > > > >
> > >
> > >
> > >
> > > >
> > >
> >
> >
> >
> >
> >
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: How to get metas_title param (view.yml) ?

2007-09-26 Thread Dave Dash
I usually have my own line in app.yml as well:

all:
  default_page_title: My Site

I think also, for consistency I would do in view.yml

title: %APP_DEFAULT_PAGE_TITLE%

*if* that actually works.

On 6/29/07, Nicolas CHARLOT <[EMAIL PROTECTED]> wrote:
>
>  [EMAIL PROTECTED] a écrit :
>
> Nicolas,
>
> Maybe you can use :
>
> sfContext::getInstance()->getResponse()->getTitle();
>
> or
>
> $this->getParameterHolder()->getParameter('title', '', 'helper/asset/
> auto/meta');
>
> Bon courage,
> Pascal
>
>  It doesn't seems to work in an action...
>
> I've add my own param in app.yml : html_title_suffix...
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: New Symfony Facebook Application

2007-09-25 Thread Dave Dash
Mat,

If you get a chance or are making another app, look at
sfFacebookPlatformPlugin, specifically the helpers.  I wrote some voodoo
code to get the routing the way Facebook needs it, I'm just curious to have
another facebook developer review it.

-d

On 8/5/07, Mat <[EMAIL PROTECTED]> wrote:
>
>
> Well I can assure you it is made with symfony! It was quite a challenge
> getting the two to play nicely :), especially the routing system, but once
> the initial integration problems were solved symfony performed
> fantastically.
>
> Mat
>
> -Original Message-
> From: Haris Zukanovic' [mailto:[EMAIL PROTECTED]
> Sent: 05 August 2007 21:26
> To: symfony-users@googlegroups.com
> Subject: [symfony-users] Re: New Symfony Facebook Application
>
>
> I can't be sure... Just a feeling... can be 100% wrong
>
>
> Mat wrote:
> > Yes entirely :)
> >
> > Out of interest what made you think it wasn't?
> >
> > Mat
> >
> > -Original Message-
> > From: Haris Zukanovic' [mailto:[EMAIL PROTECTED]
> > Sent: 05 August 2007 21:10
> > To: symfony-users@googlegroups.com
> > Subject: [symfony-users] Re: New Symfony Facebook Application
> >
> >
> > Is this really made with symfony?
> >
> > Mat wrote:
> >
> >> Hi everyone,
> >>
> >> Firstly thankyou for all the support everyone has given me, both in the
> >> google group and on #symfony. I finally just released my first symfony
> >> website/application, Sponsor-Me. You can find it at
> >> http://apps.facebook.com/sponsor-me/
> >>
> >> I have to say it has been fantastic to develop with symfony and would
> have
> >> been impossible without such a flexible framework! Thanks Guys.
> >>
> >> Any positive or negative comments are most welcome, and I would highly
> >> appreciate any feedback people can give.
> >>
> >> Thanks,
> >> Mat
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> >
> >
> > >
> >
>
>
>
>
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: symfony-network.com

2007-09-25 Thread Dave Dash
Interested party, not sure about time commitments to actual coding, since I
stretch myself too thin already.

I'll help you with any dreamhost problems that you'll have... trust me you
will have them ;)

-d

On 9/25/07, Stefan Koopmanschap <[EMAIL PROTECTED]> wrote:
>
>
> Hi all,
>
> I was not really planning yet on sharing my idea, but the recent job-
> discussion made me want to share that idea. It seems that there is
> some interest. Let's use this thread to get discussion going on what
> it should be, and who can work on it.
>
> First of all, my idea: A social networking/profile site, similar to
> LinkedIn, Facebook, and similar sites, where each symfony developer/
> enthousiast/user can register to create a profile. In this profile,
> one could also add a CV, project portfolio, and toggle a status like
> "available for hire/available as freelancer/looking for freelancer/
> looking for developer". The site would be free to all (so not like
> Monster where companies have to pay).
>
> I'd like feedback on that idea. What should not be done, what should
> be done, what should be changed.
>
> Then, I think it would be good to form a (small) group of developers.
> I can install a trac, open a subversion repository, etc on my
> DreamHost (where I host all my sites) to support the team effort of
> developing this site. We'll probably need someone to have some sort of
> project manager role, and a few developers. Interested parties, please
> do respond.
>
> That's it for now.
>
> Stefan
>
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: symfony-jobs Google Group

2007-09-25 Thread Dave Dash
Well I can take this down if there's no interest and if this is the
appropriate place to solicit developers for work.

The reason for creating a separate group is to keep -users related to people
using symfony and discussing the issues associated with symfony, but there
seems to be a large commercial interest in symfony that needs a pool of
developers which I feel can be served by the -jobs list.

On 9/25/07, Geoff <[EMAIL PROTECTED]> wrote:
>
>
> I'm agree with Fabien.
>
> On Sep 25, 4:45 pm, Fabien POTENCIER <[EMAIL PROTECTED]
> project.com> wrote:
> > I really don't think that this is a good idea.
> >
> > Why do we need yet another communication channel.
> >
> > We already have a forum, a wiki, a bunch of mailing-lists, and IRC
> > channel... I think we have all the tools. Why force the users to
> > subscribe to yet another mailing-list?
> >
> > I like the idea of a dedicated website because it can add value to the
> > whole process.
> >
> > Fabien
> >
> > Dave Dash wrote:
> > >http://groups.google.com/group/symfony-jobs?hl=en&lnk=gcimh
> > > <http://groups.google.com/group/symfony-jobs?hl=en&lnk=gcimh>
> >
> > > To temporarily assuage people's need to discuss job opportunities and
> > > find developers (and vice versa), I created this group.  Perhaps on
> here
> > > Stefan and others can get help with their community projects for
> > > creating a networking site.
> >
> > > -d
> >
> > > --
> > > Dave Dash
> > > 612.670.0621
> > > Discover your favorite restaurant: reviewsby.us <http://reviewsby.us>
> > > gtalk: dave.dash
>
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: jQuery/prototype collision?

2007-09-25 Thread Dave Dash
> I totally agree. The problem is some requirements were recently added to a
> project that I wasn't aware of. And I could accomplish them with prototype
> im sure but I don't know prototype very well at all. Ive been a jQuery man
> for anything I make myself. Thing is this app is littered with generated
> prototype stuff from the use of helpers and sfSimpleCMSPlugin. And I need
> a
> temporary quick fix to get this requirement met for launch. After that I
> can
> look at factoring out prototype or rebuilding what im planning to do in jq
> with prototype.


Ant,

Don't abandon jQ ;)  I'm not trying to start a flame war, but if you already
like jQ I don't think you'll get much joy in prototype - it's heavy compared
to jQ, and jQ is just as robust.

-d :)

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] symfony-jobs Google Group

2007-09-25 Thread Dave Dash
http://groups.google.com/group/symfony-jobs?hl=en&lnk=gcimh

To temporarily assuage people's need to discuss job opportunities and find
developers (and vice versa), I created this group.  Perhaps on here Stefan
and others can get help with their community projects for creating a
networking site.

-d

-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



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

2007-09-25 Thread Dave Dash
Jon,

How are you envisioning this module?  As a plugin?

I've been looking at Magento which is written in ZendFramework, and I know
ZF is pretty easy to deal with within symfony... I thought it'd be cool if
there was a magento plugin where you could basically have the entire app at
your disposal from a plugin... but maybe that's silly.

-d

On 9/25/07, Jon Busby <[EMAIL PROTECTED]> wrote:
>
>
> Stefan,
>
> I'd volunteer some hours for this - if anything else just to get some
> experience with another coders symfony code (its nice to see that I'm
> building sites correctly, hehe).
>
> One thing I think symfony is currently lacking (where cakePHP has the
> edge at least) is a full open-source e-commerce module.  Would anyone be
> up for developing one with me?  I've already laid the foundations of a
> pretty powerful e-commerse store.  I wouldn't mind open-sourcing it if I
> knew other developers would be interested in helping me finish it!
>
> Thanks
>
> Jon
>
> Stefan Koopmanschap wrote:
> > On Sep 25, 2:41 pm, Nicolas Perriault <[EMAIL PROTECTED]>
> > wrote:
> >
> >> I don't like much the idea of coding a community-related app without
> the
> >> support of the community nor the official mainteners, that's why I
> asked
> >>
> >
> > Hence my remark earlier that if the community feels this is an
> > important addition, I'll start working on it.
> >
> > I did register a domain for this, symfony-network.com, already. I'd
> > gladly work on this app, either alone or together with a few other
> > people, to make this reality. Obviously, it would be nice to have the
> > support of the official maintainers, but I don't think this is
> > necessary. As long as the community wants it, the community can make
> > it ;)
> >
> > Stefan
> >
> >
> > >
> >
> >
>
> --
>
> Thanks,
>
> Jon Busby
> JBtwo Web Development
>
> Mobile :: +44 (0)7834 22 8887
> Office :: +44 (0)208 0900 351
>
> http://www.jbtwo.com
>
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: .htaccess block url with dot in params

2007-09-24 Thread Dave Dash
I would change your rewrite rules to allow for images in those directories,
I think that can be achieved with the right RewriteCond.

-d

On 8/23/07, Nicolas CHARLOT <[EMAIL PROTECTED]> wrote:
>
>  Hi,
>
> I've made a reader for images who aren't stored under web dir.
>
> So, I've an url like :
> /mymodule/showImage/file/name_of_the_file.extension
>
> Since there's a dot in url, on production env. (with "no_script_name" set
> to "on"), the .htacess file avoid script be executed...
>
> I've tried to split in 2 params:
> /mymodule/showImage/file/name_of_the_file/ext/extension
>
> image_tag add automaticaly ".png" to the url, so it breaks me effort...
>
> Is there a way to encode the dot in URL or something else ?
>
> Thanks
>
> --
> Nicolas
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



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

2007-09-24 Thread Dave Dash
Frank,

Sorry for the delayed reply.

That's not the intention of the RememberMe filter, it should log you in if
you've imlimented it properly in the filterchain.  If 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 8/26/07, Frank Stelzer <[EMAIL PROTECTED]> wrote:
>
>
> 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 it is secured).
>
> Now i want to activate this filter for my whole application, but
> without setting my application completely to secure (so that a user
> automatically logs in, when a valid remember me key exists).
>
> How can i do it? Or the better question is maybe, if the exisiting
> filter supports this functionality or if i should implement a new
> filter !?
>
> The answer might be trivial, but i do not get it :(
>
> Thanks for your help!
>
> - Frank
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: automated code audit

2007-09-24 Thread Dave Dash
I like the idea of throwing this into a plugin.  I think actually writing a
pake-task would be better, which is easily done as a plugin whereas a lime
test alone would require some meddling, I want something I can install and
type in a quick command (e.g. ./symfony how-is-my-code ;) )

-d

On 9/5/07, Alistair Stead <[EMAIL PROTECTED]> wrote:
>
> I would suggest that plugins are the best place for all additional
> development of symfony. That way the core stays as lightweight as possible
> and users can choose what elements suite their development practices. For
> exmaple the control pannel is now a plugin and the audit could be part of
> this.
>
> I think that some form of continuous integration system would also be
> useful?
>
> Ali
>
> On 05/09/07, Kiril Angov < [EMAIL PROTECTED]> wrote:
> >
> >
> > Now when I think about it, should this be part of symfony itself? A
> > symfony tasks that will be easy to run as 'symfony codelint' or
> > something along those lines. Do people think this is important
> > especially for larger teams where you want to be sure standards are
> > being followed?
> >
> > Kupo
> >
> > Alexander Deruwe wrote:
> > > On 29 Aug 2007, at 20:29, Tristan Rivoallan wrote:
> > >
> > >> On 8/29/07, Jack Bates <[EMAIL PROTECTED]> wrote:
> > >>
> > >>> I wonder if any code already exists for checking symfony's code
> > >>> standards?
> > >>>
> > >> pear's codesniffer can provide a very good basis for implementing
> > >> this.
> > >>
> > >> http://pear.php.net/package/PHP_CodeSniffer
> > >>
> > >
> > > I'm using symfony's coding standards for my project too.  Jack, are
> > > you working on this?  If not, I might put some extra time in this -
> > > but I'd hate to be duplicating efforts.
> > >
> > > Perhaps someone already has symfony coding standard Sniffs?
> > >
> > >
> > > Alexander
> > >
> > > >
> > >
> > >
> >
> >
> >
> >
> >
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Conditional validation?

2007-09-24 Thread Dave Dash
I'm sure there is a handier way to do this, but usually in these special
cases, I opt for using the validateXXX methods where I am free to check for
credentials and whatnot and then perform my validation as needed.

A link for you:

http://www.symfony-project.com/book/1_0/06-Inside-the-Controller-Layer#Validation%20and%20Error-Handling%20Methods

On 9/12/07, Eno <[EMAIL PROTECTED]> wrote:
>
>
> I want to make a field editable only to admins, so Im wondering if its
> possible to have conditional validation on form fields (i.e. ignore
> the field for ordinary users but apply validation when admins submit a
> form) ?
>
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: sfSimpleBlog and symfony internal links

2007-09-24 Thread Dave Dash
This was one of my first problems when I was dealing with symfony, before
the new plugin system.

I used markdown to transform my code to HTML (in a CMS, but markdown works
wonders for blogs too ;) ):

Markdown uses a syntax as such:

My [homepage][link]
>
> [link]: [http://spindrop.us/]
>
> But I wanted:

> My [homepage][link]
>
> [link]: [EMAIL PROTECTED]
>
>  So I took made my own version of PHP markdown and it would transform
url's using url_for, before outputting the link tags.  If you understand
markdown, this should be easy to follow and do.  If anybody wants help just
let me know, I can even dig up my old markdown.php.

-d

On 9/21/07, Francois Zaninotto <[EMAIL PROTECTED]>
wrote:
>
> As of now, you can't - you have to write an absolute link.
>
> But we could imagine a special filter transforming some special markup
> into a link. Maybe it is time to have a look at Tristan's
> sfPayloadFilterChainPlugin and create an adapter for the sfSimpleBlogPlugin
> the same way as it has been done for sfSimpleForumPlugin.
>
> François
>
> 2007/9/19, Olivier Revollat <[EMAIL PROTECTED]>:
> >
> > Hello,
> > i've installed sfSimpleBLogPlugin and I wonder how can I include symfony
> > internal links in blog articles ... ??
> >
> > Any ideas ?
> > Thanks ;)
> >
> >
> >
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: jQuery/prototype collision?

2007-09-24 Thread Dave Dash
Ant,

The easy way around this is in any jQuery code using jQuery() rather than
the shortcut or you can do this magic code:

(function($) {
> // your $()-infested code here :)
> })(jquery);
>
>
Also after jQuery is called do something like jquery.noConflict() and then
you can use prototype stuff.

Although to be honest I think in a perfect world per web site you pick one
library versus another and don't mix and match if you can help it.  So much
overhead each library brings.

Best,

-dd

On 9/23/07, Ant Cunningham <[EMAIL PROTECTED]> wrote:
>
>
> Is this an issue when using $() with sfUJSPlugin? I know that $() is also
> used by prototype so should I be using the longhand? I assume shortand is
> somehow handled since its not mentioned in the wiki afaik but id rather
> not
> have to do a lot of find/replace later on if I can avoid it up front.
>
> Although I doubt this would happen anyhow as I don't expect to be using
> prototype (if at all) where im using jQuery but better safe than sorry.
>
> -ant
>
>
>
> >
>


-- 
Dave Dash
612.670.0621
Discover your favorite restaurant: reviewsby.us
gtalk: dave.dash

--~--~-~--~~~---~--~~
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 unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---