Vikram,
You can copy and paste this example:
http://developer.yahoo.com/yui/examples/editor/simple_editor_clean.html
Otherwise, is there an error message? Also, tons of examples and docs are
available here:
http://developer.yahoo.com/yui/editor/
http://developer.yahoo.com/yui/examples/editor/
Place for adding of additional values to the submitted array is form
validator for that field, because you need transform it to get valid
values.
Form can be used in some places (frontend + backend), and must work
equal... That is why adding of additional values in controller action
isn't good dea
The images are being referenced using relative pathslike
background: url(../../../../assets/skins/sam/sprite.png)
In this case it should work fine. What could be going wrong in this?
thanks and regards
Vikram
On Mar 12, 2:23 pm, Eno wrote:
> On Wed, 11 Mar 2009, SeeVik wrote:
> > This doe
On Wed, 11 Mar 2009, SeeVik wrote:
> This does display the text-editor, but it does not display the images?
> Is there something that I missed in between? The images are already
> there in the path they have been referenced to in the css files
> specified here.
The images are referenced in t
I want to send email in task, but when I used link_to
('text','@url','absolute=true'), the responded url is always like this
one
http://.\symfony/action/module...
I think this is because it is running in commandline taks environment.
Are there any good solution to use the url helper to generate a
Hello all,
I want to use Yahoo UI library in my symfony project for displaying a
simple editor.
I put the downloaded YUI library in my web/js folder. and just added
references to the javascript files and css files in my modules
view.yml like this
all:
javascripts: [yui/build/yahoo-dom-even
I spoke too soon. Now it allows you to create multiple entries with
the same user name. I've spent about 12 hours researching this, I
read the form book, looked through all the tutorials, looked at the
api documentation and search good for hours. Can someone please for
the love of god help me f
Just wondering, is DbFinder in the plan at all? As it would mean
Propel projects can use it ...
This is a great news, I love sfSimpleCMS, so an improved CMS for
Symfony 1.2 is long overdue. Thank you Tom :)
On Thu, Mar 12, 2009 at 11:00 AM, Tom Boutell wrote:
>
> The first beta release of pkCon
On Mar 10, 12:58 pm, HAUSa
wrote:
> I got a form, in which users can select multiple values for a field
> using sfWidgetFormChoiceMany().
>
> Now, is it possible to add more values to the submitted array on
> submit? I'm not talking about default values when the form shows, but
> specifically w
Yes, if I var dump an instance of new Members(), it is preloaded with
the default values. It is also set in the new entry form. This may
be a bug.
On Mar 11, 8:15 pm, Lawrence Krubner wrote:
> I'm guessing that if a value is equal to the default value, then the
> Model class should assume that
I'm guessing that if a value is equal to the default value, then the
Model class should assume that this value has never been set before.
Think about it the other way around: how should the Model code
determine when a value has been previously set?
Also, I'm curious, does the default value appea
Hey, just be warned it is alpha! :P
You need to install alpha stability plugin like this (Symfony 1.2):
$ php symfony plugin:install -s "alpha" sfSimpleGoogleSitemapPlugin
Note the -s "alpha"
I'm going to be working for Symfony 1.0 and 1.1 compatibility.
On Thu, Mar 12, 2009 at 2:09 PM, Lawre
On Mar 11, 6:00 pm, Tom Boutell wrote:
> The first beta release of pkContextCMS is out.
>
> pkContextCMS is a CMS based on Symfony 1.2 and Doctrine.
>
> Notable features include:
>
> * Editing takes place “in context.” sfSimpleCMS followed this
> principle for editing slots; we extend it to
On Mar 11, 8:53 pm, Sid Bachtiar wrote:
> > the plugin has also no orm depensies.
>
> Just an update, I added auto detection to detect if DbFinder exists
> and use it otherwise use Propel.
>
This is fantastic. Thanks. It looks like a good plugin, in the first
place, and having it use DbFinder
> the plugin has also no orm depensies.
Just an update, I added auto detection to detect if DbFinder exists
and use it otherwise use Propel.
On Wed, Mar 11, 2009 at 10:04 PM, gimler wrote:
>
> it generate sitemap with this standard (use by google, yahoo,
> microsoft)
> http://www.sitemaps.org/
Hi again,
I already got it to work.
I forgot to enable i18n in settings.yml... My mistake :)
Now the error messages are translated.
Thanks for your help.
On Mar 11, 11:14 pm, Tiago Nunes wrote:
> I had anerrorin the previous email.
>
> The tag shouldn't be there, but it's not the cause of i
I had an error in the previous email.
The tag shouldn't be there, but it's not the cause of it not
working..
On Mar 11, 11:10 pm, Tiago Nunes wrote:
> Hi,
>
> I have tried to do it using an XLIFF file without success...
>
> I have put a file named "messages.pt.xml" in "apps/frontend/i18n/"
> w
Hi,
I have tried to do it using an XLIFF file without success...
I have put a file named "messages.pt.xml" in "apps/frontend/i18n/"
with the following content:
Required.
Campo Obrigatório.
But the translation doesn't work...
What am I doing w
Hmm... can you tell me more about this? I'm using MySQL.
On 11 mrt, 22:56, Michael Smith wrote:
> Try using transactions if your db supports it. Begin the transaction
> before setting the rank and if the object can't be deleted roll back
> otherwise commit it.
>
> On Mar 11, 4:47 pm, HAUSa
> wr
In my schema for a members table I have the default value for country
set to 223. The BaseMembers.php class contains a setCountry method.
This method flags the column as modified if it is not equal to the
previous value. It also flags the column as modified if it is equal
to the default value, e
I'm going to leave this up in case anyone else has the same problem.
The answer is that you must specify the primary key, if the unique
field is not the primary key. Here is a working example:
[code=php]
new sfValidatorPropelUnique(
array(
'model' => 'Members',
'colu
The first beta release of pkContextCMS is out.
pkContextCMS is a CMS based on Symfony 1.2 and Doctrine.
Notable features include:
* Editing takes place “in context.” sfSimpleCMS followed this
principle for editing slots; we extend it to adding, managing and
reordering pages
* Much easie
Try using transactions if your db supports it. Begin the transaction
before setting the rank and if the object can't be deleted roll back
otherwise commit it.
On Mar 11, 4:47 pm, HAUSa
wrote:
> Hi everybody,
>
> In one of my class models, I added an action on the delete() function:
>
>
Hi everybody,
In one of my class models, I added an action on the delete() function:
public function delete(PropelPDO $oCon = null){
$aPages = PagePeer::doSelectFollowing($this->getRank
(), $this-
>getPageId());
foreach($aPages as $oPage){
Thanks for your replies both!
I'm using Symfony 1.2.
I considered doing it in the actions.class.php, but this _always_ has
to be done by submitting the form. Both on the new action and the edit
action. So I prefer doing it in the form class.
Marijn, what exactly is the updateObject() function? It
I placed it in sf_sandbox/lib/form/doctrine and it works - thx you
very much :D
On 11 Mar, 19:53, "Yevgeniy A. Viktorov"
wrote:
> Hello,
>
> Try to place your form(e.g. sfGuardFormSignin.class.php) into
> "sf_sandbox/lib/form" or "sf_sandbox/apps/frontend/lib/form"
> And clear cache, of course
I placed it in sf_sandbox/lib/form/doctrine and now it works - thx you
very much xD
On 11 Mar, 19:53, "Yevgeniy A. Viktorov"
wrote:
> Hello,
>
> Try to place your form(e.g. sfGuardFormSignin.class.php) into
> "sf_sandbox/lib/form" or "sf_sandbox/apps/frontend/lib/form"
> And clear cache, of cou
I placed it in sf_sandbox/lib/form/doctrine and it works - thx you
very much :)
On 11 Mar, 19:53, "Yevgeniy A. Viktorov"
wrote:
> Hello,
>
> Try to place your form(e.g. sfGuardFormSignin.class.php) into
> "sf_sandbox/lib/form" or "sf_sandbox/apps/frontend/lib/form"
> And clear cache, of course
I need to create a type of global validation that is not related to
any field. Can a global validator handle this type of requirement?
Basically my validator is a "limit" validator. The form contents
should not be added to the database if there are already N existing
entries for a specific set o
Hello,
Try to place your form(e.g. sfGuardFormSignin.class.php) into
"sf_sandbox/lib/form" or "sf_sandbox/apps/frontend/lib/form"
And clear cache, of course ;)
Thanks.
dziobacz wrote:
> I would like modify login form + its button (I need polish names). In
> sf_sandbox\apps\frontend\modules I h
I would like modify login form + its button (I need polish names). In
sf_sandbox\apps\frontend\modules I have created folder 'sfGuardAuth'
and there 2 folders 'templates' with file 'signinSuccess.php' (button
with polish name) and folder 'lib' with
'sfGuardFormSignin.class.php' (polish labels and
Yeah. You should never, ever program javascript without a runtime
debugger, and Firebug is pretty much the gold standard for Useful and
Versatile.
On Mar 10, 8:06 am, Gareth McCumskey wrote:
> Are you using Firefox? If so try to get the Firebug add on installed if you
> haven't already and try t
Hi
I have a problem with routing. I have directory in web folder by name
files. In web/files there is pic.php which shows pictures by pic?
file=picname.jpg. Now I need to make routing www.example.com/files to
web/files directory, not to the files module. How I can do that?
Thanks for your help!
Try to place your widget into "widget" folder, i.e.
myproject/lib/widget
myproject/apps/frontend/lib/widget
...
Then clear cache.
p.s.
with no promises, but might help ;)
Lawrence Krubner wrote:
> I created a new version of sfWidgetFormPropelSelect. I put
> sfWidgetFormPropelSelectForTeams.cla
Did you clear cache after creating it to allow the autoloader to add your
new file to the autoload list?
On Wed, Mar 11, 2009 at 3:17 PM, Lawrence Krubner wrote:
>
> I created a new version of sfWidgetFormPropelSelect. I put
> sfWidgetFormPropelSelectForTeams.class.php in the /lib directory. The
I created a new version of sfWidgetFormPropelSelect. I put
sfWidgetFormPropelSelectForTeams.class.php in the /lib directory. The
class name is sfWidgetFormPropelSelectForTeams.
If I read here:
http://www.symfony-project.org/book/1_2/19-Mastering-Symfony-s-Configuration-Files#chapter_19_extending
Hi,
I was at a php conference last week, and I attended a really good
presentation from Ilia Alshanetsky:
http://ilia.ws/files/phpquebec_2009.pdf
It is NOT symfony specific, but you can find really good clue to
optimize your php web app:
To summarize:
- optimize but don't touch the code (as less a
I would like to have this in my child form class:
public function configure()
{
$this->widgetSchema['teamnumber'] = new sfWidgetFormPropelSelect(array
('model' => 'NewTeam', 'add_empty' => true, 'key_method' =>
'getTeamnumber', 'choices' => 'Choose a team'));
}
I need for this dro
On Mar 11, 3:41 am, ken wrote:
> Im currently creating my own doctrine admin theme and added tabbing
> functionality but I just came across a problem and I cant find any
> answer in the net.
>
> How do I pass additional query_string to form_tag_for in _form.php
> template? There seems to be no
this is all I can come up, i expanded the method to suit my need
isMultipart() and
print 'enctype="multipart/form-data"')?]>
[?php if(!$form->isNew() and print $form->getWidgetSchema()-
>renderTag('input', array('type' => 'hidden', 'name' => 'sf_method',
'value' => 'PUT', 'id' => false)))?]
Thx it's works now it's about
/
++
> Date: Wed, 11 Mar 2009 22:21:25 +1300
> Subject: [symfony-users] Re: Production, Url without index.php don't work
> From: sid.bacht...@gmail.com
> To: symfony-users@googlegroups.com
>
>
> Hi,
>
> First make sure your production environment has mod_rewrite
Hi,
First make sure your production environment has mod_rewrite installed
and enabled.
Second make sure that mod_rewrite is enabled for your website.
And third, you may want to try to uncomment/comment the following line
from your web/.htaccess:
#RewriteBase /
Regards,
Sid
On Wed, Mar 11, 2
> it generate sitemap with this standard (use by google, yahoo,
> microsoft)
> http://www.sitemaps.org/
You're right, after reading that, seems like Google sitemap actually
is the same as that.
> you can also add in the addDefaultUrls method some urls that has a
> model but no modul.
> see
> ht
Hello everybody. In localhost my website work.
But when i deploy it in OVH(share).
If i type www.monsite.com/category/2 ---> don't work.
but
if i type www.monsite.com/index.php/category/2 > work !!!
What can i do for the first url work !!
Thx everybody !!
Have a nice Day !!
--~--~
it generate sitemap with this standard (use by google, yahoo,
microsoft)
http://www.sitemaps.org/
it is working wih 1.0, 1.1 and 1.2 there exist also a package for each
version.
the plugin has also no orm depensies.
i use it allready in production on my projects.
you can also add in the addDef
The code is below. I have been searching for hours. This is failing
on updates, saying that the user name has already been taken. It's
being used as a post validator.
new sfValidatorPropelUnique(
array(
'model' => 'Members',
'column'=> array('user_name'),
I would suggest you override the updateObject method of your form.
Proof of concept:
public function updateObject ()
{
parent::updateObject();
if ($this->isValid())
{
$this->values['my_custom_added_value'] = 'MyCustomAddedValue';
}
}
What version of symfony are you using? You need to
Hi,
But does it generate Google format sitemap? Also it isn't flagged as
for Symfony 1.2.
I was looking for something that just work with sfSimpleBlogPlugin and
thought few others would be looking for similar plugin that just work
with sfSimpleBlogPlugin.
I like it though, especially the idea o
Im currently creating my own doctrine admin theme and added tabbing
functionality but I just came across a problem and I cant find any
answer in the net.
How do I pass additional query_string to form_tag_for in _form.php
template? There seems to be no way according to the api.
--~--~-~--~
Have another look at the link you posted - you might be missing these
lines:
$databaseManager = new sfDatabaseManager($configuration);
$databaseManager->loadConfiguration();
On Mar 11, 3:40 am, xhe wrote:
> Hi All,
>
> But can you inform me how I can access other propel class?
>
> I used
>
> c
50 matches
Mail list logo