EX: You are here: home-module-page etc
function curPageURL() {
$pageURL = 'http';
if ($_SERVER[HTTPS] == on) {
$pageURL .= s;
} $pageURL
.= ://;
Example: Home › module › success page ›
this is my php code:
function curPageURL() {
$pageURL = 'http';
if ($_SERVER[HTTPS] == on) {
$pageURL .= s;
} $pageURL
hi,
first of all you should not access $_SERVER directly but use the
appropriate symfony class instead.
in this case its sfWebRequest [1] where you have a method getUri() [2]
which should do what you want.
Also have a look at getPathInfo() [3]
[1]
Hello nova!
Try reading the documentation... All your questions are mentioned
there.
But this is a nice forum so I'll give you some answers:
Hard to say if you need one module per menu. It depends on your
project. You could also create one module and several actions. Both
ways do the job pretty
That was a plugin I intended to create for a project I was working on 18 months
or so ago.
Essentially, I planned to create a plugin that would use the forms framework,
and allow developers to easily create a Wufoo like (Symfony)form from a wizard.
I'm no longer on that project anymore, so the
Hi all
Apologies if this is a silly question. I am using Symfony 1.4.6 to
build a simple app to track which team members are working on which
issues (we need a custom solution).
Core of my schema.yml:
issue:
columns:
name:{ type: string(255), notnull: true, unique: true }
Hi,
I'm using sfAdminDash and sfDoctrineGuard in my backend.
And under the menu i got error:
Fatal error: Method sfOutputEscaperObjectDecorator::__toString() must
not throw an exception in /home/max/repos/project/plugins/
sfAdminDashPlugin/modules/sfAdminDash/templates/_header.php on line 51
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:
If I understand your need, you want to display the employee name in
the list view ?
Is that it ?
Then, you could just add in your generator.yml
list:
display: [id, name, _emp, created_at, updated_at]
Add the partial _emp.php in your module and put the code :
?php
echo $issue-getEmp();
Hola, mi problema es el siguiente, usando symfony 1.4 con sql server
2000 y crystal reports 11, el problema es que a veces me manda el
reporte y a veces no, cuando no me lo manda me aparece el siguinete
mensaje.
Source: Crystal Reports ActiveX Designerbr/bDescription:/b La
sintaxis Basic no se
Hello,
I want to let the visitor the possibility to filters the job result by
category, location. (if i take an example to the jobeet context)
by using the 'same' process that in the backend.
How to do that ?
How to customize it ?
Do you have a ressource / tutorial link please ?
Thanks.
Hi guys,
I created my first plugin called mpStarRatingPlugin
http://www.symfony-project.org/plugins/mpStarRatingPlugin that I uploaded a
pear package manually, I receive a lot of mails asking help to install it. I
remember that I forgot to leave available by symfony cli tasks.. now I
created on
You can use the name of the Class/Table e.g.:
In the file generator.yml
list:
display: [id, name, emp]
Please note it is emp, and not emp_id which is the name of the column,
this works for me and it lists the __tostring magic method instead of
the id.
Cheers.
On 9/21/10 7:33 AM,
13 matches
Mail list logo