Hi,
I have a problem with my form and ajax.
Indeed, when the form is correctly fillin, datas are send into the database, but when the form is not correctly fillin, the errors "this input is required..." are never displayed (in spite of I have a validator for this).
This is my code of my action.class :
public function executeDetails()...
Hi,
i have the typical cover page with the logining form that doesn't have the layout with the menu bar that the intern pages of the site have.
So i have this line in view.yml:
signinSuccess:
has_layout: false
As you know, in this way the .css are not loaded. So what can i do to load the .css?
Regards
Javi
...
The question is simple: how do I SHOW the ID field in the filter area, when using the admin generator?
I'm trying to include "id" in the display option, inside the filter section, but it is not appearing. I have no problem with the other fields.
I'm using Symfony 1.4.5
...
SO I am trying to make a restful api system with symfony and I am a little confused about something. So every different route gets sent to a different action method to be handled, however, many different actions display the same sort of data (list of users or a list of groups). I don't want to have to have redundant templates just becaus...
Can someone point me in the right direction in regards to making an api use basic http authentication?
I am creating a restful api with symfony but would like to require users to be logged in to get certain data. I would also like many of these methods be dependent on the the username in the authentication process in order to get some ...
Hi All
I've been scouring the net and i have found nothing!
I am using symfonys form framework to build a simple 'Create' form. Validation is fine. However i'd like to pre-filter my submitted values, so adding ucfirst, strtoupper, and the like.
I'm not sure if im missing something crucial here, but the way i see it is the only way to...
HI,
I try to translate this query :
SELECT *
FROM `reunion` , lieu
WHERE reunion.lieu_reunion = lieu.id_lieu
to propel query :
$c=new Criteria();
$c->addJoin(ReunionPeer::LIEU_REUNION,LieuPeer::ID_LIEU, Criteria::LEFT_JOIN);
$this->reunions = ReunionPeer::doSelect($c);
But in my template, when I made a print_r($reunions), the fie...
I have faced serious difficulties while installing sfJqueryTreeDoctrineManagerPlugin to Symfony 1.4 w/ Doctrine ORM. The installation directly from the server did not work out like with previous plugins that I have installed:
C:\path>symfony plugin:install sfJqueryTreeDoctrineManagerPlugin
plugin installing plugin "sfJqueryTreeD...
I have read lots of questions about i18n, but I haven't found any about performance.
I have a simple backend app listing the contents of an ads table. These ads have a category, that is translated in some languages (it's defined as i18n in the Doctrine schema).
So, when I add a "table_method" in my generator.yml to include de Category ...
Hi,
by default, when you replace a file using sfWidgetFormInputFileEditable,
the old file is removed from your hard disk.
Where is that code that removes the file??
Javi
sf 1.3
...
Using Symfony 1.4.x (with Propel), I've been given a task that requires me to share specific user info with multiple external systems. This is currently stored as a session (in memory) attribute, but I need to get it into a database so that I can create an API that will provide that info to authorized consumers.
I'd rather not overhaul ...
i create model schemas with ORM Designer when using symfony.
i have never used django before.
i am wondering, if there is an equivalent for django so that you dont have to manually write schemas?
...
I've got 2 tables in an MySQL DB, im using doctrine 1.2 and symfony 1.4.4
Installedbase and Spare
Installedbase:
ib_id
app_id
location
and
Spare:
spare_id
app_id
amount
Now i want to join the to tables to show how many of the app are in the spare.
e.g.
$q = self::createQuery("l")
->select('i.*, s.*')
->from('InstalledBase i, Spa...
I have written a reporting suite, and I have a specific report that builds a CSV file. Serving this file via a browser on demand isn't an issue, but I need to be able to build this CSV file nightly, and email round a link to be able to download it.
Essentially, I need to be able to replace a specific action with a symfony task, run via ...
I'm using PHP with the Symfony framework (with Doctrine as my ORM) to build a spider that crawls some sites.
My problem is that the following code generates a memory leak:
$q = $this -> createQuery('Product p');
if($store) {
$q
-> andWhere('p.store_id = ?', $store -> getId())
-> limit(1);
}
$q -> andWhere('p.name ...
Hi,
i want to overwrite a method of
symfony/lib/plugins/sfDoctrinePlugin/lib/form/sfFormDoctrine.class.php.
I think a good way could be writing again the method in the form class
where i need that method.
In that case if i need that method in other form class should i write
again the new method, so i would break the rule DRY...
So is...
Hi,
i have a template with this below to show a dialog when the link is clicked:
<div id="myDialog">
</div>
echo jq_link_to_remote('Enviar mensaje 2', array(
'url' => 'mensaje/new?receptor='.$miembro->getId().'&tipo=0&estado=0',
'update' => "$('#myDialog'...
In my Symfony 1.4 project I am using the doctrine:generate-admin task to create the modules that compose my backend system. One such module is "journeys". When I view the source of the "journeys/new" page (which displays the form to create a new journey entity) the action of the form is simply "journeys" (I expected it to be "journeys/cr...
How can i change the templating of a form in sfDoctrineGuardPlugin?
That is, I need to change the html (class, id) of the input elements (username, password) of a login form provided by sfDoctrineGuardPlugin.
I've changed apps/app_name/modules/sfGuardAuth/templates/singinSuccess.php, but it then just echoes $form (I need to change cont...
The problem:
I have a database that's running on a shared server.
I do not have permission to drop/ create a database via the command line
doctrine SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user 'opnsrce'@'173.236.128.0/255.255.128.0' to database 'dev'. Failing Query: "DROP DATABASE dev"
...