Creating a Drop-Down List Based on a Foreign Key Column in index
template .
--~--~-~--~~~---~--~~
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
T
I have a question. In Symfony / Propel forms, when I am editing an
object, the primary key is a hidden field. I have verified that by
using Tamper Data (or anything of the nature), I can modify a
different row in the database (iow, someone else's information) by
simply changing the ID value in t
Ofcoz Eno. I thank you for suggestion. If you have done any other
tricks also and can share to make such working.
I regenerate cache using command: 'php symfony cc' and it ran also
without any problem.
On Sep 1, 6:12 pm, Eno wrote:
> On Tue, 1 Sep 2009, 42 wrote:
> > jobeet/1_2/Doctrine
becouse i try want to separate frontend and api functionality on web,
i needed three leg api key validation (with request sign) on my
projetc.
my frontend application just showing data, (only select on all tables,
just session and users table included insert and update), other all
stuff update,de
also, there's a topic about "Customize the sfGuardUser model". It
seems I can make changes to the schema.yml for "user profiles". Does
that mean I need to also make appropriate changes to my DB?
thanks again
--~--~-~--~~~---~--~~
You received this message because y
On Tue, 1 Sep 2009, Germana Oliveira wrote:
> BUT I HAVE TWO PROBLEMS:
>
> 1. with a new form (isNew):
> Notice: Undefined offset: 0 in
> /home/germana/www/indepabis/lib/form/PersonaForm.class.php on line 53
Were these form classes generated from models?
Also what does the code of PersonaForm.
Tried a bit more, and indeed it seem to loose all classes' names, both Ion
and Zend had same errors.
On Tue, Sep 1, 2009 at 21:41, Sid Ferreira wrote:
> I didn't googled before trying, Im just writting about my tests with the
> tools (all demo).
> I've used a sf 1.0 project cause it was the most
I created "sfGuardAuth" folder in my app-name-here/modules here.
I then create the foldesr "actions" and "templates" inside
sfGuardAuth.
In actions folder, I created a new actions.class.php and place the
following contents: http://pastebin.ca/1551008
In templates, I created my own signinSuccess
thank you :)
On Sep 2, 9:22 am, Serkan Koyuncu wrote:
> You don't need to extend from anything. Just to be sure if file name is
> emailChecker.class.php, then your class should be named as
> class emailChecker { }
>
> Symfony will load it for you if it under /lib folder.
> Just call it like that
I didn't googled before trying, Im just writting about my tests with the
tools (all demo).
I've used a sf 1.0 project cause it was the most handy at that moment.
*Ion Cube*: Got 7 errors, and died instead of run:
data\symfony\skeleton\module\module\actions\actions.class.php
data\symfony\skeleton\c
You don't need to extend from anything. Just to be sure if file name is
emailChecker.class.php, then your class should be named as
class emailChecker { }
Symfony will load it for you if it under /lib folder.
Just call it like that anywhere in your project:
$checker = new emailChecker();
Regard
Hi every:
I have the following schema.yml file:
AreaTematica:
tableName: area_tematica
actAs: [Timestampable]
columns:
id:
type: integer(4)
primary: true
autoincrement: true
nombre:
type: string(35)
notnull: true
Cursos:
tableName: cursos
if I create it as a class, do I need to extend anything?
thanks again
On Sep 1, 3:33 pm, Stefan Koopmanschap wrote:
> Hi,
>
> The best way to do this in my opinion is to create a class in the lib/
> folder (or in a subfolder, for instance lib/jarthel) where you put the
> method. So for instance
dumb question, sorry
:P
cirpo
On Sep 1, 11:40 pm, alessandro cinelli
wrote:
> Hi,
>
> can you save a rendered partial in the db instead of sending it to the
> browser?
>
> thanks,
>
> cirpo
--~--~-~--~~~---~--~~
You received this message because you are subscrib
I have been doing this:
class DenunciaForm extends BaseDenunciaForm
{
public function configure()
{
...
//embedded forms
if ($this->isNew())
{
$denuncianteForm = new PersonaForm(null, array('natural'));
$denunciadoForm = new PersonaForm(null, arr
Hi,
can you save a rendered partial in the db instead of sending it to the
browser?
thanks,
cirpo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-
On 01.09.2009, at 21:41, jaime wrote:
>
> Hi everyone
>
> I need to make a right join on Doctrine, because I'm working in a old
> database not designed for an ORM.
>
> Someone knows how to do a right join on Doctrine, because nothing
> appears in the documentation.
err .. right join's are just
Hi everyone
I need to make a right join on Doctrine, because I'm working in a old
database not designed for an ORM.
Someone knows how to do a right join on Doctrine, because nothing
appears in the documentation.
Thanks
--~--~-~--~~~---~--~~
You received this mess
Hi Guys,
I have a question about this plugin for anyone who knows about it.
I have an Article model that I have set as Taggable. The article model has
an 'active?' column. When selecting tags (ie using TagTable::getPopulars) I
only want tags that are attached to active Articles to be returned.
On Sep 1, 8:30 am, selam wrote:
> I try write a rest route class for using in my project, i write that
> becouse i needed route with get (as query_params) and post params and
> checking all data must be valid before execute action.
Im wondering why you need to write a RESTful route class when
On Sep 1, 5:52 am, stefan wrote:
> I am reading the doctrine edition. In day 12, it says "But the
> JobeetJob class already has a getJobeetCategory() method that returns
> the related category object". I opened lib/model/doctrine/
> JobeetJob.class.php and I can't see a getJobeetCategory(). Neit
Hi,
I am looking for help in integrating http://www.k5n.us/webcalendar.php
. I am looking at any existing calendar that can be ported easily to
Symfont 1.2 and are also iCal compliant. The primary requirement is to
integrate an open standard calendar which can be integrated to mail
Clients/Calend
You could also try, to include this as a helper.
Am 01.09.2009 um 08:13 schrieb jarthel:
>
> I have an "email address" format checker that I found in the net. It's
> straight PHP with a function inside.
>
> I'm a bit unsure on where to put it. I thought of putting it somewhere
> in "project-her
On Tue, 1 Sep 2009, 42 wrote:
> jobeet/1_2/Doctrine/en/12#chapter_12_sub_virtual_columns). I think I
> followed the guide as per described and changing in file 'apps\backend
> \modules\job\config\generator.yml'. But still job list in admin
> section appears tabular.
Did you regenerate an
Hi,
I try write a rest route class for using in my project, i write that
becouse i needed route with get (as query_params) and post params and
checking all data must be valid before execute action.
I Write a new class named RestRoute and define in routing.yml, and i
define sfNoRouting in factor
Hello Mark
Maybe this could help some.
http://www.thatsquality.com/articles/7-days-of-symfony-1-1-forms-widgets-and-validators-day7
/Michael
On 1 Sep, 12:42, Mark Smith wrote:
> Symfony seems to implement forms in such a way that it uses tables for
> html layout. Everything I have read to s
Hi All
If anybody has idea on how Virtual columns functionality works in day
12 of symfony demo setup tutorial(http://www.symfony-project.org/
jobeet/1_2/Doctrine/en/12#chapter_12_sub_virtual_columns). I think I
followed the guide as per described and changing in file 'apps\backend
\modules\job\co
It's a wrong post i raised. I fixed it following the guide properly.
Thanks
On Sep 1, 11:54 am, 42 wrote:
> I am getting an error like
>
> "Warning: Invalid argument supplied for foreach() in C:\wamp\www
> \development\sfprojects\jobeet\lib\vendor\symfony\lib\generator
> \sfModelGenerat
Hi,
I am contructing a text area widget inside the configure method of my
form like this:
$this->setWidget("Notes", new sfWidgetFormTextarea(array(),array
('value'=>$this->entity->Notes)));
In the template when I try to print out the widget like this:
The resulting html is:
For a textare
Symfony seems to implement forms in such a way that it uses tables for
html layout. Everything I have read to say this is incredibly bad web
design practice. It seems like an odd decision for such a well thought
out framework.
Is the only way to override this behavior to access the form field
nam
Hello,
I am reading the doctrine edition. In day 12, it says "But the
JobeetJob class already has a getJobeetCategory() method that returns
the related category object". I opened lib/model/doctrine/
JobeetJob.class.php and I can't see a getJobeetCategory(). Neither in
the base class. Although it
Hi,
I have had the same error when we upgraded to doctrine 1.1.3 using
symfony 1.2.7
When I added the following code it seemed to solve the problem.
$this->getUser()->setCulture('en');
The only thing I could track it down to was the Culture in User (in my
case en_GB), but if I set it to 'en'
The
Hello!
How can I generate an admin module, but keep the default template (the
one that appears in the modules generated with generate-admin)>
Thank you!
Mihai Rusoaie
e-Business Consultant
Mobile: +40 72 RUSOAIE
Web: http://mihai.rusoaie.com
--~--~-~--~~~---~--~~
You should say this should work too
$this->listOfMembersWhoMeetSearchCriteria = array();
$c = new Criteria();
$uvaStatusArray = $request->getParameter('uva_status');
if (!is_array($uvaStatusArray))
{
$uvaStatusArray = array();
}
$c->addOr(sfGuardUserProfilePeer::UVA_STATUS, $uvaStatusArray,
I am getting an error like
"Warning: Invalid argument supplied for foreach() in C:\wamp\www
\development\sfprojects\jobeet\lib\vendor\symfony\lib\generator
\sfModelGeneratorConfiguration.class.php on line 316"
in the admin new, edit job post page.
But when i comment class parameter in the belo
Thanks Masaki, thats what i already did: php5-mysql .deb-package is
shipped with everything needed to build a mysql based php app.
This was merly a question about if it is possible to explicit use
mysqli with a php "pdo-style" driver/adapter (due to the fact that the
built in doctrine-adapter "Do
36 matches
Mail list logo