I found the solution to this issue :
I copied all actions found into the cache / backend folder. Then i
debugged some errors (lib missing, etc..).
So the solution is to use the admin filters, pager and sort actions.
Now it works fine.
Thank you all !
On 13 fév, 14:55, ziclo lauren...@gmail.com
Gareth,
Is your solution compatible with Doctrine ? I have a lot of errors
when i try to implement it.
Ziclo
On 5 mar, 07:17, Gareth McCumskey gmccums...@gmail.com wrote:
In your view in the header cell:
th?php echo
link_to(image_tag('sort_icon.png'),'module/action?sort=column_name')
?
Mine was written in Propel. You will need to use the Doctrine
equivalent methods in the correct places. I have never used Doctrine
(yet) so can't do that for you
On Wed, Mar 10, 2010 at 3:17 PM, ziclo lauren...@gmail.com wrote:
Gareth,
Is your solution compatible with Doctrine ? I have a lot
Thank you Gareth. I'm going to try your solution. I'll tell you if it
works.
On 8 mar, 14:55, Gareth McCumskey gmccums...@gmail.com wrote:
It is actually really simple to employ sorting yourself, thats why I
guess there are no tutorials dedicated to that specifically. The
example I gave you
Thank you all. I just think that a tutorial should exists on how to
create sortable columns like the way it is in the backend. Same thing
for the use of filters. These are common functionnalities that i want
to use for the frontend.
I thought it would be simple to implement but not. I don't want
It is actually really simple to employ sorting yourself, thats why I
guess there are no tutorials dedicated to that specifically. The
example I gave you works well so I personally don't understand what is
difficult about it.
On Mon, Mar 8, 2010 at 2:52 PM, ziclo lauren...@gmail.com wrote:
Thank
Hi Daniel,
thanks for your reply about the injection SQL security fix in Doctrine admin
generator of symfony 1.4.3.
Bye.
Augusto Morais
2010/3/8 ziclo lauren...@gmail.com
Thank you all. I just think that a tutorial should exists on how to
create sortable columns like the way it is in the
That's incorrect, Gareth. The security fix for symfony 1.4.3 just last week was
on the *exact* same lines of code because you could inject SQL in the Doctrine
admin generator.
How would symfony guess what you want to remove (clean) or not? :)
Daniel
On 06.03.2010, at 08:10, Gareth McCumskey
I'm afraid not. The entire point of passing GET and POST variables
into the sfWebRequest object is to allow for cleaning of potentially
mailicious code. You say hoiw would it know? How would you know? How
would you code it remove potentially malicious content? If the
sfWebRequest object did
Hi Gareth,
the method that you show us have a security problem: inject sql. You need to
check what kind of parameter the user is sending.
if (!in_array($parameter, array('asc', 'desc'))) {
//do something
} else {
//execute the query
}
bye
Augusto Morais
--
If you want to report
Firstly, symfony does that for you ;). Secondly it was just a quick
example to get him on the right road. I didn't have time to sit and
show a fully worked, real world example.
Jsut to reiterate, symfony already checks what parameters are passed
through GET and POST for you for SQL injection and
Does anyone has a tutorial about that ? The backend is usefull but a
good tutorial would be appreciate in order to be able to do that kind
of common functionnalities.
Tnak you
On 18 fév, 11:16, ziclo lauren...@gmail.com wrote:
Hello,
That what i'm going to do. Thank you
On 18 fév, 09:12,
If you just want to sort the results on the immediate page, you can use this
with the jquery plugin:
http://tablesorter.com/docs/
If you want to be able to sort across multiple pages, tell me what you're
using for pagination and I can give you a few ideas (but it will be more
difficult).
On
In your view in the header cell:
th?php echo
link_to(image_tag('sort_icon.png'),'module/action?sort=column_name')
? /th
In your action:
$this-data = TablePeer::getData($parameters, $request-getParameter('sort'));
In your model for class TablePeer:
public static function getData($parameters,
Thats what i did but it didn't work. I will try again because i have
more experience now.
Thank you
On 18 fév, 07:56, Tom Ptacnik to...@tomor.cz wrote:
If you want a native method you can look into generated backend
actions and templates and replicate this in your frontend.
On 16 ún, 19:05,
Hello,
That what i'm going to do. Thank you
On 18 fév, 09:12, Gareth McCumskey gmccums...@gmail.com wrote:
Why not just implement it yourself? You don't need to have everything
pre-written for it. Simply make the column heading a link pointing to
an action that re-runs the query with the
Is there a native (doctrine or symfony) method ?
Thanks
On 14 fév, 14:52, Daniel Lohse annismcken...@googlemail.com wrote:
You should take a look at the internal Sympal plugin sfSympalDataGridPlugin.
This will do what you want and there's also some documentation about it on
the Sympal
If you want a native method you can look into generated backend
actions and templates and replicate this in your frontend.
On 16 ún, 19:05, ziclo lauren...@gmail.com wrote:
Is there a native (doctrine or symfony) method ?
Thanks
On 14 fév, 14:52, Daniel Lohse annismcken...@googlemail.com
I am looking for the same thing, with Doctrine and SF 1.4 If anyone
can help I am very interested too.
--
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this
You should take a look at the internal Sympal plugin sfSympalDataGridPlugin.
This will do what you want and there's also some documentation about it on the
Sympal homepage here:
http://www.sympalphp.org/documentation/1_0/book/data-grid/en .
Jon recently committed some changes that should make
20 matches
Mail list logo