t; type: string(255)
> email:
> type: string(255)
> office_address:
> type: string(255)
> home_address:
> type: string(255)
> telephone:
> type: string(25)
>
> IronManApplication2011:
> inheritance:
> extends: Applicatio
ibute back, with a default
$user->aGet('seen_welcome', false);
For more information see:
http://trac.apostrophenow.org/wiki/sfDoctrineActAsKeyValueStorePlugin
You do not need Apostrophe to use this plugin.
Cheers!
--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
win
ore it? At the moment, I'm storing it myUser, but I've
recently been thinking about whether or not I should make a singleton
out of it since it needs to be available in every part of the system:
Culture::getInstance();
WebsiteProfile::getInstance()
Any suggestions/comments?
Tom
--
The H
I've solved this by remaking //lib/Jobeet.class.php in another text
editor
It was then picked up ok , some strange file bug perhaps
On Mar 18, 9:24 am, Tom W wrote:
> Yes of course , first thing I did
>
> Please ignore my last post about routing. Barking up the wrong tree
creating
> that class?
> Cheers,
> Francesco
>
>
>
> On Thu, Mar 17, 2011 at 5:32 PM, Tom W wrote:
> > Have rebuilt it from Day 4 &5, once I change routing.yml to include
>
> > job_show_user:
> > url: /job/:company_slug/:location_slug/:id/:p
y
breaks the whole framework.
On Mar 16, 11:04 pm, Matt Gibson wrote:
> On 16 Mar 2011, at 15:28, Tom W wrote:
>
> > I have exactly the same problem.
>
> > Paris, France
> > Fatal error: Class 'Jobeet' not found in /Applications/MAMP/htdocs/
> > sfprojects/j
sf_method: [get]
# default rules
homepage:
url: /
param: { module: job, action: index }
# generic rules
default_index:
url: /:module
param: { action: index }
default:
url: /:module/:action/*
On Mar 16, 11:04 pm, Matt Gibson wrote:
> On 16 Mar 2011, at 15:28, Tom W wrote:
&
I have exactly the same problem.
Paris, France
Fatal error: Class 'Jobeet' not found in /Applications/MAMP/htdocs/
sfprojects/jobeet/lib/model/doctrine/JobeetJob.class.php on line 19
I've created //lib/Jobeet.class.php OK but is that where it should
be ?
The SVN repository is interesting since
(:
Thanks!
--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com
--
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&quo
ry filters are now alphabetically sorted
* You can now locate uncategorized posts by selecting "Uncategorized"
from the Categories filter dropdown
* Author and category filters can be combined with other filters properly
* Google Calendar URLs were often too long; imposed a ch
elloBundle,
testing out more functionality and offering something that is
tantalizingly close to useful (:
Pull requests offering new features are quite welcome, I need the git
experience anyway!
--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com
--
If you want to report
Mmm. His throughput was 3x higher with APC, and it does look like he
enabled it correctly, but he was still pegging CPU and memory the
whole time. I would have to study his specific code more to figure out
if he's doing anything "wrong" for Symfony that he's doing "right" for
Grails.
On Jan 17, 4:
e svn access to more translators, and we
will hit that. Feel free to nag me about it. (:
--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this
Yeah, I would create an action that returned a json object and create
the new from that.
On Wed, Jan 12, 2011 at 11:16 AM, Tom Haskins-Vaughan
wrote:
> Can you not set the service type on the object before you pass it to the form?
>
> $calculation = new Calculation();
>
Can you not set the service type on the object before you pass it to the form?
$calculation = new Calculation();
$calculation->setServiceType($my_value);
$form = new CalculationForm($calculation);
On Wed, Jan 12, 2011 at 8:12 AM, Emil Rømer Christensen
wrote:
> This is my Form class:
>
> class
I just grep'd for the phrase "hasHelp" in sf1.4.8 and came up with
nothing. Is this not in the core library?
On Fri, Jan 7, 2011 at 2:53 PM, neanlos wrote:
> ... And anyone has documentation about the hasHelp function mentioned
> in the section "Customizing Error Messages Display" of gentle-
> in
What are you trying to achieve?
On Fri, Jan 7, 2011 at 2:39 PM, neanlos wrote:
> Anyone has documentation about sfForm getValidatorSchema()-
>>setPreValidator() mentioned in the article
> http://www.symfony-project.org/gentle-introduction/1_4/en/10-Forms?
>
> --
> If you want to report a vulnerab
Are you still having trouble with this? I tried the link and didn't
see anything wrong.
On Fri, Jan 7, 2011 at 1:00 PM, Felipe Gutierrez
wrote:
> Hi Im new in symfony I need a hand with pagination, Im trying to use
> pagination in a page for search terms, in the module I have 2 actions, index
> a
Update: this project now includes a Twig extension written as a Symfony
bundle. The Twig extension implements a simple Wiki syntax.
--
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
What do you have so far?
On Thu, Jan 6, 2011 at 10:10 AM, Emil Rømer Christensen
wrote:
> Hi there,
>
> I have made a form with 3 select boxes using sfWidgetForm. Here is the
> schema for them:
>
> ServiceType:
> columns:
> name: { type: string(255), notnull: true, unique: true }
> Milage:
>
as a service in config.yml and tag it so that the Twig bundle knows to
look for it:
services:
twig.extension.WikiText:
class: Application\SillyCMSBundle\Twig\Extensions\WikiText
tags:
- { name: twig.extension }
If you have problems, triple-check that your namespace paths are consistent.
All three questions have now been answered. I figured out the first two just
now.
#1 & #2: Yes you can capture the leading /, and even a missing leading /.
Also you can capture slashes (most useful in the final parameter). When I
write:
show:
pattern: /:slug
defaults: { _controller: S
A further update: login and logout buttons are now implemented, and edit
buttons shown only when logged in, thanks to answers from symfony-devs.
--
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 ar
That is what I have since done. It turns out that you can use ->get to fetch
the in-URL parameters as well as query string parameters, so you can still
write actions that don't care what the route looks like, which I think is an
important feature.
So my third question is answered, but the first
I have updated this project to demonstrate the user authentication component
(a little). That raised some bug reports and questions which I've sent to
symfony-devs.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this m
Mmm. But hitting the database abstractions would probably be friendlier to
PHP than, say, a math benchmark (:
--
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 "
Apostrophe (a CMS plugin for Symfony, among other things) includes a
minifier for JS and CSS which is integrated into Symfony so that whatever
you have in view.yml, etc. will wind up as part of the minified bundle.
I'm not an expert on Closure but I'm not sure whether you can count on JS
code t
Claiming that "similar graphs can be made in paintbrush" is not helpful. If
you click through to the original blog post that backs the article:
http://cutiecode.maniacmansion.it/
He presents very complete source code and software and hardware specs and
shows a good understanding of what he is d
ld simple_format_text helper behavior
in Twig?)
Please clone SillyCMS, learn from it, improve it and share your feedback.
Cheers!
--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com
--
If you want to report a vulnerability issue on symfony, please send it to
securi
Some research into my third question:
I have figured out that when you call path() in twig any parameters that are
not part of the route are added to the query string. And I've also figured
out that I can call $this->get('request')->get('paramname') to get at one of
those parameters.
So genera
instead of arguments passed to the method - there is no such
thing as just changing the route to go from using query string
parameters to using pretty URLs, as you could do in Symfony 1.x. Is
that correct?
Thanks!
--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com
--
If yo
That was it. I am making progress again (on to the next bug (: )
--
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, s
Thanks! MacPorts has a very, very, very a la carte PHP build in which almost
everything is a separate port to install. I am running "port install
php5-intl" right now.
I suggest adding this one to the installation instructions. It's pretty
opaque when you run up against it, mostly because error
Actually, let's get modern: I popped the SillyCMS project up on github.
g...@github.com:boutell/SillyCMS.git
No need to guess whether I posted enough code to reproduce the problem or
not (:
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-projec
I'm reading the master versions now, thanks to those who pointed them out.
I'm continuing to summarize my impressions since it should be useful in
improving these guides. If I don't share
these impressions now I will know too much about Symfony 2 to remember them
later (:
Continuing with forms,
Damon and Tim, you are right about the : syntax, it does work. I was
probably confused by too many other things that didn't work in that code.
The updated example for the orm overview:
http://docs.symfony-reloaded.org/master/guides/doctrine/orm/overview.html
Uses find() instead and the syntax l
http://docs.symfony-reloaded.org/guides/doctrine/orm/overview.html seems to
be untested or perhaps based on something that worked long ago?
$user = $em->createQuery('SELECT u FROM HelloBundle:User WHERE id = ?', $id);
$user->setBody('new body');
This will not work, there is no execution
it shows.
My question: what does this transformer actually do for me? It seems
to me that I could write this exact code, minus the transformer part,
and it would still work.
I suspect the answer is that later I'll be able to get the engineer
value from the form and discover I've received an
.sfGuardAuth/config/view.yml file
On Fri, Dec 31, 2010 at 5:14 PM, ma89a2 wrote:
> Hello all.
>
> I have an frontend app with sfDoctrineGuard installed and it works
> fine. Is there a way I can secure the frontend/template/layout.php
> too ? Because I would like to have just the login form on thi
ead of listners.
Any advice is much appreciated.
Cheers,
Tom
--
The Harvest Cloud
Who says buying local food can't be easy?
Find out more @ harvestcloud.com
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this mes
Why don't you just log in as part of your test?
On Tue, Dec 21, 2010 at 10:23 AM, dmitrypol wrote:
> I implemented sfDoctrineGuardPlugin 5.0.0 and secured most of my
> modules (some can be publicly accessible). However it really limits
> my ability to run functional tests.
>
> I check that modu
;no" votes are quite
important, but I am interested in how it is playing out for this
question)
--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You r
ake the lang column containing 5 characters by doing this :
> X:
> actAs:
> I18n:
> fields: [xxx, yyy, zzz]
> length: 5
> --
> Pierre-Yves
>
>
> 2010/10/26 Tom Haskins-Vaughan
>>
>> Hi all,
>>
>> I apologise if this
t possible to use the "full" culture
to translate doctrine records?
Any pointers much appreciated.
Thanks,
Tom
--
The Harvest Cloud
Who says buying local food can't be easy?
Find out more @ www.harvestcloud.com
--
If you want to report a vulnerability issue on symfony, pleas
What is in this array?
On 28 zář, 18:49, pantherse wrote:
> What I want to do is replace the validator for a field to
> sfValidatorString instead of the sfValidatorPass in the base form
> filter class. However, when I do that the field's value becomes the
> text "Array" instead of the actual clea
For that create a partial, like guiguiboy sad and create a link here.
Instead of just echo $issue->getEmp() do something like link_to()
On 22 zář, 15:20, dmitrypol wrote:
> Thank you both. I do have one more question. I created a page
> listing all employees
> symfony doctrine:generate-adm
Routing and generator are two separate things.
Thats why you have to set it in both files.
On 2 zář, 01:43, Jochen Daum wrote:
> Hi,
>
> out of interest, why does a generator.yml driven module ignore the
> route settings in config/route.yml and needs the settings defined in
> apps/app/modules/m
Agree
On 1 zář, 16:23, sam wrote:
> Hello,
> I follow this mailling list for a while, and I see more and more
> subject on Synfony2.
> I think that can be a good idea to split this one in 2 : synfony1 and
> synfony2
> or at least allways use a tag like [sf2] in the subject.
>
> I am interested in
I think you can, because login page is unsecured action in the secured
app...
On 28 srp, 03:28, Alvaro Garcia wrote:
> Hi!
> I have secured the application (application/config/security.yml) and a want
> an unsecured module. Then I have the file
> /application/unsecuredModule/config/security.yml c
The filter value is saved to the session - the filter is saved even if
you move to another page and go back. Also the value is showed on the
form ... it's good to know which filter is set.
How do you want to change it? ... only don't show the value on the
form but let the filter value in the sessi
Try this http://garakkio.altervista.org/datepickerui/
I like it.
On 16 srp, 21:42, Joe666 wrote:
> Hello guys,
>
> I installed the sfFormExtraPlugin as per the README file, then I
> downloaded jquery 1.4.2 and jquery UI 1.8.4, installed, included in the
> project, then I go to one of the admin g
Try to unset it in the form class (configure method) . . . . .
unset($this['updated_at']);
On 18 srp, 15:15, Christopher Schnell
wrote:
> A part of it, I can answer myself:
>
> the updated_at column is set to null if I press "save" in the Form and do not
> really make an update (i.e. leave all v
xemple:
job:
title: my job
description: |
Cooker, i can find more information at : my_website.com.
On 16 srp, 00:33, Reo wrote:
> Hi,
>
> I was wondering if it is possible to put some HTML tags in YAML files.
>
> Exemple:
> job:
> title: my job
> descrip
Maybe we could
> > provide a apostrophe:clear-minified-resources [--js] [--css] [--all]
> > [--env="dev|prod|staging"] task so as to not need the brute-force symfony cc
> > or go hunting for these minified files manually?
>
> > Cheers, Daniel
>
> > O
>
> Before Printing, Think about Your Environmental Responsibility!
> Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> On Tue, Aug 17, 2010 at 3:32 PM, Tom Boutell wrote:
> > Daniel, this almost works and I got pretty excited thinking about
> >
he browser then should just request the
> file because it doesn't about that file yet (filename is not the same).
>
> Am I missing something here?
>
> Cheers, Daniel
>
> Sent from my iPad
>
> On Aug 16, 2010, at 2:59 PM, Tom Boutell wrote:
>
> > You're
I've opened a ticket on this:
http://trac.apostrophenow.org/ticket/529
I think manual updates are unnecessary, symfony cc can invalidate the
cache key, no muss no fuss (:
On Aug 15, 11:44 am, pghoratiu wrote:
> > It might be worthwhile to take things a step further by versioning
> > them in the
You're right, we do need cache invalidation. I just came up with a
clean way to do it without tweaking app.yml settings, adding a table
or making glob() calls: just use a file in the asset-cache folder to
hold the current cache key. The OS should cache reads from that file
extremely well.
It may e
ng these scripts (thus leaving one file per
> script) should result in usually higher performance than generating
> two different, but combined files.
>
> Kind regards,
> Johannes
>
> On Aug 15, 2:04 pm, Tom Boutell wrote:
>
> > The cached versions are removed by
/browse/:permalink/*
or /browse/*
or something like that ;)
On 15 srp, 00:05, Arnau Alcázar Lleopart wrote:
> Hi everybody,
>
> I've got urls likehttp://example.com/browse/one/twoand I have creayed a
> route where url is /browse/:permalink
>
> The problem is this route is only selected when ther
hese resources (in case
> they are cached on the client side)?
> Please post also a link to the sources.
>
> Thanks,
>
> gabriel
>
> On Aug 14, 5:08 pm, Tom Boutell wrote:
>
> > We've committed a new CSS and JS minifier to the trunk of
> > apostrophePlugi
This behaviour is correct. It depends on the form you are using...I
gess that this form is designed to set all attributes of the object.
If you want to change only some values of the object, then you need to
change the form. Or update just this few attributes of the object
manualy and seve it.
O
Maybe better would be to store the id of the user not the username.
But the principle is right.
And this code of creating the query move to the JobTable class ..
create a method with userId parametter.
On 12 srp, 21:16, RusAlex wrote:
> I have my own opinion:
>
> I need to add new field "user"
ify_gzip turned
off, but it won't be as awesome.
symfony cc and go to town.
That's it - no database tables needed, no schema changes.
Note that web/uploads/asset-cache needs to be writable by Apache
(project:permissions should take care of this).
Enjoy!
--
Tom Boutell
P'
You can use Doctrine::getTable('RankDomain')-
>findOne or FindOneByXXX
On 11 srp, 12:10, RusAlex wrote:
> First variant returns an object and you can use method.
>
> But second variant returns and array of objects and you must select
> object (ex.$rank_domain[0]) for using methods
>
> On Aug 11,
I don't think that you need embed form filter.
Just add a widget for selecting a school into the person formFilter
Something like:
public function configure() {
$this->widgetSchema['school_id'] = new
sfWidgetFormDoctrineChoice(array(
'model' => $this->getRelatedModelName('School'),
I think it can be done by component.
Look into the sfGuard template and action .. you need to create the
form class (action) then pass it into the component template and show
it.
On 8 srp, 00:31, Psychonetics wrote:
> I'm trying to embed my sfDoctrineGuardPlugin login form on an existing
> page
table. However having it in the
trunk means it will be in 1.5 before too long. We might reconsider
putting this into 1.4 if the trunk gets heavy testing and proves to be
rock solid boring stable in this particular area, but more likely
we'll just get to 1.5 soon.
--
Tom Boutell
P'unk Aven
atible with pkTagahead if necessary
Found a bug in some logic in the component.class
Fixed a bug with the new tag widget
Documented the new tag widget renderer
*** sfJqueryReloadedPlugin 1.4.3 ***
Updated jQuery UI. (We still haven't moved to jQuery 1.4.x by default
due to persistent incompatibi
Great, thank you for sharing your solution.
On 4 srp, 12:12, Thor wrote:
> Thank you Tom!
> today i found a bette solution!
> it's more solid than the solutoin posted in the first link you
> provided, and i guess it's easier.
>
> i don't know how, but in all t
I'm using Eclipse too, and I'm happy with it.
On 4 srp, 11:36, Gareth McCumskey wrote:
> For me the biggest aspects of using an IDE like Eclipse is simply that,
> while it may be bloated and slow to load at times, that it actually speeds
> up my coding. Auto-completion of class method names for e
on enligne, there are only families with 0 on the column
> enligne. But when I chose this, there is not generated SQL query...
>
> So I don't know what to do.
>
> On 3 août, 16:35, Tom Ptacnik wrote:
>
>
>
> > What do you want to this filter to do? And wha
s->setWidgets(array(
> 24 'nom' => new sfWidgetFormFilterInput(),
> 25 'image' => new sfWidgetFormFilterInput(),
> 26 'description' => new sfWidgetFormFilterInput(),
> 27 'deuxcolonnes'
What means doesn't work?
How it looks before ... show BaseFormFilter class, or the schema of
the object at least.
Which version of Symfony?
On 3 srp, 11:01, florian périn wrote:
> Hello,
>
> I wanted to change the type of my filters auto-generate with admin-
> generator, but when I did it, the fi
generator:
param:
config:
filter:
class: false
Works for me.
On 30 čnc, 18:09, halfer wrote:
> Hi all
>
> I've discovered a bug in the filters section of the admin generator
> (when run against Oracle anyway) on Symfony 1.3 and Propel 1.5. I
> believe that if I can turn the
> > Sluggable:
> > > unique: true
> > > fields: [nombre_apellidos]
> > > canUpdate: true
> > > name: 'myslug'
>
> > > On Jul 27, 10:57 am,JavierGarcia wrote:
> > >> On Jul 20, 12:00 pm, Tom Ptacni
07/30/symfony-almost-live/
I've kept in my mistakes along with their solutions. More educational that way.
Hope you find it helpful! Definitely a good choice for beginning
Symfony developers.
--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com
--
If you w
flash works ok in my chrome browser (tested in classic admin generated
backend where flash is used after the item is deleted in the list)
On 29 čnc, 15:20, Travis wrote:
> Yes. The cookie is set. And as you can see, the setAttribute and getAttribute
> method work
>
>
>
> > cookies enabled?
>
> >
I think that easy solution is to overwrite the save method of the
object wich is on the embeded form.
Just test if there are some values and if not, end the method. If yes,
call parent::save()
On 30 čnc, 01:51, J_Wesker wrote:
> After making some changes on my code and debugging using die's and
ended");
>
> sorry for my grammar, I dont speak well the English
>
> -Mensaje original-----
> De: symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] En
> nombre de Tom Ptacnik
> Enviado el: miércoles, 28 de julio de 2010 1:13
> Para: symfony
Why do you need to delete cookies before?
On 28 čnc, 20:47, Javier Garcia wrote:
> Hi
>
> I have followed the steps below to add a select to change the language
> of my app.
>
> http://www.symfony-project.org/jobeet/1_4/Doctrine/en/19#chapter_19_l...
>
> It works OK for the first time I change
What about to overwrite the delete method?
On 28 čnc, 09:59, "pierre.use...@gmail.com"
wrote:
> Hi all,
>
> I've a problem with the delete method in my project.
>
> here is my schema :
>
> USER:
> columns:
> id: {type: integer(7), primary: true, autoincrement: true}
> name: {type:
I think that just sfValidatorBase::setDefaultMessage( 'required',
'Required field' ); is enough and the __() helper will be used
automaticly.
On 27 čnc, 04:23, Gustavo Adrian wrote:
> Hi,
>
> I've found a way to do this in the BaseForm class. I just set the default
> message of each validator o
diferrent quantity. But this quantity is
connected just to this combination.
I'm not saying that this is the best solution. Maybe someone has a
better idea. But I think it can work :)
On 26 čnc, 21:23, Micoto wrote:
> Thanks for replying Tom,
>
> It is 2), but with combinat
Then you can try to set your form like in this
http://melikedev.com/2009/12/09/symfony-w-doctrine-saving-many-to-many-mm-relationships/
article and see how Symfony does this.
On 26 čnc, 22:51, Devang Modi wrote:
> Thanks for info.
> I tried something similar but it didn't work.
>
> In doUpdateObj
I don't understand what are you trying to achieve.Try to explain
again.
On 25 čnc, 20:12, "Julian Reyes Escrigas"
wrote:
> How to use flush with symfony in a long while for send information to user
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfon
Hi,
there are some questions which you have to answer if you want to
design this app.
1) sizes are connected to the type or to the design, or to the
combinatioin of design&type?
a) all posters have size A5 and A6 (no matter which design), all
banners has size A6, A7 (no matter which design)
b
so appreciate a svn tag
>
> > On Jul 23, 5:25 am, Tom Ptacnik wrote:
> >> I want to try a new version (5.0.0). Do you suggest to connect the
> >> trunk to my project (http://svn.symfony-project.com/plugins/
> >> sfDoctrineGuardPlugin/trunk/) via svn extern
I want to try a new version (5.0.0). Do you suggest to connect the
trunk to my project (http://svn.symfony-project.com/plugins/
sfDoctrineGuardPlugin/trunk/) via svn external or rather instal it
like a package?
I'm afraid of to much changes in the trunk in the future... What about
creating a tag i
If you set no_script_name to false then it shouldn't change you url
from
http://www.example.com/index.php/module/action to
http://www.example.com/moduleName?productId=2
Try to set it to true again (or look on the page in the dev
environment - with the frontend_dev.php) and look how the URL changes
Maybe this is for developers list?
On 20 čnc, 20:38, PhiKapJames wrote:
> I had this issue back in November and it was fixed on the doctrine
> side. I recently updated Symfony from 1.4.3 to the latest 1.4.7 and
> the issue has cropped back up again. Even though I'm specifying two
> different d
One appliacation in your project can use index.php (probably
frontend)
the others must use another frontend controller which isn't
automaticly executed.
Solutions how to add /admin/ or /backend/ into your url are several.
Try to look there, it might help you.
http://groups.google.com/group/symfony
I think it's because when you want to edit something, you must say
what
This edit action in mod_B don't know which object it should edit (you
didn't send any id, or object)
On 20 čnc, 16:10, Martin Henits wrote:
> in one of my backend modules (mod_A), I need to put a link to the edit
> pag
I would do that somewhere in the login process of the user.
just call getUser()->setCulture($culture); where $culture is
readed from the user profile.
On 19 čnc, 20:16, Tomasz Ignatiuk wrote:
> Hi
>
> If I add a profile to a user with some information, also a language
> for a user, how to
When does this error occurs?
On 19 čnc, 11:24, François SEDE wrote:
> HI all,
>
> I have this error :
>
> 500 | Internal Server Error | Doctrine_Connection_Mysql_Exception
> SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or
> update a child row: a foreign key constraint fails
>
Maybe colision with inheritance? Try to move inheritance before actAs
(only guess)
On 19 čnc, 21:16, Javier Garcia wrote:
> no idea?
>
> On Jul 17, 10:35 pm, Javier Garcia wrote:
>
>
>
> > Hi,
>
> > I have this model:
>
> > Usuario:
> > actAs:
> > Sluggable:
> > unique: true
> >
Which version of Symfony do you use?
On 17 čnc, 20:15, comb wrote:
> Hi! :)
>
> I found much on the web regarding the topic, but no solution! :(
> Normally one would include the css and js in the head. But if I call
>
> php use_stylesheet('xyz.css') ?>
>
> from an partial, they are not inclu
You can create this route and map it to your action
my_foo_action:
url: /my_module/foo/action
param: { module: my_module, action: foo}
On 17 čnc, 20:12, Martin Henits wrote:
> Hi all,
>
> I wrote the following piece of code in the generator.yml of a module:
>
> list:
> actions:
>
No you can't. renderComponent() method is only in sfAction, sfActions
Look on the Inheritence
http://www.symfony-project.org/api/1_4/sfAction#method_rendercomponent
On 14 čnc, 22:21, juanes31516 wrote:
> sorry, there is in English->
>
> I am trying to call return $ this-> renderComponent ('onlin
If you haven't to much credentials (groups..), you can create one form
for "admin" and the second for "normal user", they show the form by
the credential of the user.
On 14 čnc, 23:49, galileo wrote:
> You have misunderstand me :)
>
> i need display form fields only for those users that have nee
1 - 100 of 945 matches
Mail list logo