Like all others, I use app.yml but I don't set the host in $_SERVER
['HOST'] but in $_SERVER['HTTP_X_FORWARDED_HOST'].
I remember I got some problem when saving host in HOST instead of
HTTP_X_FORWARDED_HOST.
Anyway, try this out and you will see what is the best :-)
On 13 mar, 00:48, Sid Bacht
I've seen this happen in the default base form class. When I overwrote
the updateObject(), I put some creation of other objects in it. When I
placed a die() function, I printed the created objects on screen. They
were created, but because of the none-completion of the updateObject()
function not s
I have a Doctrine_PgSql_Exception :
SQLSTATE[22021]: Character not in repertoire: 7 ERREUR: séquence
d'octets invalide pour l'encodage « UTF8 » : 0xe3a925
HINT: Cette erreur peut aussi survenir si la séquence d'octets ne
correspond pas
au jeu de caractères attendu par le serveur, le jeu étant con
I have looked more closely and what happens is that doctrine generates
the model of the customized schema file (sfGuardUser) in lib/model/
doctrine AND generates another sfGuardUser class for the plugin in
lib/model/sfDoctrineGuardUser. I've tried to use the "package"
attribute in the customized
I will advice you to symply overwrite the setTableDefinition of the
generated class. As this will allow to tweak only some part of the model,
and you will get less bugs when plugins is updated.
On Fri, Mar 13, 2009 at 10:39 AM, Nicolas wrote:
>
> I have looked more closely and what happens is th
I would like to make select list where each option name is from
database - city and value is also from database - id.
I have made that query (it return id and city):
public function getSomething()
{
$q = Doctrine_Query::create()
->select('s.id, s.city')
->from('SfGu
Hello!
I have an admin generator module for a mysql table mobilephones, with a
foreign key to simcards ID. Simcards are selectable in the edit action
with a select box. I want to achieve to disappear from the select box,
if it is already assigned to a cellphone. Please tell me directions,
whe
have you activated the plugin in config/ProjectConfiguration.class.php?
--~--~-~--~~~---~--~~
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
I know :D !!
$choice = Doctrine::getTable('SfGuardUserProfile')->getSomething();
foreach ($choice as $w):
$table[$w->getId()] = $w->getCity();
endforeach;
$this->setWidgets(array(
'city' => new sfWidgetFormSelect(array('choices' => $table)),
));
On 13 Mar, 11:34, dzioba
> I know :D !!
Why am I so familiar with this expression of yours dziobacz? ;)
On Sat, Mar 14, 2009 at 12:20 AM, dziobacz wrote:
>
> I know :D !!
>
> $choice = Doctrine::getTable('SfGuardUserProfile')->getSomething();
>
> foreach ($choice as $w):
> $table[$w->getId()] = $w->getCity();
FWIW, I chose Phing.
Seems pretty cool - just trying to work out how to make a wrapper so I
can deploy my application like so :
./deploy.sh --target=[dev|test|stage|prod] --tag=
On 10 Mar 2009, at 10:45, Lee Bolding wrote:
>
> We touched on this a while ago with talk about Capistrano etc.
>
sfEasyGmapPlugin is a very easy to use Google Maps API plugin for
symfony, inspired by the Phoogle class... but better :-)
A very simple version has been available for a few months but I have
now finally released the 1.0 version, with the following new
features :
- it is now sf1.2 compatible st
For the official page I meant of course:
http://www.symfony-project.org/plugins/sfEasyGMapPlugin
Fabrice Bernhard
--http://www.theodo.fr
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post
Thanks - I considered that option, but in this context, the postal/zip
code is only valid if it can be geocoded. For example, if you buy a
house in a new development, you may not be able to find your code
yet.
I'm just using Google at this point for Geocoding. It's pretty simple
and easy to use
Thanks. I have used this technique, for example when I want to set a
field which I keep in the session rather than in the form.
Unfortunately, in my case, I cannot use this approach because I do not
have access to the values I want from within my action.
Steve
On Mar 12, 1:03 pm, wissl wrote
Cool! I got this working, and a little cleaner than I expected. I
created a post validator, and the validator itself returns the
longitude and latitude coordinates as the cleaned values. I also
discovered, that I could unset the coordinate fields in the form
configuration, and as long as the va
ohhh I know what it is :)
Add this to the top of the plugin: "package:
sfDoctrineGuardPlugin.lib.model.doctrine"
This "package" option is automatically added to the schema files found in
plugins so that the models are all generated in the right places. When you
copy that schema file you just need
Congrats, Fabrice :)
What do you think about form widget with such functionality:
http://addresschooser.mapeed.com/doc/
to pick lng/lat visually?
That's just an idea I would like to implement, but if no one did it yet? :D
Thanks.
Fabrice B wrote:
> sfEasyGmapPlugin is a very easy to use Googl
You should read these posts :
http://rabaix.net/en/articles/2009/03/02/how-to-create-a-multi-field-widget-with-sf-form
http://rabaix.net/en/articles/2009/03/04/how-to-use-the-sw-widget-form-g-map-address-widget
;)
On Fri, Mar 13, 2009 at 6:15 PM, Yevgeniy A. Viktorov
wrote:
>
>
> Congrats, Fabr
Yeah, that's it!
Have you any futher todo? :)
Thank you!
Thomas Rabaix wrote:
> You should read these posts :
>
> http://rabaix.net/en/articles/2009/03/02/how-to-create-a-multi-field-widget-with-sf-form
> http://rabaix.net/en/articles/2009/03/04/how-to-use-the-sw-widget-form-g-map-address-widg
Is there a task or method anyone knows of to generate a fixture from a
plugin?
I've got some initial data I've put into my database using a fixture?
But some of it needs tweaking, and after tweaking, I'd like to regen
the file. Tweaking it in the database makes life quite a bit simpler.
If all
Hi,
(I'm talking about Zend Lucene as shown in Jobeet tutorial)
I have text like this "žltý kôň" and want to be able to find it by
"zlty kon"
How should I index it? I tried UTF8 analyzer, but it didn't work. It
could find it only by entering exact characters.
So I tried to remove accented char
Try the sfYamlDumper class - http://www.symfony-project.org/api/1_2/sfYamlDumper
You'll probably need to write a small action/task to dump each object,
but shouldn't be too hard :)
On 13 Mar 2009, at 18:59, Java Guy wrote:
>
> Is there a task or method anyone knows of to generate a fixture fr
I forgot - phpMyAdmin also allows you to export to YAML
That'd probably be quicker
On 13 Mar 2009, at 18:59, Java Guy wrote:
>
> Is there a task or method anyone knows of to generate a fixture from a
> plugin?
>
> I've got some initial data I've put into my database using a fixture?
> But some
It is strange - Your method is logical but it doesn't work for me :/ I
cleared cache. I have also tried to do that for all module
'registration' in yourapp/frontend/config/view.yml:
registration:
javascripts: [registration.js]
but it also didn't work.
So I will have to use my method. :O
On 1
Hi, I have a strange bug. In one of my page with forms there is a one
white space (brak line). I don't know why, because everything seems to
be OK.
And this code generates this:
Nowy dokument
And this white space makes one line break. It is strange because in
two other pages witch
Whoops, leave out the .js, for example
javascripts: [registration]
(no .js)
On Fri, Mar 13, 2009 at 12:07 PM, dziobacz wrote:
>
> It is strange - Your method is logical but it doesn't work for me :/ I
> cleared cache. I have also tried to do that for all module
> 'registration' in yourapp/fron
Check the slugify method, also found in the Jobeet tutorial, in svn
it's in lib/Jobeet.class.php. It uses iconv to convert accented
characters via transliteration, so Jobeet::slugify("žltý kôň") returns
"zlty kon".
On márc. 13, 20:02, zero0x wrote:
> Hi,
>
> (I'm talking about Zend Lucene as sho
Hi all,
I am using sfDoctrineForm where 1 select box is dynamic.
In the form i set the 'choices' of the dynamic select box:
$this->widgetSchema['s2'] = new sfWidgetFormChoice(array(
'choices' => Doctrine::getTable('S2')->getRelatedValues()
));
I have this function on Doctrine Table:
class S2
29 matches
Mail list logo