There is no straightforward way to do that, the only thing I can think
of is modify sfAssetPlugin's image browser for tiny to include an
extra button for every image that would return the path to the
thumbnail. It shouldn't be more than a few lines of html/js
On Nov 7, 11:32 am, Sid Bachtiar
Never mind, there's actually a feature for that in the sfAssetsPlugin
but was not working correctly. I've modified the plugin a little and
now working really well.
On Sun, Nov 8, 2009 at 10:48 PM, Crafty_Shadow vankat...@gmail.com wrote:
There is no straightforward way to do that, the only
this is because the sfAssets solution is for the version 2 of
tinyMCE...
but, as you said, with a little effort you can make it work straight
with the third version.
Anyway, in a recent project, I managed to have a static images
backend module, that serves also as a selector for tinyMCE. With a
I have schema.yml:
Firm:
actAs:
I18n:
fields: [description, address]
columns:
id_firm:
type: integer(1)
primary: true
autoincrement: true
email:
type: string(100)
notnull: true
description:
type: clob
notnull: true
address:
Remove the description from the fields listed in I18n, build-all,
clear-cache.
On Sun, 2009-11-08 at 03:27 -0800, dziobacz wrote:
I have schema.yml:
Firm:
actAs:
I18n:
fields: [description, address]
columns:
id_firm:
type: integer(1)
primary: true
But I want also 'description' for i18n but on the other page with
other form. I need two international forms for 'address' and
'description' but I think it isn't possible - all international fields
must be on the same form :/ ok so I could create NORMAL the easiest
form with these two fields:
I heard in a recent Usergroup meeting that the S3 is good for keeping
web accessible assets that don't require the appserver (i.e. symfomy)
to serve, as a high load/traffic optimization technique. Do you think
the benefit is there? (Probably), and has anyone successfully
partitioned the
I have array:
$firm['Translation']['pl']['address'] = ;
$firm['Translation']['pl']['description'] = b;
$firm['Translation']['en']['address'] = c;
$firm['Translation']['en']['description'] = d;
In action I am trying to pass this array to the form:
$this-form = new
Hey guys, I need a horizontal menu for my application, this menu need
to be integrated with sfGuardPlugin to manage permissions. Any idea?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post
Options are passed as an array to the second argument.
$this-form = new ContactForm(array(), array(firm = $firm));
Then in your form class:
$this-getOption(firm);
Although in your case - if you are just trying to set defaults you can
use the first array for that.
On Nov 8, 10:10 pm, dziobacz
I have two classes: UserForm and UserSimpleForm. UserSimpleForm
extends UserForm.
In UserForm are several other forms embedded, like PhotoForm and
AddressForm.
For the simple version of the form, UserSimpleForm, I want to unset
these embedded forms. Say unembed (is that an existing word?) them.
Hi again,
Hi,
i have read this ticket:
http://trac.symfony-project.org/ticket/6731
As you can see it propose another file _list_th_tabular.php to
customize the list of backend.
After change that file, i get this error:
Couldn't find class ct
Any idea?
Javi
On Oct 20, 7:28 pm,
Build one in HTML / CSS in a special component / partial?
On 8 nov, 21:37, Relez relvis.gonza...@gmail.com wrote:
Hey guys, I need a horizontal menu for my application, this menu need
to be integrated with sfGuardPlugin to manage permissions. Any idea?
I think the better way is to use an attribute to control the embedding
in the UserForm using a simpe if..
then the derivated class should set the attribute to false..
On 9 Nov, 00:51, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
I have two classes: UserForm and UserSimpleForm.
Hi all,
I was asking my self... how do I do to access embedded forms if i
want to render my form widget by widget?
(I'd like to group forms widgets and divide my form in sections)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Hi every:
I'm asking if it's possible to use Template Component in a SF 1.3
Project. I need to develop my application skinnable and I tough that
Template Component will be nice for this purpose. If it wasn't possible:
any others suggestions?
--
Cheers
ReynierPM
Is it possible to force an empty input field?
Because when I use setDefault(), the field still has default values
from the object when you edit is (object not new)...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Is it possible to make a pager that doesn't use the database?
In that case I make an array of objects myself and pass it on to the
pager.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post
But that doesn't work in a form - why ? :
$firm = $this-getOption(firm);
$this-setDefault('contact', $firm['Translation']['pl']
['description']);
On 9 Lis, 00:10, rooster (Russ) russmon...@gmail.com wrote:
Options are passed as an array to the second argument.
$this-form = new
Hi,
I am creating a plugin that adds event management to Symfony -
currently for my own needs and as soon as I am happy with it, I shall
publish it (it is very early stages at the moment).
The plugin is called sfEventPlugin (for the lack of a better
name ;) ). After building all the models, I
I guess it would be sfPager ... but not sure atm ..
On Mon, Nov 9, 2009 at 8:33 AM, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
Is it possible to make a pager that doesn't use the database?
In that case I make an array of objects myself and pass it on to the
pager.
--
Hawe
21 matches
Mail list logo