Hello,
The only way to succesfully add stylesheets and javascripts using the
use_stylesheet() and use_javascript() helpers from component slots
templates was to let the sfCommonFilter add all stylesheets and
javascripts implicitely after rendering a page (thus not including
include_stylesheets()
Hi Dennis,
You can just include include_stylesheets() and include_javascripts() calls
where you want the stuff to go to. if you want to have exactly the same
behaviour as before, just put them before the end of the head tag.
I dont understand why you think the common filter did something
Hi Fabien
Thanks for your prompt reply.
The problem is that the common filter inserted the link and script
tags áfter generating
the whole layout body, so when I use use_javascript and/or
use_stylesheet in the
template of a component I include by using include_component_slot() in
the body
of a
Hi Dennis,
i am Fabian, not Fabien.
Now I understand your issue. The point is that there will be always a layer
where it is too late.
basically all used javascripts and stylesheets must be known before the
layout is rendered. Rendering the layout should not have effects on anything
else.
Your
Fabian,
Sorry for the name exchange, they look so alike I didn't notice.
I think my case is not so rare, components often render a block
somewhere
in a page with their own looks, thus their own styles. Sometimes they
also require their own javascripts. In my case the stylesheets/
javascripts
1) You would need to fix the WEB folder name in your project2) Take a look
in memory limits
3) check the freaking permission
FYI: Just uploaded to a CPanel :p
On Wed, Jun 3, 2009 at 10:28, juaninf juan...@gmail.com wrote:
If I have a server with cpanel its possible install symfony, exist any
Well, I didn't had to care about it...
On Wed, Jun 3, 2009 at 10:43, juaninf juan...@gmail.com wrote:
all?, because when i worked with propel in the php settings, have that
enabled extension=php_xsl.dll
On 3 jun, 15:38, Sid Ferreira sid@gmail.com wrote:
1) You would need to fix the WEB
all?, because when i worked with propel in the php settings, have that
enabled extension=php_xsl.dll
On 3 jun, 15:38, Sid Ferreira sid@gmail.com wrote:
1) You would need to fix the WEB folder name in your project2) Take a look
in memory limits
3) check the freaking permission
FYI: Just
Hi,
I have a javascript function
function dist2(value1,value2)
{
var des = description;
for(m=value1;mvalue2;m++)
{
document.write(document.getElementById(des+m)+BR);
}
return false;
}
The id's of the text area are built as given below
==
Hi,
I've finished a project under Symfony / Doctrine. Developers have
worked on Mac OS X and Windows.
When I try to install the project on Linux (Gentoo, PHP 5.2.9), the
task doctrine:build-sql fails with this error :
Fatal error: Class 'I18N' not found in
Hi all,
I have two tables which contain data and one table is a relationship between
the two tables for example
table1
id:
name: longvarchar
created_at:
table2
id:
name: longvarchar
created_at:
rel_table:
table1_id:
table2_id:
my question is how do i embed rel_table when i
Sample schema:
tableA:
id: ~
title : varchar(16)
tableB:
id: ~
a_id: (FK)
file: varchar(64);
tableC:
id: ~
a_id: (FK)
file: varchar(64);
In the forms, TableA embed all TableB and TableC that belongs to it.
Sometimes the upload of B simply fails. why?
obs: I
Hi Alex,
I haven't looked too deep in the subject, so this is not going to be a
magical solution ;) But since there's some validation logic that
involves more than 1 field, you'll have to play around with global
validators - take a look at
Hi,
I have a form and I use the following route as url:
--- routing.yml
messages_view_conversation_update:
url: /messages/reply/:id/update
# class: sfDoctrineRoute
options: { model: Conversation, type: object }
param: { module: messages, action: reply, id: 1 }
I've the same problem on a Debian Dedicated server :-(
2009/6/3 FlyLM [ML] flylm...@gmail.com:
Hi,
I've finished a project under Symfony / Doctrine. Developers have
worked on Mac OS X and Windows.
When I try to install the project on Linux (Gentoo, PHP 5.2.9), the
task doctrine:build-sql
Hi Sidney,
Unfortunately, there seems to be a bug with files uploaded inside
embedded forms in symfony. You'll find a workaround in this URL:
http://stereointeractive.com/blog/2008/12/23/symfony-12-upload-a-file-inside-an-embedded-form/
Also, it appears that when using this workaround you
Yep, Brazillan too!
Well, the weird point is that I use a LOT this embeded forms, and just _few_
some times it happens...
On Wed, Jun 3, 2009 at 15:24, Campezzi campe...@gmail.com wrote:
Hi Sidney,
Unfortunately, there seems to be a bug with files uploaded inside
embedded forms in symfony.
Hola!
Alguien me puede ayudar a descifrar el siguiente error:??
PHP Fatal error: Call to a member function getColumn() on a non-
object in /usr/share/php5/PEAR/symfony/plugins/sfPropelPlugin/lib/
vendor/propel-generator/classes/propel/engine/database/reverse/pgsql/
PgsqlSchemaParser.php on line
I was wondering if anyone has devised a method to set all the labels
and help messages using some sort of lookup technique from a
configuration file?
Ideally, it would be great to do this for validation error messages
also.
Steve
--~--~-~--~~~---~--~~
You
Hi all,
Any standard solution for birthday field?
sfWidgetFormDate seems to only support Unix timestamp which is limited
to year from 1970? Which mean the oldest person's birthday that can be
recorded is 39 years old.
--
Blue Horn Ltd - System Development
http://bluehorn.co.nz
As to your second question, I've integrated LDAP with sfGuard in the
past.
First off, I used adLDAP (http://adldap.sourceforge.net/
documentation.php) to connect to the LDAP server.
Then I created my own class (myLDAP) with a static method for checking
a username and password against
Hi,
I'm getting a problem. I have a registration confirmation screen
which the user gets to by clicking on a link in an email.
After getting a confirmation, the user can login. However,
sfGuardPlugin sends the user to the referer if there is a referer.
It seems that this is causing the code
Hi guys!I can't share the content of my schema, but, it happens that it
simply can't locate one of the tables.
The structure is like:
TableA
TableB (FK to A)
TableC (FK to B)
TableD (FK to A)
TableE (FK to C)
I tried to rename, reorder fields, everything... what may it be?
--
Sidney G B
I've figured out what I need to change for this, but I don't
understand why other people wouldn't have the same problem. I changed
the following line in BasesfGuardAuthAction:
$user-setReferer($this-getContext()-getActionStack()-getSize()
1 ? $request-getUri() : $request-getReferer());
to:
Hi,
Is the order of the tables like in your example? Are the tables split
up into different schema files?
Frank
Am 04.06.2009 um 05:56 schrieb Sid Ferreira:
Hi guys!
I can't share the content of my schema, but, it happens that it
simply can't locate one of the tables.
The structure is
25 matches
Mail list logo