maybe :
http://symfony-check.org
would help
On Fri, Dec 18, 2009 at 5:27 AM, diogobaeder wrote:
> Hi,
>
> I'm trying to customize the 404 action, but the sfError404Exception is
> taking me to the default non-catched exceptions screen. Can you help
> me? Here are my configs:
>
>
>
> # settings.yml
Yes 'complete' actions must use the Javascript API provided by Prototype JS.
Regards
Deepak Bhatia
On Thu, Dec 17, 2009 at 7:00 PM, tirengarfio wrote:
> I just want to add that it only works using the prototype function
> (toggleClassName()), not with this other options:
>
> 'complete' => 'doc
Hi,
I'm trying to customize the 404 action, but the sfError404Exception is
taking me to the default non-catched exceptions screen. Can you help
me? Here are my configs:
# settings.yml
...
all:
.actions:
error_404_module:main
error_404_action:error404
...
# modules/main/action
I have for this table:
value:
type: float()
fixed: false
unsigned: false
primary: false
notnull: true
autoincrement: false
In the data I have .4123, but when called / displayed in symfony, I
only see .41. With sql call (or phpmyadmin), I see .4123. I'm not
Then put this snippet into a partial and render it into the normal view. Then
return $this->renderPartial() in the action.
Daniel
On Dec 17, 2009, at 7:13 PM, tirengarfio wrote:
> Thanks Daniel,
>
> im writing a message inbox, next to each message i would like to put a
> link in the style "Alr
SYMFONY50
I have spent the last year developing a Symfony + Doctrine + jQuery
web application for small businesses.
I talked our sales people into providing the Symfony community a
discount code for our product.
The application, which is for small business people to track employee
paid time off,
Hi,
you need say to us if you are the Project Manager of this project. If
yes then you need use the framework as you wish if not then use the
framework of your costumer want. But a good solution for it is talk
more about how the symfony can help you and your costumer in the
project.
I think that
Thanks Daniel,
im writing a message inbox, next to each message i would like to put a
link in the style "Already read it", when clicked it will change the
color of the background of the message.
For that im using link_to_remote() in order to change the color of the
background of (throuhg a javasc
Why would you want that? You can always return sfView::NONE in the action and
be done with it.
Daniel
On Dec 17, 2009, at 6:35 PM, tirengarfio wrote:
> Hi,
>
> is there any way to execute actions without defining its corresponding
> template?
>
> You know, if you dont define the corresponding
Hi,
is there any way to execute actions without defining its corresponding
template?
You know, if you dont define the corresponding template file you get
an error...
Bye
Javi
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this
hello,
following prolbem with symfony 1.3 (and 1.2): admin generator, user/
edit view, action save: deletes parameters in database that are not
bound!
example:
schema.yml:
User:
tableName: user
columns:
id:
type: integer(4)
primary: true
name:string(35)
...
Useraddon:
Hi Stephen,
As much as you may not like it, I think you should do what the customer
asked. If they have someone already that can (or think that can) maintain
CakePHP, for the customer this is very important.
There are many reasons why not use CakePHP, but there can also be many why
not use symfon
Thanks. I've made the adjustment to
public function executeError404($request)
{
$this->getResponse()->setContent(file_get_contents($site));
return sfView::NONE; // no need to call view
}
I believe this will resolve the issue.
On Dec 16, 4:51 pm, Gábor Fási wrote:
> You do not return an
Thanks. I've made the adjustment to
public function executeError404($request)
{
$this->getResponse()->setContent(file_get_contents($site));
return sfView::NONE; // no need to call view
}
I believe this will resolve the issue.
On Dec 16, 4:51 pm, Gábor Fási wrote:
> You do not return an
Serkan,
Thank you :) Problem solved.
On 16 Aralık, 19:29, Serkan Koyuncu wrote:
> Hello Berker,
> This happening when you install turkish version of ubuntu (or not english)
> On tr_TR local, strtolower function is not working as expected.
> (symfonylibfolder/autoload/sfCoreAutoload.class.php at
somebody?
2009/12/17 Abraham
> Hello people... i'm having troubles with bind function ... there's a
> form i've embedded called Tercero, that subform has to have the id of
> the main form, but as i'm creating a new main form, there's no main id
> yet. So i go to the bind function and code this
>
hello list,
how can I set the minimal selectable date in sfWidgetFormJQueryDate
I tried: config => {'minDate:. but it doesn't work
$this->widgetSchema['gebdat'] = new sfWidgetFormJQueryDate(array
(
format => '%day%-%month
%-%year%',
The success template is there anyways. Notice it is called
"error404Success.tpl"; however, the app is looking or
"error404Success.css.tpl". The template extension is .tpl
On Dec 16, 4:51 pm, Gábor Fási wrote:
> You do not return anything, so symfony presumes Success - that is why
> it is looking
Hey guys,
We've specced a project here for Symfony, and the client has come back
saying they want to use CakePHP instead because someone there end has
used it, therefore can maintain it.
I've heard CakePHP isn't one of the better frameworks, but I haven't
used it so I don't know why.
What we nee
Hello folks,
I've been trying to set default error messages on my forms so that I
don't have to "repeat myself" setting them field by field - for
example, setting global "required" and "invalid" messages. Looking at
the API, this seems simple enough by calling the setMessages() method
on my form's
I just want to add that it only works using the prototype function
(toggleClassName()), not with this other options:
'complete' => 'document.getElementById("message_1").className
("read_message");',
'complete' => "document.getElementById('message_1').className
('read_message');",
'complete' =>
On Thu, Dec 17, 2009 at 7:59 AM, Alexandru-Emil Lupu
wrote:
> You can a public method in your Pages class called getMenuSlug
>
> public function getMenuSlug()
> {
> // or something like that
> return $this->getMenu()->getSlug();
> }
>
>
> link_to("@my_route?menu_slug=".$page->getMenuSlug()."&slu
You can a public method in your Pages class called getMenuSlug
public function getMenuSlug()
{
// or something like that
return $this->getMenu()->getSlug();
}
link_to("@my_route?menu_slug=".$page->getMenuSlug()."&slug=".$page->getSlug())
Alternativelly, you could do on save method an overid
I'm starting a new project - my first with Symfony - and I'm trying to
figure out how to construct a route that incorporates information
about an associated object. The documentation that I can find is
light, to say the least, and I'm struggling. I'm using v1.4.1 w/
Propel (backwards compatibility
OK, thank you Stèphane...
Someone can help me please?
On 17 Dic, 13:01, Stéphane wrote:
> Well, I forgot it is already recursive on lib directory, so your .php files
> should be loaded automagically,
> Don't know what's wrong here
>
> Before Printing, Think about Your Environmental Responsibility
Well, I forgot it is already recursive on lib directory, so your .php files
should be loaded automagically,
Don't know what's wrong here
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
On Thu, Dec 17, 2009 at 12:
My autoload.yml file contains:
autoload:
# project
project:
name: project
path: %SF_LIB_DIR%
recursive: on
exclude:[model, symfony]
project_model:
name: project model
path: %SF_LIB_DIR%/model
recursive: on
AFAIK, You might look at the autoload.yml feature of symfony for loading
files (using recursive option might help too)
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
On Thu, Dec 17, 2009 at 12:35 PM, Marco V. wr
Now I have solved last problem, but when I try to call a function of
ysfYUI class in my code, I haven't access on it, because it isn't
visible... :(
The class ysfYUI.class.php is in /lib/vendor/symfony/lib/yui
directory.
What is the problem?
P.S. Thank you all so far. :)
On 17 Dic, 11:28, "Marco
Thanks. Both answers are useful!
I just want to correct the Gareth answer: the path where you should
put the global templates is apps/aplication_name/templates, isn't it?
Bye
Javi
On Dec 17, 11:35 am, ASS Lucas Mancini wrote:
> Hi @itrengarfio you can get the module name from partial or templa
OK: only one 'complete' option. Now works!
Thanks
Javi
On Dec 17, 11:32 am, Gareth McCumskey wrote:
> FYI, you cannot have two array keys with a name of complete
>
> Also, is the link you are trying to create rendered via an ajax call as well,
> possibly because of another previous link_to
Hi @itrengarfio you can get the module name from partial or template
with
$sf_context->getModuleName()
or even if you want get the route name
$sf_context->getInstance()->getRouting()->getCurrentRouteName();
bye
Lukas.
On Dec 17, 7:22 am, Gareth McCumskey wrote:
> Not exactly sure what you a
FYI, you cannot have two array keys with a name of complete
Also, is the link you are trying to create rendered via an ajax call as well,
possibly because of another previous link_to_remote? If so make sure the first
one has the "script"=>true option set:
link_to_remote('Link Text', array(
Sorry... :)
Now I have enabled sfDoctrineGuardPlugin, too, but there is another
error :(
It's:
Warning: call_user_func() expects parameter 1 to be a valid callback,
class 'sfGuardRouting' not found in C:\sfyproject\lib\vendor\symfony
\lib\event\sfEventDispatcher.class.php on line 77
Warning: call
So you make use of sfDoctrineGuardPlugin, so add it to the enablePlugins
array in your porjectConfiguration.
In fact, foreach dir in plugins, if you want to enable plugin, add its name
in the array :)
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votr
Cool!
Thanks Georg
Am 17.12.2009 09:45, schrieb Christopher Schnell:
> NetBeans does that. all you have to do is to add /** above the method
> and press enter. It can also handle type-hinting.
>
> Regards,
> Christopher.
>
> Georg Gell schrieb:
>> Hello list,
>>
>> just a quick OT post:
>>
>>
Not exactly sure what you are asking but if you are using a partial in more
than one module, instead of storing the partial in:
modules/module_name/templates
you can store the partial in:
modules/templates
Then whenever you want to render the partial in your action you use:
return $this->rend
Ok, I changed my line of code with yours, but now i receive this
error: Fatal error: Class 'sfGuardSecurityUser' not found in C:
\sfyproject\apps\frontend\lib\myUser.class.php on line 4
myUser.class.php contains this code:
On 17 Dic, 11:05, Stéphane wrote:
> try not using enableAllPlugins, prefe
try not using enableAllPlugins, prefer the white-list approach than the
black-list one.
so try with enablePlugins(array('sfDoctrinePlugin', 'sfYUIPlugin'));
Then symfony cc
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environneme
It's alredy enabled because in my ProjectConfiguration.class.php there
is this line of code: $this->enableAllPluginsExcept(array
('sfPropelPlugin', 'sfCompat10Plugin'));
but don't working... :(
I checked also that the file ysfYUIView is present in C:\sfyproject\lib
\vendor\symfony\lib\view and it's
Since you have downloaded the content in your plugins dir, you just have to
enable it in your projectConfiguration.class.php by adding a command like
$this->enablePlugins(array(...other pulgins, $pluginName))
:)
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pen
Ok, I have installed tortoise svn and I have downloaded all contents
of this link: http://svn.symfony-project.com/plugins/ysfYUIPlugin/branches/1.2/
in plugins directory.
So I tried to execute "symfony plugin:install ysfYUIPlugin" in command
line, but it return me the same message.
I tried also to
Hi,
im using a partial element for two templates of two different modules.
The partial element is stored in the "templates" folder of the first
module, so is there any way to get from the partial element the name
of the second module?
Bye
Javi
--
You received this message because you are subs
So.. what should i do?
As i say in my first post i dont have any problems with
link_to_function('Link', "myfunction2()")...
Javi
On Dec 17, 7:06 am, DEEPAK BHATIA wrote:
> This means your javascript code is not getting executed.
>
> On Wed, Dec 16, 2009 at 11:14 PM, tirengarfio wrote:
> > I ha
Hello,
Eclipse with PDT plugin does this too, what I do is writing first the empty
method with only its arguments and above its declaration type "/**" + RETURN
it will fill phpdoc with arguments and types.
You can also define empty class templates prefilled with phpdoc empty bloc
on top of it
Ch
NetBeans does that. all you have to do is to add /** above the method
and press enter. It can also handle type-hinting.
Regards,
Christopher.
Georg Gell schrieb:
> Hello list,
>
> just a quick OT post:
>
> I am looking for a way to auto add auto prefilled PHPDoc comments on my
> PHP files.
> For
Hello list,
just a quick OT post:
I am looking for a way to auto add auto prefilled PHPDoc comments on my
PHP files.
For example if I have a method like this:
public function doSomething($var){
then it should add above (if no PHPDoc comment is already existing)
/**
* doSomething
*
* @author Me
47 matches
Mail list logo