http://www.symfony-project.org/jobeet/1_2/Propel/en/07#chapter_07_list_pagination
On Mon, Mar 1, 2010 at 08:47, karansoni kanu8...@gmail.com wrote:
Hii everyvone.,,
I am quite new to symfony and using 1.2.9 as the project development.
An important feature of Pagination i do not know how to do
Sorry, no link.
Just refer to official documentation.
You only need to create a custom helper, copying use_javascript()
function from AssetHelper and adding a simple logic base on
sfConfig::get('sf_web_debug')
cheers
Massimiliano
On 26 Feb, 18:43, Bruno Reis bruno.p.r...@gmail.com wrote:
Thanks
Hi Guys,
My Shop form have two fields - City and Area.
Area depends on the City selected.
How can I do it in my generator.yml for my Shop?
Thanks!
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because
I used html markup in form field's labels for some reasons, but after
upgrading from sf1.2 to 1.4 it gets escaped during rendering.
How to abolish output escaping for form field's labels in sf1.4 ?
--
If you want to report a vulnerability issue on symfony, please send it to
security at
I'm aware that indentation should be spaces etc. Its the data fixture
with php combined: jobs.yml
I exactly copy paste the example and i still get this error.
doctrine Loading data fixtures from /Use...g/Websites/jobeet/data/fixtures
Unable to parse string: Unable to parse line 1 ( job_100:).
Try with this one: http://svn.jobeet.org/doctrine/trunk/data/fixtures/jobs.yml
On Mon, Mar 1, 2010 at 14:44, Trung Huynh forrestgu...@gmail.com wrote:
I'm aware that indentation should be spaces etc. Its the data fixture
with php combined: jobs.yml
I exactly copy paste the example and i still
gets me this :(
doctrine Loading data fixtures from
/Users/trung/Websites/jobeet/data/fixtures
Warning: strtotime() expects parameter 1 to be string, array given in /
Users/trung/Websites/lib/vendor/symfony/lib/plugins/sfDoctrinePlugin/
lib/vendor/doctrine/Doctrine/Record.php on line 1526
Anyone? Thank you
On 3/1/10, Samuel Morhaim samuel.morh...@gmail.com wrote:
Never mind about this one, but now I am facing one more issue.. Based on
the below schema.. why is the 1 to many between Command and Events not
working? I get a method such as $command-getEvent() but it seems to be
I'm working on the backend side of a web application, with the
sfDoctrineGuardPlugin.
In sfGuardUser/config/generator.yml, I add the line :
list:
table_method: retrieveAdminsList
and in the model :
class sfGuardUserTable extends PluginsfGuardUserTable {
public function
You can look etc into the Practical symfony-jobeet-1.4-doctrine-en.pdf
and there you can see that you have badly set your relations
look on the JobeetJob - JobeetCategory realation
1) specify the relation only on one side
2) specify the foreignAlias: etc JobeetJobs
...
JobeetCategory:
actAs:
I tried this:
use_javascript('jquery.ui.core.js','/js/ui/');
But it reports:
The position /js/ui/ does not exist
--
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
Hi,
Did you try this :
use_javascript('ui/jquery.ui.core.js');
symfony add 'js/'
On 1 mar, 16:00, SymfonyNewbie shore.cl...@gmail.com wrote:
I tried this:
use_javascript('jquery.ui.core.js','/js/ui/');
But it reports:
The position /js/ui/ does not exist
--
If you want to report a
I think that on job_expired token is a typo. Try to chage it from
'job_expired' to 'expired_job' or so... i am mono tasking and i cannot copy
paste what i think is the right key for the fixture...
Alecs
sent via htc magic
On Mar 1, 2010 4:20 PM, Trung Huynh forrestgu...@gmail.com wrote:
gets me
Tom,
Thank you for the reply, but I don't think that is the problem.
1. The relation between my Command and Event, is only defined in one side,
the Event
relations:
Command:
local: command_id
foreign: id
type: many
cascade: [delete]
foreignAlias: Events
2. I
Is there a way to check if a partial exists in the template?
I've looked around in Google, but it doesn't give very useful
results...
--
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
Hi,
Maybe you could try this, or something similar :
http://forum.symfony-project.org/index.php/m/76440/#msg_76440
On Mar 1, 5:04 pm, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
Is there a way to check if a partial exists in the template?
I've looked around in Google, but it
Oh,this time it works.
Why it doesn't work when I set the location explicitly?
On 3月1日, 下午11时36分, jp_morvan sacri...@free.fr wrote:
Hi,
Did you try this :
use_javascript('ui/jquery.ui.core.js');
symfony add 'js/'
On 1 mar, 16:00, SymfonyNewbie shore.cl...@gmail.com wrote:
I tried
Because this method does not accept location on second parameter
This parameter is the position in witch the meta tag will be include
(first, last).
On 1 mar, 17:12, SymfonyNewbie shore.cl...@gmail.com wrote:
Oh,this time it works.
Why it doesn't work when I set the location explicitly?
On
In my template I put the following:
?php if ($sf_flash-has('status')): ?
?php echo $sf_flash-get('status') ?
?php endif; ?
Now I get:
Notice: Undefined variable: sf_flash in /var/www/vhosts/blackhawk.biz/
symfony/apps/frontend/modules/customers/templates/loginSuccess.php on
line 2
Fatal
Yes,exactly.
I've checked the code,it's just used as a key for javascript files.
Thanks
On 3月2日, 上午12时19分, jp_morvan sacri...@free.fr wrote:
Because this method does not accept location on second parameter
This parameter is the position in witch the meta tag will be include
(first, last).
It's only classified by symfony version,
in order for it to be practically reusable,
I think it should also need to be grouped by the
library(prototype,jquery,yui) and version(1.3,1.4...)
What's your opinion?
--
If you want to report a vulnerability issue on symfony, please send it to
Not for the url, as routing can show what ever url you want.
Its more of a house keeping design thing. Lets say you have three
areas of your web site: hotels, apartments and availability each area
may have many db tables (i.e. models) that support it. It would be
convenient to have a module for
$sf_user-hasFlash()
On Mon, Mar 1, 2010 at 19:14, Darren884 darren...@gmail.com wrote:
In my template I put the following:
?php if ($sf_flash-has('status')): ?
?php echo $sf_flash-get('status') ?
?php endif; ?
Now I get:
Notice: Undefined variable: sf_flash in
The flash variable is now attached to the user. Use $sf_user -
getFlash() - has('blah');
They did that because it interacts with the user anyways (storing
stuff in session), so now it explicitly belongs to the user.
If you need to fix hundreds of templates, you can just listen to the
Maybe you could try this, or something similar :
http://forum.symfony-project.org/index.php/m/76440/#msg_76440
On Mar 1, 5:04 pm, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
Is there a way to check if a partial exists in the template?
I've looked around in Google, but it
changing it to expired_job doesn't help neither. I have no clue what's going
on. I really want to go on with the tutorial, i like it so far.
On Mon, Mar 1, 2010 at 4:58 PM, Alexandru-Emil Lupu cont...@alecslupu.rowrote:
I think that on job_expired token is a typo. Try to chage it from
Do I have to install a different module for generating CRUD? When I
tried to run the crud generation command it said the task did not
exists and then when I listed the available builder command line
options it didn't exist in there. Is my Symfony installation missing
something?
--
If you want to
Is there a way to call an action, from an outside Class?
I am handling the processing of one of my routines with an outside class..
I need to call the exact same code being called in one of my actions.. how
can i do this?
or should i move the code somewhere else?
thanks.
--
If you want to
Move it out to the model or into the outside class and also call it from the
action. :)
Daniel
On 01.03.2010, at 23:43, Samuel Morhaim wrote:
Is there a way to call an action, from an outside Class?
I am handling the processing of one of my routines with an outside class.. I
need to
Sorry for the dumb question, but now that I moved it to
lib/Message.class.php ... how do I call it from there from within a separate
Class? I manage to call it from within the actions..
but now i am in this external class, and i need to call that method ?
On Mon, Mar 1, 2010 at 5:57 PM, Daniel
require_once the file and instantiate the Message class... oh man, symfony is
not there for you to completely forget either PHP or plain OOP :)
Daniel
On 02.03.2010, at 01:00, Samuel Morhaim wrote:
Sorry for the dumb question, but now that I moved it to lib/Message.class.php
... how do I
lol yes, sorry, i click sent, and then figured it out. :)
On Mon, Mar 1, 2010 at 7:02 PM, Daniel Lohse
annismcken...@googlemail.comwrote:
require_once the file and instantiate the Message class... oh man, symfony
is not there for you to completely forget either PHP or plain OOP :)
Daniel
no problem, it's late over here, anyway :D
On 02.03.2010, at 01:07, Samuel Morhaim wrote:
lol yes, sorry, i click sent, and then figured it out. :)
On Mon, Mar 1, 2010 at 7:02 PM, Daniel Lohse annismcken...@googlemail.com
wrote:
require_once the file and instantiate the Message
Hi Guys,
I am new to symphony. My application has backend and frontend apps.
I was used to RubyOnRails, there, I can deploy by using a list of
migration files to update DB.
In symfony, what i know is updating schema.yml. However, it does not
keep version, that means my db has to be dropped each
how to generate pdf files from my html/pdf templates in symfony?
It is better to have free/open source methods.
Thanks!
--
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
Hi Guys,
I am working on a e Commerce website which has payments via Visa and
Payment.
What is the common way to do it in symfony?
Thanks a lot!
Arthur
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message
There is a plugin, but I usually just rolled out my own with library
provided by Paypal.
On Tue, Mar 2, 2010 at 2:20 PM, Arthur Ccube arthurcc...@gmail.com wrote:
Hi Guys,
I am working on a e Commerce website which has payments via Visa and
Payment.
What is the common way to do it in
aprés l'execution du cette instruction
Doctrine::getTable('JobeetCategory')-getWithJobs(); une erreur est
declencher.
--
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
Hi all,
I now this is a silly question, but I simply can't set a date widget
to a default value, nor I am able to understand how it is supposed to
work.
What I tried:
class SomeForm extends DoctrineForm {
public function configure(){
$this-widgetSchema['startdate'] = new
Hi,
I imagine that this has been discussed in great detail, but I have not
as yet seen any detailed discussion of it. If you have a link, please
offer it, otherwise, I'm happy to continue this thred.
I have been building PHP and other language based apps for some time
(started about 1983), and
On Mon, 1 Mar 2010, beach_defender wrote:
My understanding is that if I change the database I then need to
rebuild YML files, model etc completely. Is this correct?
I'm not criticising the process, just trying to understand the best
approach to this.
Its the other way round: i.e. you
http://www.symfony-project.org/plugins/sfPhpExcelPlugin
PDF can be generated using this library.
On Tue, Mar 2, 2010 at 6:48 AM, Arthur Ccube arthurcc...@gmail.com wrote:
how to generate pdf files from my html/pdf templates in symfony?
It is better to have free/open source methods.
Thanks!
You could try sftcpdfPlugin or so...
sent via htc magic
On Mar 2, 2010 7:21 AM, DEEPAK BHATIA toreachdee...@gmail.com wrote:
http://www.symfony-project.org/plugins/sfPhpExcelPlugin
PDF can be generated using this library.
On Tue, Mar 2, 2010 at 6:48 AM, Arthur Ccube arthurcc...@gmail.com
Seeking feedback. Does each module only pertain to a one model
(database table)?
On Mon, Mar 1, 2010 at 11:07 AM, Roland Cruse cruses...@gmail.com wrote:
Not for the url, as routing can show what ever url you want.
Its more of a house keeping design thing. Lets say you have three
areas of
44 matches
Mail list logo