Please read tutorial again: the second argument is supposed to be an
OBJECT, not an array.
On Sep 10, 3:10 pm, MrGlass wrote:
> 'post_pretty_url' is the name for my URI, yes. and the second
> parameter (according to the jobeet tutorial) is supposed to be an
> array of values needed for the url.
On Jul 28, 12:46 pm, Stephen Melrose wrote:
> Balls
>
> Uncaught exception 'PropelException' with message 'Cannot insert a
> value for auto-increment primary key (badword_list_group.ID)'
>
> :/
You can do it with a trick in your model:
badword_list_group
_attributes: { allowPkInsert: true }
IIRC, it's the default behaviour of forms.
It's not a symfony issue.
On Jul 17, 6:19 pm, dagger wrote:
> please help me out here to find what m i doing wrong
>
> On Jul 17, 2:58 pm, dagger wrote:
>
> > I have a form user and i have embedded another form for images upload
> > in it.
>
> > Now wh
By reading this interesting discussion, I decided to get rid of all my
(mis)use of sfContext.
So, I searched it in my project, and surprisingly found many in
generated propel classes.
I investigated and discovered this in plugins/sfPropelPlugin/lib/
builder/SfPeerBuilder.php, line 232:
"\
On Jun 22, 6:17 pm, AureL wrote:
> $request->getParameter('slug'); // returns 'this is my slug'
>
> Is there a way to preserve the '+' in controller ?
str_replace(' ', '+', $request->getParameter('slug'));
--~--~-~--~~~---~--~~
You received this message because y
On Jun 11, 6:11 pm, gigo6000 wrote:
> Hi, I'm really stuck right now with the new symfony 1.2 form
> framework, I'm trying to create a form to handle a many to many
> relationship with payload, that is including additional fields in the
> relationship table but I can't find anything and got no an
You shouldn't use onlick attributes on links (nor on any other html
element).
Just make normal, then add javascript events (like onclick) using
javascript itself.
More info on http://en.wikipedia.org/wiki/Unobtrusive_JavaScript
On May 29, 2:08 pm, Gareth McCumskey wrote:
> Hi there all,
>
> With
This can be very helpful in such situations:
Propel Criteria Builder
http://propel.jondh.me.uk/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-user
On Mar 4, 2:41 pm, Lawrence Krubner wrote:
> Here is an odd thing. The controls are appearing at the bottom of the
> textarea. You can see a screenshot here:
This is the standard behaviour. You can manage to get it to the top
using configuration options, see my link above (on TinyMCE wiki)
--~--
My humble opinion: it's better to use directly javascript to get
tinyMCE working.
So, simple add a "class="rich"" to yout textarea and write (and
include it in your page, of course) a js like this one:
tinyMCE.init({
theme : "advanced",
mode: "textareas",
editor_selector : "rich",
// any o
I'm a bit confused about symfony culture handling.
In my settings.yml, there's 2 lines under ".settings":
i18n: on
default_culture: it_IT
In debug toolbar, I see under Config->User:
options:
auto_shutdown: false
culture: null
default_culture: it
use_flash: true
logging: '1'
timeout:
On 10 Feb, 16:57, Garakkio wrote:
> I don't know exactly when, but in last days symfony started to
> segfault for each build-model I do.
> No matter how complex or simple is schema.yml (I even tried with a
> single dummy table with only a primary key).
> I also tried on di
I don't know exactly when, but in last days symfony started to
segfault for each build-model I do.
No matter how complex or simple is schema.yml (I even tried with a
single dummy table with only a primary key).
I also tried on different machines (my local is Ubuntu 8.10 with PHP
5.2.6, a remote se
On 15 Gen, 10:06, Ant Cunningham wrote:
> Ive had similar issues in the past when my foreign keys arent primary
> keys if there are mulitple references to the same table.column. Try
> making them PK's and see if that works.
How could you make it working?
I mean, suppose to have a table of messag
I think I found a bug in Propel generated models, but I would like to
be contradicted
This is an extract from my schema.yml:
sf_social_event:
_attributes:{ phpName: sfSocialEvent }
id: ~
user_admin: { type: integer, required: true, foreignTable:
sf_guard_user, foreignReference:
On Jan 10, 4:27 pm, "Antoine Leclercq"
wrote:
> We're working on a project where we have to retrieve the content of an
> action+template located in another app in order to display it in the current
> app.
>
> For sure we want to do this respecting Symfony model, and not break the MVC
> structure.
I've noticed that anchor names in Jobeet translations are always
missing day's number.
Example:
http://www.symfony-project.org/jobeet/1_2/Propel/en/05#day_05_routing_in_actions_and_templates
has an anchor named "day_05_routing_in_actions_and_templates", but its
Italian translation has
"day__il_ro
On 19 Dic, 12:00, Sid Ferreira wrote:
> can't be used php in yml?
> so, something like
>
> config:
> list:
> object_actions:
> _edit: { credential: item_ }
> _delete: { credential: item_ }
>
> might work...must investigate to locate the variable.. share it if you
> do...
I don'
On 19 Dic, 10:41, "Bernhard Schussek" wrote:
> You cannot dynamically specify in the generator.yml. There is another
> trick though:
> The sfAction class has a method called getCredential(), which returns
> the credentials required for a specific method. You can override this
> method in your act
I have an "item" table related with a "user" table (1-n: a user can be
related to many items).
In backend, I want that an user can see every item, but edit/delete
only his/her ones. So, I check for "owned" items in login and I add a
credential for each one, say "item1", "item2", etc ("itemXX", whe
20 matches
Mail list logo