Thanks Grzegorz for your answer.
The only things that applications have common are:
- Users (user models), centralized authorization
- Some components (or component slots) from app A (for example) can
be used in app B or C.
And another question -- is it unneffective to store all the data in
Never heard about something like that
But I think this should be done by your apache configuration.
BR
On 23 Sep., 02:52, wittygraphy wittygra...@gmail.com wrote:
Hi all,
I am rendering a http (non secure) page, but I would like to embed a
https link into it.
Is it possible to produce such
Thank you Eno,
it was the rewrite module, now it works as expected.
Regards,
Martin
On Sep 23, 4:39 am, Eno symb...@gmail.com wrote:
On Wed, 22 Sep 2010, martin wrote:
The homepage works well, but any other URL's keep telling me that the
requested URL wasn't found..
Example:
On
You could consider using symfony's filter mechanisms to automatically check
where a request is attempting to go and if it matches one that you need to
be https the filter can force a redirect from http to https. In other words,
if the module/action you want a link to go to is user/login, then a
Could you show us your DB schema? how do you want to save your multiple
extensions on the DB? if you want to save the extensions in only one field
then you could override the doSave method on your form, take the array of
extensions and make a string with pipe separated values ( like: JPG|GIF|PNG
)
Hello
I have multiple layout width own arrangement.
My simple question:
Can I configure symfony to automatically load different css/js for
layouts?
Set the same javascript and css files in every view.yml width
different layout is time-consuming.
I want something like this:
layout1- css1.1,
Merci de votre message.
Je suis présentement absent du bureau. Je serai de retour le 25 septembre.
L'accès à mes courriels pourrait être limité durant cette période.
En cas d’urgence, vous pouvez rejoindre notre équipe technique en envoyant un
courriel à l’adresse suivante:
I found the problem for the second issue. I had to delete all SFGuard Forms
from lib/form/doctrine/base and reinstall.
On Wed, Sep 22, 2010 at 10:07 PM, Social It social@gmail.com wrote:
I fixed the first problem by following instructions here and deleting the
BaseSfGuard classes with
rm
hi dear all
im a junior programer and first time using symfony framework 1.4
i have a trouble with link.somebody can help me to explain what diferent
source when i coding like this...
1) a href=?php echo url_for('main/home'); ?Home/a/li
with
2) a href=
The url_for() helper is environment-aware - it means that it will echo
the correct url for your current environment. In your case, you echoed
a link for the 'user' application in the 'dev' environment, that's why
the url included the user_dev.php filename. If that was your first
application in the
hello
how do you want to change the Javascript and CSS files ...?
I did a CMS and the user select a template that he wants, and they
change.
but I Do not know if it help you Tell us more about how you want
to change the Javascript and CSS files.
--
If you want to report a vulnerability
On Thu, 23 Sep 2010, Nova Lina wrote:
i have a trouble with link.somebody can help me to explain what diferent
source when i coding like this...
1) a href=?php echo url_for('main/home'); ?Home/a/li
with
2) a href=
hi
Gustavo ... thank you very much for your response.
I'm using symfony 1.4.
I need to save the choices the user selects in the field called
extension of the database.
The schema is:
IngeindArchivospermitidos:
#connection: doctrine
columns:
tipo_archivo: { type: string(20), fixed:
Hi,
I thinkg you should override the doUpdateObject method on the form and
change the value of the extension field there. Remember to put a pipe or
comma to separate the values on the string.Try this (not tested) on the
doUpdateObject method of your form:
public function doUpdateObject( $values
Scherl, it's possible but apache config file would be modified and
maintenance for mod-rewrite rules which could get long and complicated
Gareth, the sfSslRequirementPlugin does exactly what you described
In both cases a redirect is required and I'd like to avoid it due to
security concerns thus
Agreed w/ the recommendation of using url_for() and link_to(). However
the first form is needed if you want to switch the protocol (http -
https) and these helpers doesn't have an option to specify/force the
protocol. Symfony always use the same protocol as the page being
rendered.
Heidi
On Sep
Hey Vikos,
yes, that is relatively easy, but obviously you can't just use the
view.yml for that. However, from within the layout you can just call:
use_stylesheet('whatever');
use_javascript('blah');
That way you can customize the layouts to use different assets.
Daniel
On Sep 23, 5:25 am,
I think that in your case would be faster to just hardcode the CSS/JS on
every layout, but If you don't want to do this you could use the methods
from the response addStylesheet and addJavascript to change the CSS/JS
at the time you choose and set your layout.. but you'll need to do it
Oi (Helo)!!
Alguém sabe como eu coloco um checkbox em cada linha de uma tabela?
(Does anyone know how I put a checkbox in each row of a table?)
Obrigada!
(Thank you!)
Gerda Graciela
--- code--
public function configure()
{
On Thu, 23 Sep 2010, Mercedes Sualog III wrote:
Actually I don't still have the idea on how to do it..I am thinking since
Symfony supports ORM ideally this should support any database but I am not
sure with Cassandra since this a NoSQL and new one.
Yeah, you would need to write an ORM-NoSQL
Hi,
If I understand correctly, you want to put a checkbox on a table, like the
one generated on the admin generator, where you select items to make a
particular action? If that's so and you're not using the admin generator,
just add your own checkbox to the table and create an action to receive
Hi,
i found a similar post written some days before i wrote my question.
Also no answers yet. Doesn't anybody know something concerning this
issue?
Regards
mahadi
On Sep 16, 7:25 pm, mahadi profi...@altmuehlnet.de wrote:
Hi folks,
im trying to get user information in a functional test.
Hi,
as mentioned on PHPDeveloper we have set up a discount for 50 tickets. For
more information check out http://phpdeveloper.org/news/15178.
See you in Cologne,
Dennis
2010/8/25 Dennis Benkert spinecras...@googlemail.com
Hi,
this year we are organizing a symfony Day again here in Cologne,
hello again Gustavo
implement the function that sent me the following manner:
public function doUpdateObject( $values = null )
{
if ( isset( $values[ 'extension' ] ) )
{
$objeto = parent::doUpdateObject();
if(is_array( $values[ 'extension' ] ) !
Selecting one or more elements, which is the value shown in $values[
'extension' ] ? do a quick var_dump to see it, and call
parent::doUpdateObject at the end of your method, passing to it your
modified $values array.
I didn't notice that you're using sfWidgetFormChoice. Use
So apparently when calling index_dev.php symfony uses the yaml driver
for the entity but with index.php it uses the annotations driver which
throws this error. I cannot find any specific setting of the driver in
the config files so where is this defined and why does symfony use two
different
Ok, so I'm a bit at a loss here. There are apparently two ways to
generate the entity classes from the yaml definition. Both generate
different Metadata in the code and Symfony2 apparently cannot parse
either of these formats.
1. 'php hello/console doctrine:generate:entities --bundle=Application/
I cant address points 2 or 3 because i do not use those functions, however
regarding point 1, I just tested switching my index.php from dev to prod and
it worked as expected without changes, reading my PHP annotations just fine.
t
But I just tested the enviroment switching dev to prod and it
After clearing the prod cache I now get the annotations parsed
correctly but the problem still is that Symfony ignores the yaml file
which it happily uses in the dev environment.
On Sep 24, 3:24 am, Tim Nagel t...@nagel.com.au wrote:
I cant address points 2 or 3 because i do not use those
Do you have an example please ?
Cause as i never see it from my eyes, it does not make sense.
Thanks ;)
On 22 sep, 19:32, Richtermeister nex...@gmail.com wrote:
This is very simple. You have those FilterForm classes for each
model.. just use those to render the forms on the front-end, and
Hello,
i'm securing my backend because i'm going to recruit some moderators.
The probel is that i can access to the sfGuardPermission /
sfGuardGroup modules and there are abstract, meaning there are no
folders name sfGuardPermission / sfGuardGroup
How to set the credential to admin in order to
31 matches
Mail list logo