I would create an attribute in the GalleryPicture table
preview { type: boolean }
then I would create a method for retrieving this preview_image -
getPreviewImage() in the Gallery model class
.. this method wil call a method from GalleryPictureTable.class.php -
findPreviewImage($galleryId)
body
Or you can disable it in generator.yml
try this...
list:
object_actions:
_edit: ~
batch_actions: {}
actions: {}
On 23 čvn, 08:30, slau wrote:
> Hi,
>
> for 1)
> seehttp://www.symfony-project.org/jobeet/1_4/Doctrine/en/12#chapter_12_t...
>
> you can copy out o
I don't get why in first example the Output: http://localhost/blog/page/2
If you want the output like this just define your route like
blog:
url: /blog/page/:page
param: { module: blog, action: list, page: 1 }
On 23 čvn, 13:55, "Ivo Az." wrote:
> These are just example rou
That would be one way.
On Jun 24, 9:05 am, Tom Ptacnik wrote:
> So if I need to get some variables in javascript from the app, you
> advice is to generate it into the DOM?
>
> Example: I need to detect which culture is set. Then i should generate
> en into the DOM and then
> in the javascript rea
Hi =)
I have an $object that has the type sfOutputEscaperIteratorDecorator.
It's always a Doctrine-Model. I want to get the Model-Name.
Is there a better way than doing it this way:
get_class($object->getRawValue())
?
Thanks
--
If you want to report a vulnerability issue on symfony, please s
On Tue, Jun 22, 2010 at 11:30 PM, Christian wrote:
> Hi!
>
> my name is christian and i'm new with symfony framework.
>
> I found this step by step tutorial:
> http://www.symfony-project.org/jobeet/1_2/Propel/it/01
>
> i have troubles during the apache configuration...
>
> this is my httpd.conf
>
Merci de votre message.
Je suis présentement absent du bureau. Je serai de retour le 5 juillet 2010.
L'accès à mes courriels pourrait être limité durant cette période.
En cas d'urgence, veuillez contacter Tisha au 514 987-9992 #150 ou par courriel
à ti...@twistimage.com.
Cordialement,
Saad T
Beste,
Tot en met 27 juni ben ik niet aanwezig op kantoor.
U kunt voor dringende zaken contact opnemen met Wout Withagen:
w...@freshheads.com of 013 5448761.
Met vriendelijke groet,
Joost Farla
joost.fa...@freshheads.com
- -
freshheads grafisch ontwerp en internet applicaties
Dunantstraat 1c
Hello,
I'm starting to add Doctrine in my wab application and I have some problem
with the cache configurattion.
When I configure the query cache in the bootstrap like :
Doctrine_Manager::getInstance()->setAttribute(Doctrine_Core::ATTR_QUERY_CACHE,new
Doctrine_Cache_Memcache(array (
'compression
On Thu, 24 Jun 2010, Tom Ptacnik wrote:
> I don't get why in first example the Output: http://localhost/blog/page/2
>
> If you want the output like this just define your route like
>
> blog:
> url: /blog/page/:page
> param: { module: blog, action: list, page: 1 }
Yeah I w
Amigos buenos dias
quisiera su colaboracion en un problemilla que tengo con un campo que lo
introduzco con viñetas
y al momento de visualizarlo en otra plantilla se me visualizan las
etiquetas Html tal cual osea no se me interpretan los html
gracias
Alvaro Gonzalez
--
If you want to report a
On 24 Giu, 08:05, Tom Ptacnik wrote:
> So if I need to get some variables in javascript from the app, you
> advice is to generate it into the DOM?
>
> Example: I need to detect which culture is set. Then i should generate
> en into the DOM and then
> in the javascript read the value of the div by
Just a suggestion, you should use a newer version of symfony (1.4) and
instead of use Propel you should use Doctrine, that's the future of
Symfony.
On 22 jun, 10:30, Christian wrote:
> Hi!
>
> my name is christian and i'm new with symfony framework.
>
> I found this step by step
> tutorial:http:
This is an example of what I have:
#Attrition is the name of my porject.
#Este solo debe aparecer una vez en toda la configuracion
NameVirtualHost 127.0.0.1:80
ServerName attrition.localhost
DocumentRoot /home/pachinsv/www/attrition/web
DirectoryIndex index.php
Alias /sf /home/pachinsv/www/attri
Hello everyone,
I am creating a complex form using the
ahDoctrineEasyEmbeddedRelationsPlugin to create forms containing many to
many relations.
The plugin seems to work fine when only using a tier 1 relation (Eg user
belongs to usergroup and vica versa).
But when I have a tier 2 or 3 relation (
Oh man, oh man, the plugin developer here. :) Kind of an extreme example, don't
you think? *hmm*
Nested relations with my plugin are planned but it's an enormous amount of work.
I'm not saying anything but your last sentence was not nice, you know? You can
of course develop your own, I'm doing
Actually, two issues:
1) My date widget isn't saving the date in the database. I get all
zeroes on the insert. If the date is left null in the form, validation
catches it, so I'm not sure why it doesn't get passed to the database.
Any ideas?
2) Is there a way to add validation to the year widget
PostgreSQL
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
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
To unsubsc
About Route 1 - if route has a * wildcard at the end of the url then
the parameters will be added like this:
http://.../param1/value1/param2/value2/...
and so on. This is by default in symfony.
What I want is the url to be http://localhost/blog, when the page is
equal to 1, and http://localhost/b
This feature is new in version 1.3.6 which is not released yet. :)
If all goes according to plan, it will be released this week.
Cheers, Daniel
On 23.06.2010, at 10:29, slau wrote:
> Hi everybody,
>
> I am using ahDoctrineEasyEmbeddedRelationsPlugin to embed pictureForms
> within a let's sa
Can you show us how the widgets are set and configured in the form?
Outside of adding a date widget and a date validator you shouldn't
have to do anything.
Daniel
On Jun 24, 1:49 pm, metaphist wrote:
> Actually, two issues:
>
> 1) My date widget isn't saving the date in the database. I get all
How do you want to filter look like?
Do you want to filter by actual culture of the user? Or by exact
translation (culture)? Or do you want to show more translation fields
at once ... for example title_en, title_fr, title_de ?
On 23 čvn, 15:51, HAUSa
wrote:
> Is it possible to use fields from t
You have most likely not edited the path to the project configuration
in your front controllers(index/frontend_dev.php)
On Jun 22, 7:30 pm, Christian wrote:
> Hi!
>
> my name is christian and i'm new with symfony framework.
>
> I found this step by step
> tutorial:http://www.symfony-project.org/
Hello.
One -> all route tokens should be unique, you are right on that.
Second, the route order matters. The first route that matches will be
used. I am guessing /blog/:page is your first route, which is why it
matches every case.
As for default parameters not appearing - I'm not sure. Can you s
Try to google it. I'm sure you will find some solution.
I found this:
http://trac.doctrine-project.org/ticket/568
http://trac.symfony-project.org/ticket/3831
On 22 čvn, 15:27, Marxy wrote:
> Hello!
>
> I got this error while added new value on standrd form generated by
> default.
>
> execute :
Did you copy this code from your editor? If so .. it's only a typo ...
Upate -> Update
On 24 čvn, 06:39, bretth wrote:
> Additionally to this; I have tried using the doUpdateObject() method;
> I figure I can put the update code in there. However, the method isn't
> getting called.
>
> In my /lib/
And what do you suggest if I need for example some texts... some info
messages .. assume that I'm using I18n. Is there another way than read
it from the DOM .. some hidden generated div, or span.. or whatever.
On 24 čvn, 18:19, Massimiliano Arione wrote:
> On 24 Giu, 08:05, Tom Ptacnik wrote:
27 matches
Mail list logo