Questions tagged [symfony-1.4]

Questions about Symfony version 1.4, a PHP framework by Sensio Labs.

Symfony is a PHP Web Development Framework developed and maintained by Sensio Labs.

The symfony 1.4 version is the last Long Term Support release for the symfony 1.x branch and it is maintained until November 2012.

You will find more information about documentation, detailed installation guide and changelog on the official website.

This tag is specific for the 1.4 version of Symfony. See the tag for Symfony 1.x in general. If your question targets Symfony 2.x, use instead.

Symfony 1.4 is released under the MIT license.

2428 questions
0
votes
2 answers

Symfony: trouble with JS activated image

I have a script that switches background image on hover: $('div#example').hover(function(){ $(this).css('background',"url('images/bg_2.png') no-repeat bottom"); }); I am using a WAMP development environment, and this works fine if the url I use…
whamsicore
  • 8,320
  • 9
  • 40
  • 50
0
votes
1 answer

symfony - sfDoctrineGuard - restricting user creation based on group credentials

I am currently in the process of developing a fairly large and complex user management system using sfDoctrineGuard I have created 4 groups, editors, moderators, admins and superadmins. What I'm looking to do, is restrict certain users in the admin…
sipher_z
  • 1,221
  • 7
  • 25
  • 48
0
votes
2 answers

project wide load of custom yml

if I want to automatically read a custom yml file i can use the following statement in apps/myapp/config/myappConfiguration.class.php (sfApplicationConfiguration…
Mark Hamlin
  • 339
  • 1
  • 10
0
votes
1 answer

XML schema on a Symfony 1.4 Doctrine project

Do you know how can I use schema.xml on a Symfony 1.4 Doctrine project. I've deleted the yml schema under config/doctrine and replaced it with a XML schema as I was doing on Propel projects. When running symfony doctrine:build-model task it only…
0
votes
0 answers

How to set default value for one field only if conditional is met

I have a prize form with the followings fields: artist -> Choice (Related model artist) prize_type year When creating a new Prize object I don't have any problems. Now I want to have a button on my Artist view called Create Prize and when it is…
Sephy
  • 159
  • 1
  • 2
  • 15
0
votes
1 answer

symfony1.4 propel1.5 audit log

I'm using Symfony 1.4 with the Propel 1.5 plugin. I need to create an audit log that shows reads/writes to the database - with the user who's logged in. I would like to turn on full query logging to a separate file. If I use a custom logger class, I…
Cameron
  • 56
  • 5
0
votes
1 answer

symfony - admin list drag and dtop items

I'm looking at creating a drag and drop interface for an admin module list, but I'm unsure how to go about this I've seen a couple of tutorials, using Propel and SF1.2, but I'm using doctrine and 1.4. Thanks
terrid25
  • 1,926
  • 8
  • 46
  • 87
0
votes
1 answer

symfony - doctrine admin generator filters and relations

I have an admin module, that lists orders. One of the filters is a drop down, which lists the order_status and is a relation to the order_status table. These order_id's are an id, from 1-10. What I'm looking to do, is to filter by more than one of…
sipher_z
  • 1,221
  • 7
  • 25
  • 48
0
votes
1 answer

symfony - credentials problem

I am trying to fully understand how the credentials/permissions system works in symfony(1.4) I have 2 groups and 2 users. User 1 has the following permissions: Add.Car, Delete.Car User 2 has the following permissions: Add.Bike, Delete.Bike Now what…
terrid25
  • 1,926
  • 8
  • 46
  • 87
0
votes
1 answer

HTTP Header problem

I am using symfony 1.4. I have created one pdf and displaying in a new window. After I displayed the pdf when I click on other links I got the below kind of code. I think it showing my html source file. How to resolve this problem? 141070HTTP/1.1…
JohnnyeM
  • 31
  • 5
0
votes
1 answer

symfony - admin bar based of sfDoctrineGuard groups/permissions

I am working on a project, whereby I have several groups, several permissions and the groups then have specific permissions, using sfDoctrineGuard. I have 5 modules and what I'm looking to do, is only show specific module links in the admin bar,…
terrid25
  • 1,926
  • 8
  • 46
  • 87
0
votes
1 answer

How do I pass data to a global partial in Symfony 1.4?

I want to create a partial for a navigation bar which requires data from my DB. I've created a _top_nav.php partial at the global level of my frontend app. I'm then including the partial in my main layout and passing the data to the view in the…
codecowboy
  • 9,835
  • 18
  • 79
  • 134
0
votes
1 answer

help symfony 1.4

In a form, when I am selecting the name of the client from a drop down list, next line is to select name of the product from drop down list, and it gives all the products, but only need those items manufacturing by this selected client. (in the…
0
votes
2 answers

Symfony relations between tables

I use symfony 1.4.10 I have next situation: User can create "Ads" and he can create one "company". My part of schema: Ads: actAs: Timestampable: ~ Sluggable: unique: true fields: [title] canUpdate: false connection:…
denys281
  • 2,004
  • 2
  • 19
  • 38
0
votes
1 answer

Symfony 1.4 doctrine admin generator and i18n fields

I have this pretty trivial model: Category: columns: id: { type: integer } name: { type: string(50) } description: { type: text } actAs: I18n: fields: [name, description] I use admin generator to create CRUD interface for…