Try with sfContext::getInstance()->getUser()
cheers
Massimiliano
--
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,
Il giorno giovedì 21 aprile 2011 17:48:41 UTC+2, Javier Garcia ha scritto:
> I want to create a functional test for an action that receives a POST
> method with data in JSON format.
>
> This is what I have:
>
> info('set car')->
> post('/user/'.$user->getId().'/set-car/'.$car->getId()'->
Open config/view.yml file in your application.
First 3 lines (excluding comments) are
default:
http_metas:
content-type: text/html
you got a clue ;-)
cheers
Massimiliano
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You rec
You should definitely use Propel 1.5
It's back-compatible with Propel 1.4 and much much more developer friendly.
cheers
Massimiliano
--
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
On Friday, February 25, 2011 9:41:40 AM UTC+1, GarethMc wrote:
>
> Create the directory in the uploads folder using the mkdir function
> (http://php.net/manual/en/function.mkdir.php) and then store the
> uploaded file in there.
Be aware: you must validate the type of uploaded file.
Otherwise, y
On Wednesday, February 16, 2011 5:59:13 PM UTC+1, coolmec33 wrote:
>
> I want to know the feasibility of a social network (profiles, walls,
> groups, friends ) with the symfony framework.
>
http://www.symfony-project.org/plugins/sfSocialPlugin
cheers
Massimiliano Arione
--
You're code is a mess... you should really really try to clean it.
Why the hell are you putting logic in your template? :-(
cheers
Massimiliano
--
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
Embedded form is updated in form itself (in your case, in EventDateForm).
So, you can try to juggle with that form's methods (doSave and
doUpdateObject)
cheers
Massimiliano
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You receive
If you need to post a page without user interaction, use sfBrowser (in
sfBrowserPlugin)
cheers
Massimiliano
--
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 "s
I second Shin.
Just another clue: this page http://www.symfony-project.org/installation ,
that should be one of most important pages of site, is clearly not up to
date.
cheers
Massimiliano
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project
'27' is the label of a link, something like 27
cheers
Massimiliano
--
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
On 4 Gen, 13:41, Gareth McCumskey wrote:
> To be perfectly honest, why bother? What advantage does turning a more
> efficient integer based, autoincrement ID column into a more inefficient,
> multi-byte character column, even if you could get "autoincrement" working
> for characters? Any app that
On 29 Dic, 17:58, "emanu.ti" wrote:
> Hi, I want to use sfWidgetFormChoice with "multiple" => true
> parameter. Here is my code:
You need to set "multiple" option in your validator.
cheers
Massimiliano
--
If you want to report a vulnerability issue on symfony, please send it to
security at sy
On 19 Dic, 21:45, Warringer wrote:
> I have build myself a custom 404 error page according to the very
> useful help on symfony-check.org.
>
> Now I have the problem that my custom header adds the default CSS
> spreadsheet to the rest of the CSS I have added.
That's a stylesheet, not a spreadshee
On 9 Dic, 11:52, bobey wrote:
> Jquery mobile transforms html urls links and call them in ajax. When a
> symfony action is called this way, the layout is no longer decorates
> the template and no javascript is executed. For the layout, I have to
> add $this->setLayout('layout') in my action but I
On 6 Dic, 13:19, gurkanoluc wrote:
> I'm trying to use Symfony 1.4.8 wih sfPropel15Plugin. When i try to
> use methods like findPk it works very well. But when i try to use
> select function, it's not working. My Schema is
> :http://paste.pocoo.org/show/301282/,
> My query code is :http://paste.p
There will be an advent calendar this year?
I hope so, since past advent calendars were a great opportunity for
community boost.
I remember that Italian symfony community is born with the 2008
advent, with just a few members, and now it has 130 members (and
counting).
cheers
Massimiliano
--
If y
On 22 Nov, 06:36, Pradeep wrote:
> I found that title is being obtained from the layout.php which is
> being applied to all pages taking it from there. I wonder how to add
> the title to each page according to the type of the page showing
> necessary title.
If you need to automatically set the ti
On 23 Nov, 17:33, Manu wrote:
> Hi, I'm using tinyMCE in my forms and have noticed that I only use two
> configurations : a very limited one, for things like comments, and a
> more complex one, for the administators of the site.
Don't rely on bad things such sfWidgetFormTextareaTinyMCE.
Use plain
On 22 Nov, 10:40, Simone Fumagalli wrote:
> When I develop I18n project I always spend a lot of time (too much) to
> translate it. It's hard for me to keep translation files updated and
> share them with the translators. My translators don't know how to use
> programs like Virtaal/Pootle and the s
On 17 Nov, 11:24, Manu wrote:
> I removed the "delete" link from the list page, but I just found out
> that there is a delete link at the bottom of every "edit" page ... How
> do I remove that one ?
Use generator.yml to hide delete actions (see docs)
Then, you should also override delete actions
On 15 Nov, 14:54, matiasdig wrote:
> Warning: sfCore::require(/home/elbuen/symfony/lib/symfony/log/
> sfLogger.class.php) [sfcore.require]: failed to open stream: No such
> file or directory in /www/elbuengustoverduras/symfony/lib/symfony/util/
> sfCore.class.php on line 163
The error message is
On 15 Nov, 02:19, Martin Ibarra Cervantes
wrote:
> Hi, guys, i want use jquery on my forms but i dont have idea how use this.
Stay away from any symfony plugin containing the word "jQuery".
Just implement your form in the standard way, then add jQuery
javascripts as needed.
You can use jQuery for
On 4 Nov, 09:47, JoJo wrote:
> As Gareth said, my concern is how to embed javascript function from partials
> between ** tag.
You're wrong from the start: javascript tag can be put anywhere in the
html, and best place is in the bottom, just before body ends.
So, you can simply call use_javascript
On 31 Ott, 19:44, Parijat Kalia wrote:
> Hey guys,r unning into a silly doubt that should so not happen at all!
>
> I have a textarea tag,
>
> array('onclick'=>'javascript:alert("yo") ')) ;?>
>
> and the onclick event is failing to render itself in the HTML tag.
>
> Any pointers what I am doing w
On 29 Ott, 16:24, "cordo...@gmail.com" wrote:
> oh!!! What exactly are we missing in the English version?
Everything updated in the repository in the last 2 or 3 weeks (about)
> I am sure Fabien will take action if he notices.
So, please let him know.
I already did and I don't want to bother hi
On 29 Ott, 10:29, Gareth McCumskey wrote:
> Yes it is ;)
>
> Fabian went through a lengthy process (along with a number of contributors)
> to update it.
Gareth,
I'm one of such contributors and I can tell you that it's just like
so: documents on symfony site are NOT up to date with github
reposit
I agree, gentle introduction is great.
Too bad is not up to date :-(
cheers
Massimiliano
--
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.
On 23 Ott, 01:31, Jonotron wrote:
> I want to create a one-to-one relationship between users and
> companies. Since I shouldn't be editing the sfDoctrineGuard schema's
> directlyI've created a sfGuardUserProfile model:
You can override plugin's schema without editing it:
http://www.symfony-proje
On 12 Ott, 17:52, Javier Garci wrote:
> anyway to generate backend lists using instead of ?
> Without modifying too much the symfony generator...
Why? Tableless is *not* an absolute value.
cheers
Massimiliano
--
If you want to report a vulnerability issue on symfony, please send it to
secur
On 4 Ott, 18:53, Christian wrote:
> So, i have to create a new route and modify the "executeNew" action?
> Is there no way to use the default @offer_refurbishment_new route?
You can use the default route, just pass any added parameter as query
string.
E.g.: @offer_refurbishment_new?offer_id=1
On 14 Set, 12:43, axel at wrote:
> sometimes I would like to render a certain description text after a
> sfWidgetFormInputText rendered by admin generator.
>
> eg.
> SpecialTextAttribut [__] "Please enter your bla bla bla"
>
> any ideas how to achieve this?
You can find it in the docs:
h
On 13 Set, 13:35, "Felix E. Klee" wrote:
> On Sun, Sep 12, 2010 at 2:20 PM, Davide Borsatto wrote:
> > Which generated file are you referring to? It may be a Propel or
> > Doctrine issue.
>
> The tabs are indeed in the model files, auto generated by Propel 1.4.2.
>
> Thanks for pointing me in the
On 7 Set, 07:52, DEEPAK BHATIA wrote:
> I tried accessing some other database than specified in databases.yml. But
> below is not working. Please help.
>
> $con=mysql_connect("localhost","root","");
> if(!$con)
> {
> echo "Database Connection Not Estabilished\n";
> exit(0);
On 21 Ago, 11:01, cosmy wrote:
> What I have to modify to translate automatically the function buttons
> of the backend (if it's possibile..)?
> It's quite strange but I can't find anything about it (I don't need
> the Il18 and multilanguage support... I only want my backend in
> italian without c
On 19 Ago, 16:41, Christopher Schnell
wrote:
> You are talking about functional tests, but the original post was about unit
> tests.
Indeed, topic is about unit testing, but the subject doesn't make
sense with that.
There's no "frontend" in unit tests, nor authentication.
So we can assume we're
On 19 Ago, 05:14, Maxim Oleinik wrote:
> protected function authenticateUser(sfGuardUser $user)
> {
> // Init session
> $context = $this->browser->getContext(true);
>
> $context->getUser()->signIn($user);
> $context->getUser()->shutdown();
> $context->getStorage()->shutdown();
On 17 Ago, 13:50, wueb wrote:
> I'm using sfWidgetFormDate with a datepicker (http://
> garakkio.altervista.org/datepicker/)
>
> The code in the form is:
>
> $years = range(date("Y"),1980);
> $this->widgetSchema['date_const'] = new sfWidgetFormDate(array('years'
> => array_combine($years, $years),
On 18 Ago, 10:34, François SEDE wrote:
> Hi everyone.
>
> I want to add the value of an sfWidgetFormI18nTime to an
> sfWidgetFormJqueryDate and store it into a column in my database but
> it doesn't work.
Don't use sfWidgetFormJqueryDate.
See http://garakkio.altervista.org/datepickerui/
cheers
M
On 18 Ago, 10:03, ajit wrote:
> I am getting this warning messages...Please help me to get rid of
> those messages.
>
> Warning: constant() [function.constant]: Couldn't find constant
> Region::PEER in /var/www/dms/lib/symfony/plugins/sfPropelPlugin/lib/
> widget/sfWidgetFormPropelChoice.class.php
On 17 Ago, 06:43, Abraham wrote:
> any ideas to overcome my problem?
What is your problem? It's not really clear in your message.
cheers
Massimiliano
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because
On 17 Ago, 05:32, RusAlex wrote:
> I've installed sfGuard plugin and now most of old tests didn't work
> well. They need to be authenticated to the frontend system. Is there
> any official decision ?
Just create your own test class, like explained in
http://www.symfony-project.org/jobeet/1_4/Prop
On 3 Ago, 03:11, Diego Bello wrote:
> I'm building an e-commerce site with Symfony 1.4. Right now I have the
> shopping cart and I want to do the payment with Paypal. I got the
> expresscheckout.php and paypalfunctions.php files but I don't know where to
> put them.
First place to search should a
On 4 Ago, 07:58, pghoratiu wrote:
> Check out Komodo edithttp://www.activestate.com/komodo-edit
> some of my colleagues use it.
I also use Komodo and advice to use it.
It's fast, open, cross-platform.
cheers
Massimiliano
--
If you want to report a vulnerability issue on symfony, please send it
On 17 Lug, 20:15, comb wrote:
> 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 included, because the helpers in the
> head of the lay
I'm trying to switch my site from xhtml1.0 strict to xhtml1.1
I check validation with functional tests, using isValid(true) and
everything was fine.
After swtiching to 1.1, I started to get a lot of errors like these:
failed to load external entity "file:///[...]/cache/sf_tester_response/
w3/TR/xh
You can override a plugin's empty class by copying its file in main
lib/ directory and defining your custom methods there.
cheers
Massimiliano
--
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
On 13 Lug, 02:36, "B.O.G" wrote:
> I have a sfWidgetFormFilterDate, and every time i 'click' Filter
> button i get and 'Array to String conversion' Notice
>
> If i remove de Date Filter the error disappear, what is going on ?
it could depend on your date filter validator.
Check it
cheers
Mas
On 8 Lug, 15:13, Kevin wrote:
> In my fight to keep all my javascript unobtrusive I have been
> wondering what the best practice to place the ajax urls so they work
> in all environments (dev/staging/production).
>
> There has been a discussion about this before but it mostly dealt with
> link hre
On 5 Lug, 14:11, Mariano Sola wrote:
> thanks for your answer!
>
> could you send me some example?
Just install the latest version of sfAssetsLibraryPlugin from
http://svn.symfony-project.com/plugins/sfAssetsLibraryPlugin/branches/1.3/
and use it in any textarea.
cheers
Massimiliano
--
If you
On 1 Lug, 22:10, Mariano Sola wrote:
> Has anyone worked with any rich text editor with the upload image option
> activated in Symfony 1.4?
>
> I did some tests with TinyMCE and iBrowser but I wasn't be able to make it
> works.
sfAssetsLibraryPlugin
--
If you want to report a vulnerability issu
On 1 Lug, 21:28, Tom Boutell wrote:
> * Forms are now empty extensions of Base versions so you can do the
> usual Symfony thing to override them at the project level (you can
> also use my app.yml approach)
Is there any specific reason for not using the standard prefix
"Plugin", e.g. "PluginFooBa
On 26 Giu, 18:47, martyn wrote:
> how can we fix a handfull of errors, without needing to hack/break
> into the php code cause it might cause severe probs elsewhere.
Well, the answer is simple: just do tests. Unit tests, functional
tests.
When your test coverage will be good, you can change what
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
On 22 Giu, 10:03, François wrote:
> I'd like to pass values to my JS script when I call it. So I look the
> API for the addJavascript() method, herre is it :
You shouldn't pass variables from php to javascript.
Javascript should be always unobtrusive, so the only point of contact
between your htm
On 21 Giu, 19:49, titiyoyo wrote:
> i have a simple and basic quesion here about symfony : how can i set
> values into a form field from the controller in symfony ?
>
> I looked again and again and again without finding an answer.
>
> So for now i have this below.
>
> Please help me, it's quite ur
On 17 Giu, 12:13, Daniel Lohse wrote:
> What you can do is copy the sfGuardUser.php to your lib/ folder and make your
> modifications there. This should work. The sfGuardUser.php file should be
> empty.
That's very interesting.
I never heard anything about it, but it would be really nice if it
On 14 Giu, 16:12, "Christopher Schnell" wrote:
> As I am writing lots of functional tests these days, I was wondering if one
> should test the standard validators of a form.
>
> Let's say, we have a "change Password" form. This simple form with three
> fields would require lots of tests, for examp
On 6 Giu, 16:14, Alvaro Garcia wrote:
> In my doctrine class (lib/model/doctrine/XXX.class.php) I have overwritten
> the constructor.
> The reason is I need to validate that an user can load this object
> (photograph in my case).
> Then, when I load a collection of photographs ($photoAlbum->getPho
You can simply use propel tester. See
http://www.symfony-project.org/jobeet/1_4/Propel/en/11#chapter_11_the_propel_tester
cheers
Massimiliano
On 2 Giu, 00:18, Jeremy Thomerson wrote:
> I have written a functional test that tests my site's registration flow. At
> the end of the test, I am callin
The alias is needed only for the "sf" folder.
If you won't (or can't) use an alias, you can just copy "sf" folder
under your "web" folder
cheers
Massimiliano
On 31 Mag, 13:56, RedQueen wrote:
> On the main page of Symfony we can find a lot of guides. And it really
> help but sometime it dont ans
What about bundled propel behaviors?
cheers
Massimiliano
On 25 Mag, 01:20, rekarnar wrote:
> Hi guys,
>
> I'm trying to write some methods into my peer class's using a propel
> behavior
>
> (http://www.propelorm.org/wiki/Documentation/1.5/
> Behaviors#WritingaBehavior)
>
> But I seem to be havin
The idea behind the tinyMCE widget (like any other js widget) is bad.
It's javascript! All you need is include it and refer to correct id/
class in DOM, no need to use php for that.
cheers
Massimiliano
On 22 Mag, 17:59, godbout wrote:
> Hi!
>
> I've got some problems to make the tinyMCE jQuery w
You can write a Propel behavior, that allows to add both static and
non-static methods.
Refer to Propel documentation
cheers
Massimiliano
On 21 Mag, 02:57, rekarnar wrote:
> Fromhttp://www.symfony-project.org/cookbook/1_2/en/behaviors:
>
> Unfortunately, as of PHP 5, static method calls cannot b
On 15 Mag, 22:15, HAUSa
wrote:
> Anyone who has experienced using Symfony on PHP 5.3?
> Did it all run fine? No compatibility errors / bugs?
>
> The Symfony versions 1.1, 1.2, 1.4?
Take a look to this ticket http://trac.symfony-project.org/ticket/8563
Other issues are minor.
cheers
Massimiliano
On 29 Apr, 15:36, Gareth McCumskey wrote:
> I know you are talking about ajax. So, for the sake of brevity< i
> include an example of the way it could be done in symfony 1.0 using
> the helpers:
symfony 1.0 is unsupported since a long time.
Wonder why newer versions drop the ugly helpers like li
On 29 Apr, 09:17, Gareth McCumskey wrote:
> Or return an array from the action to the template/partial and have php do:
>
>
>
>
>
>
We're talking about ajax.
You just can't output any html anywhere, unless you want to use ugly
innerHTML js function.
cheers
Massimiliano
--
If you w
You should return a json encoded text in your controller.
The view layer is skipped.
Then let the javascript insert the list elements by manipulating the
DOM.
cheers
Massimiliano
On 27 Apr, 16:37, Tofuwarrior wrote:
> Ho Both,
>
> Thanks for your thoughts on this.
>
> If you can spare the time,
On 27 Apr, 18:27, Rytis Daugirdas wrote:
> Since when iterators are overkill? IMO, your suggestion is overkill.
> Propel documentation clearly states that a tree can be easily
> traversed via its iterator interface. Why should I write additional
> code (however simple) to get the functionality tha
On 26 Apr, 18:11, Rytis Daugirdas wrote:
> To output a list of nodes, obviously.
It looks a bit overkilled to me.
Just retrieve the whole table ordered by left, and you'll get the
entire tree.
cheers
Massimiiano
--
If you want to report a vulnerability issue on symfony, please send it to
secu
It's not clear to me why you want to use an iterator in a template.
cheers
Massimiliano
On 26 Apr, 10:56, Rytis Daugirdas wrote:
> Hello,
>
> When using Propel's nested set behaviour, iteration over a node set in
> a template (with output escaping enabled) produces too many queries.
>
> Here's a
On 21 Apr, 15:14, Paul Burdon wrote:
> Could you clarify what the 'proper' way is please.
> Thanks.
Of course.
The proper way is to write html as if javascript wouldn't exist.
Then, write javascript files that use the document load event to look
into dom, modify the dom itself and add other event
On 21 Apr, 14:39, Gareth McCumskey wrote:
> And if you had to create a restful api that returns content as JSON?
> Returning JSON using renderText is perfectly valid and does not break
> the seperation of concerns. The actions responsibility is to recieve a
> request, gather data needed for the re
On 19 Apr, 16:46, Tofuwarrior wrote:
> As a general principle is my approach ( ie pull the data from an
> action into the jQuery) correct.
I don't think your approach is fully correct.
You should never mix javascript and php code.
You should write php (and so html) as if javascript wouldn't exist
On 19 Apr, 14:43, Tofuwarrior wrote:
> I don't want a template, I just want to get the raw output of this
> action into this javascript function and I figure this is the
> problem.
So, you replied yourself: just skip the view in your action.
You can do it with return $this->renderText('your js st
On 15 Apr, 08:12, Lutz wrote:
> So, is there a way to get the redered result for a component, so
> instead 'include_component' something like 'render_component'? in
> symphony?
http://www.symfony-project.org/api/1_4/PartialHelper#method_get_component
--
If you want to report a vulnerability iss
try
$variable->getRawValue()
cheers
Massimiliano
On 7 Apr, 06:07, Apul Gupta wrote:
> No rekarnar,
>
> still it doesn't Work. Any other suggestion?
>
> I am getting this in browsers:
>
> ==
> http://www.abcd.com";>Welcome Text strong>
>
> ===
OK, you must remove the id field from acudiente_estudiante model, and
add primaryKey: true to both estudiante and acudiente fields.
cheers
Massimiliano
On 1 Apr, 01:40, Julian Reyes wrote:
> Ok my real schema is:
>
> estudiante:
> id: ~
> nombres: { type: varchar(2
$this->getObject() != null. Because when it is null the
> embed form(Invoiceline) is saved with the variable invoiceid = null.
>
> thank you.
>
> On Mar 30, 2:20 pm, Massimiliano Arione wrote:
>
> > You don't need to check.
> > The getObject() method returns null i
Can you post your real schema? The one above is uncomplete.
On 30 Mar, 18:16, Julian Reyes
wrote:
> Hi
>
> i have a problem with this type or relations.
>
> in the jobeet tutorial explain the ORM make it relations many to many
> automaticly buts don't works. only saved student and guardian but n
You don't need to check.
The getObject() method returns null if no object associated, and this
is fine with form instance.
Just avoid to echo object's id in the form's configure why are you
doing this???
cheers
Massimiliano
On 30 Mar, 01:07, Veríssimo wrote:
> I have implemented this, but i
The solution is to not cache the entire action. Just cache parts of it
(e.g. partials)
cheers
Massimiliano
On 28 Mar, 22:42, Michał Piotrowski wrote:
> 2010/3/28 Antoine S. :
>
> > Hi,
>
> > You can refine the cache (cache.yml) at any level : application,
> > module, action, component, partial
>
You jsut need to customize your css, forcing your li's as inline.
No need to modify your template or your formatter.
cheers
Massimiliano
On 25 Mar, 20:03, Javier Garcia wrote:
> Hi,
>
> i have an edit form with a choice widget with radio buttons.
>
> Symfony renders the options in a column, but
In this documentation chapter
http://www.symfony-project.org/more-with-symfony/1_4/en/06-Advanced-Forms
you can find a problem like yours, explained.
Also, I suggest you to use compact syntax for your schema.yml, you can
improve readability a lot
cheers
Massimiliano
On 28 Mar, 14:17, Veríssimo
Just use standard messages.es.xml file in your app/APPNAME/i18n
directory.
cheers
Massimiliano
On 29 Mar, 10:29, Javier Garcia wrote:
> Hi,
>
> these are my steps:
>
> - I have added this line to 'frontend/config/settings.yml'
>
> all:
> settings:
> default_culture: es_ES
>
> - I
Just RTFM
http://www.symfony-project.org/plugins/sfPiwikPlugin/1_0_1?tab=plugin_readme
symfony plugin:install sfPiwikPlugin -s=beta
On 24 Mar, 12:08, Mickael wrote:
> Hello everybody,
>
> I just want to apologize before starting explain my problem for my
> english which can be bad.
>
> I have
Just don't use that plugin.
Instead, you should use a pure javascript solution, that is the best
approach.
See http://garakkio.altervista.org/datepicker/
cheers
Massimiliano
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You receive
http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin/4_0_1?tab=plugin_readme
On 23 Mar, 14:59, safa boubekri wrote:
> bonjour je suis ingénieur d'état génie logiciel maintenant je
> développe une application avec symfony
>
> je trouve des difficultés pou créer une page d'authentificat
Are those fields defined as boolean in your schema?
Anyway, if you put your code in the correct model class, it's not
overwritten at every generation.
cheers
Massimiliano
On 17 Mar, 14:18, SlimShaggy wrote:
> Hello all,
> I am currently migrating an app from Symphony 1.2 to 1.4
> I am using an s
You can try with alternative schema syntax:
http://www.symfony-project.org/cookbook/1_2/en/alternative_schema
cheers
Massimiliano
On 17 Mar, 17:37, Brandon Turner wrote:
> I'm using Propel in Symfony 1.3.3. If I have a database table named
> 'myDatabaseTable' and would like the propel generated
Did you try Propel criteria builder? http://propel.jondh.me.uk/criteria/analyse
Also, you can use sfPropel15plugin and benefit from new Query syntax.
On 15 Mar, 14:43, HAUSa
wrote:
> If you want to make OR term in Propel, you need to make a Criterion
> object that adds the OR terms to the Criteri
What if client has javascript disabled?
On 15 Mar, 18:38, Javier Garcia wrote:
> Ok, this is the solution:
>
> ')">next
>
> Javi
>
> On Mar 15, 5:59 pm, Javier Garcia wrote:
>
> > Hi,
>
> > i have this line below that shows a link to go the next page of a list.
>
> > Next page
>
On 12 Mar, 05:10, Tahar Yazid Touaibia wrote:
> in the tutorial, i did not see any instruction concerning :
> --orm=Propel
http://www.symfony-project.org/jobeet/1_4/Propel/en/01#chapter_01_sub_project_creation
--
If you want to report a vulnerability issue on symfony, please send it to
securit
Unfortunately, the form docs are almost abandoned.
I wrote the update for symfony 1.4 myself, but more work is needed.
I asked Fabien at symfony live, he told me to rearrange the chapters
and to add a chapter on embedding forms.
If you want to help, please write on symfony-docs group
cheers
Massim
Massimiliano,
>
> Can you send me a link to where I can read more informations about it?
>
> 2010/2/26 Massimiliano Arione
>
> > view.yml is deprecated in favors of helpers used directly in the
> > templates or methods called from actions.
> > You can use a cond
view.yml is deprecated in favors of helpers used directly in the
templates or methods called from actions.
You can use a conditional helper that checks for sf_debug config
variable (that's even better than rely on environments)
cheers
Massimiliano
On 26 Feb, 00:43, Bruno Reis wrote:
> Hi all,
>
http://www.symfony-project.org/forms/1_4/
On 22 Feb, 20:49, Diego Bello wrote:
> Hi guys,
>
> Is there any documentation about how to use forms in symfony 1.4?.
> What I want to do is to change a field from text input to select.
>
> I tried rewritting the form putting the new content in
> lib/for
Override sfValidatorPropelUnique and define a method isUpdate() that
return always false
On 15 Feb, 15:54, Tomasz Ignatiuk wrote:
> Hi
>
> I have a table with unique index of 3 columns. So I use this:
>
> $this->validatorSchema->setPostValidator(
> new sfValidatorPropelUnique(array('mod
Just define your object as a class in lib/model.
On 9 Feb, 01:35, "Pat Fong" wrote:
> Occasionally I come accross an object that I need in my application
> which doesnt require being saved to the DB.
>
> I usually define this object through the schema as I would any other
> object and that works
Yes
On 3 Feb, 16:43, Carlos Henrique wrote:
> Someone implemented "Input Widgets" in Symfony 1.2 ... 1.4?
>
> Thanks
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsub
1 - 100 of 123 matches
Mail list logo