Hi,
Two questions here, any advice will be apreciatted:
1- I'm using sfWidgetFormChoice in a form. The problem that i'm
having is that i need to place the options tags generated by de widget
into tr of a table instead using ul that the widget generates by
default. Is there any way of rendering
Maybe this help a bit:
Assuming the field you talk about author field is a select widget in
the form you can set its default value in the options section of the
widget, to get the logged user, use something like:
class myUser extends sfGuardSecurityUser
{
public function getUserId()
{
Hello,
I'd like to use iocombiner for our symfony 1.4 project.
I've followed the doc but the only way to see combine.css and
combine.js requested in firebug is to replace include_stylesheets()
by combiner_include_stylesheets() in my layout.php
Is this the right way to procede ?
Regards,
Hello everybody,
I got a question about the cache. I configured the cache for my
application. I followed the tuto of cache for jobeet, but i can't make it
work 100%, so I tried the plugin 'sfSuperCache', but i am confused when
dived into the code of this cache filter.
In
I was thinking about
saving form data from step 1 to step 2 in the session, but I may have
problems with form serialisation.
Theres no prolbem with that(in fact there are 2 popular ways of doing
this: a)using session or b)using cookies)..because what you are going
to sve in session is an array
Hi all,
I have the following apps and module in my project:
apps and their modules:
- admin
- frontend
- retailer
- ...
- retailer
- retailer
- ...
The frontend app is the default app.
When I enter the url project.lo/retailer it goes to the retailer
module in the retailer app. Shouldn't that
class siteNoticiaForm extends BasesiteNoticiaForm
{
public function configure()
{
$this-setWidget('sf_guard_user_id', new sfWidgetFormInputHidden());
$this-setDefault('sf_guard_user_id',
$this-getOption(sfContext::getInstance()-getUser()-getGuardUser()-getId()));
I think I came across this after trying to download a very large file
~100MB between db calls. I don't remember how I fixed it, but I think
I just tried to reconnect manuallly to the db. I'll have a dig around
and see what I can come up with.
Tom
On Tue, Apr 13, 2010 at 12:55 AM, Slavka
How do you see this working from a user's point of view? What order is
supposed to be recorded? I mean how do you anticipate telling the form
the correct order? Would it not be better to do the songs for one gig
at a time and just click to add a song in the order which you want to
store them. You
Hi Lea.
My guess is that symfony's routing is not responsible for this behaviour. AMOF,
if your browser directs you to index.php or frontend_dev.php and if these files
are well configured with some code like the following :
sfSuperCache is really only a feasible way to cache things like RSS feeds
because it caches *the whole* page and symfony/PHP *is not* triggered or
started when requesting the page again as the .htaccess rules you added when
installing sfSuperCache just serve that HTML file and nothing else.
I'm not that good with rewrite rules, but the only ones we have for our project
is the standard symfony .htaccess file:
# we check if the .html version is here (caching)
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
# no, so we
Thanks Tom
I found a way of doing this... by killing the dead connection and
creating a new one...
Propel::close(); // kill existing
$connection_cdb = Propel::getConnection(); // create new
On Wed, Apr 14, 2010 at 10:16 PM, Tom Haskins-Vaughan
t...@templestreetmedia.com wrote:
I think
Hi, xris.
Have you configure your local symfony path?
Salu2
Fernando Navarro Páez
On 13 abr, 14:38, xris christophergndu...@gmail.com wrote:
Hi,
i recently trained on symfony and wanted to install the same projects
we did to my ubuntu box back at home. i have already done the
webserver
Hey Mikael-
Yes, this is a mistake in the documentation - I apologize. You're
absolutely right to include the combiner_include_stylesheets() and
combiner_include_javascripts() in your layout,
in place of the normal functions.
Thanks!
On Apr 14, 2:13 am, Mikael mikael.kermorg...@gmail.com
Cool. Nice one.
On Wed, Apr 14, 2010 at 9:41 AM, Richard U richard@gmail.com wrote:
Thanks Tom
I found a way of doing this... by killing the dead connection and
creating a new one...
Propel::close(); // kill existing
$connection_cdb = Propel::getConnection(); // create new
On Wed,
$ more lib/form/myFormatter.class.php
?php
Abstract class myFormatter extends sfWidgetForm
{
static public function radioTableFormatter ($widgets, $inputs)
{
$rows = array();
foreach ($inputs as $input) {
$rows[] = $widgets-renderContentTag('td', $input['input']);
}
hi girls, guys...
i would like to implement a multiple file upload function on my page.
a lot of modules will use it, so i would like to store all the files
in a folder and in one table! i created an upload module and a table
for it...
id - automatic
filename - original filename
module - which
Hi,
I am living very strange problem. Maybe someone can help to me.
I just installed Ubuntu 9.10 and this are my steps.
$sudo apt-get install apache2
$sudo apt-get install php5
$sudo apt-get install php5-cli
$ php -v
PHP 5.2.10-2ubuntu6.4 with Suhosin-Patch 0.9.7 (cli) (built: Jan 6 2010
Sorry, i forgot to add this line :
$ sudo pear install symfony/symfony-1.2.12
downloading symfony-1.2.12.tgz ...
Starting to download symfony-1.2.12.tgz (2,707,177 bytes)
...done: 2,707,177 bytes
$ symfony -v
symfony: command not found
$
Hi,
only have some points, i dont know if it will help;)
first, did you try check php conf. with
http://sf-to.org/1.4/check.php , $ php check_configuration.php
(http://www.symfony-project.org/jobeet/1_4/Doctrine/en/01)
?
second, I have ubuntu 8.04, everythink went ok for me, however, why you
Hello world!
I am using Symfony 1.4 with mySQL and in the database I have a large
(150MByets) table from which I want a specific column to be search by
Zend framework search engine.
Read the tutorial of Symfony but at some point in order to create the
index for Zend search engine I must load the
Hi,
2010/4/14 Dss dd...@lexis.gr:
Hello world!
I am using Symfony 1.4 with mySQL and in the database I have a large
(150MByets) table from which I want a specific column to be search by
Zend framework search engine.
Read the tutorial of Symfony but at some point in order to create the
Yeah, this is a pretty common requirement, and I've used a double list
before that had up/down arrows.
I'll see if I can find the code somewhere.. I've been meaning to
package that into a widget anyways.
Daniel
On Apr 14, 8:28 am, comb sa...@gmx.net wrote:
Thanks for answering.
User-View:
did you read the more symfony book? there's an example how to upload
multiple photos.
On 14 April 2010 18:26, saki sakrame...@gmail.com wrote:
hi girls, guys...
i would like to implement a multiple file upload function on my page.
a lot of modules will use it, so i would like to store all
See this SVN repo:
http://svn.symfony-project.com/plugins/sfDoctrinePlugin/branches/1.3-2.0
There is also a blogpost:
http://www.symfony-project.org/blog/2009/10/05/symfony-and-doctrine-2
On Apr 14, 10:13 pm, Peter Petrik zil...@gmail.com wrote:
hi,
i am wondering , it is possible to use
I assume you are using sfFormExtraPlugin. Check to make sure it is in
your project on the server. Also remember to publish the plugin assets
on the server.
On Apr 14, 11:03 am, Belgacem TLILI belgacem0...@gmail.com wrote:
i'm using Sf1.4
i have a form that contain a captcha fiels
in my
How is the sfDataSource different from dbFinder?
On Wed, Apr 14, 2010 at 8:52 AM, Leon van der Ree l...@fun4me.demon.nl wrote:
Hi All,
today I have added the start of routing-engine for grids.
DigitalBase has provided a redmine issue-tracker for us at
https://symfony.digitalbase.eu/
This
Sorry, I am referring to the sfPropelObjectPathBehaviorPlugin
On Thu, Apr 15, 2010 at 12:04 PM, Richard U richard@gmail.com wrote:
How is the sfDataSource different from dbFinder?
On Wed, Apr 14, 2010 at 8:52 AM, Leon van der Ree l...@fun4me.demon.nl
wrote:
Hi All,
today I have added
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The problem was the fact he uploaded all the project, except config
folder, and he forgot to enable plugin in
ProjectConfiguration.class.php
Alecs
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Use GnuPG with Firefox :
Hi,
We have set the 'required' = true but still the max_length attribute is not
set for LoginId.
Regards
Deepak Bhatia
On Tue, Apr 13, 2010 at 3:07 PM, Gareth McCumskey gmccums...@gmail.comwrote:
The answer is easy. It needs to be required first. If it is over
max_length it just ignores it
31 matches
Mail list logo