[symfony-users] Re: How to use framset with symfony?

2010-02-27 Thread wissl
As Tarjei wrote: src of a frame should NOT be html code itself, but the URI to a webpage. So you could try something like this: frameset cols=20%,80% frame src=files\leftnav.html/ frame src=?php echo ur_for('@any_route') ?/ /frameset It's still the question why anyone

[symfony-users] Re: url_for with extra parameters

2010-02-12 Thread wissl
In UrlHelper.php of symfony core lib there is a list of optional parameters supported by link_to(): * bOptions:/b * - 'absolute' - if set to true, the helper outputs an absolute URL * - 'query_string' - to append a query string (starting by ?) to the routed url * - 'anchor' - to append an

[symfony-users] Re: How to change time till the user is logged out (if there is no activity in the session) ?

2010-02-10 Thread wissl
http://www.symfony-project.org/book/1_2/06-Inside-the-Controller-Layer#chapter_06_sub_session_management On 10 Feb., 19:04, Javier Garcia tirengar...@gmail.com wrote: Hi, just that. Using sfDoctrineGuardPlugin Javi -- You received this message because you are subscribed to the Google

[symfony-users] Re: Proper way to access object..

2010-02-09 Thread wissl
echo $this-getUser()-getGuardUser()-getOrganization()-first_name; getUser() returns the current session object, getGuardUser() the doctrine object of sfGuardUser -- You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email

[symfony-users] Re: How to make LEFT JOIN in subquery which is in WHERE condition?

2010-01-29 Thread wissl
Try to use the table names instead of the class names in the subquery. On 29 Jan., 00:54, MaEcTPo olegik...@gmail.com wrote: I wrote a raw SQL, like this: SELECT b2.title, r.title FROM route r LEFT JOIN busstop_route b ON (r.id = b.route_id) LEFT JOIN busstop b2 ON b2.id = b.busstop_id

[symfony-users] Re: Making sure a login id only has one session at any moment

2010-01-28 Thread wissl
Could be very expensive to loop through every existing session for every login process, don't you think? But that depends on your expectations. I guess the other way around seems to be the much more useful way: storing the session_id to the userprofile in database. Saving the sessions themselves

[symfony-users] Re: Subdomain dynamicly

2010-01-19 Thread wissl
There is the excellente part Advanced Routing of the 2009 symfony advent calendar, that is related to your topic. Have you read it? Otherwise give it a try! http://www.symfony-project.org/advent_calendar/2/en http://www.symfony-project.org/advent_calendar/3/en On 19 Jan., 14:36, sepelloo

[symfony-users] Re: how can I check the name of module and action in layout ?

2010-01-15 Thread wissl
I believe $sf_request-getParameter('action') and $sf_request- getParameter('module') should also work. On 14 Jan., 21:38, dziobacz aaabbbcccda...@gmail.com wrote: thx people !! :) On 14 Sty, 20:57, tirengarfio tirengar...@gmail.com wrote: Well put $ before both.. On Jan 14, 8:55 pm,

[symfony-users] Re: Can't access slots in partials (with cache enabled)

2009-12-16 Thread wissl
This is an issue since more than half a year now... There was (is?) a ticket in trac with a working patch, I don't know why it isn't merged into core... On 16 Dez., 09:20, Matthias Pfefferle pfeffe...@gmail.com wrote: Thats exactly my problem, Pablo! I have enabled the cache (settings.yml)

[symfony-users] Re: how can I show html as html ?

2009-10-18 Thread wissl
what class is the instance $person of? for doctrine somethine like this should work: echo $person-getRawValue()-description; if it is a simple array you could do something like this: $raw_person = $sf_data-getRaw('person'); echo $raw_person['description']; Best way is to var_dump the object

[symfony-users] Re: Doctrine problem trying to add null relation object

2009-05-21 Thread wissl
Not sure if you registered it before, so I ask you to get a confirmation: Did you try to add notnull: false to your schema definition? buyer_id: { type: integer(4), notnull: false } We do similar things to that and it works without any problems... On May 19, 10:00 pm, Tom

[symfony-users] Re: Could Symfony be easier to use?

2009-02-17 Thread wissl
+1 for comments in symfony plugin module. It would help immense. The forum and ticket system is not the right place to discuss best practices and improvement ideas. As rating is quite difficult for something that is (hopefully) in a dynamic improvement I am not sure that a plugin rating would

[symfony-users] Re: Lighttpd at the front or back?

2009-02-05 Thread wissl
I would love to see a small tutorial Tsyrulnik! Thanks in advance :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send email to symfony-users@googlegroups.com To

[symfony-users] Re: Setting the session cookie domain for cross host compatibility.

2008-09-08 Thread wissl
Its a param in factories.yml under session storage named: session_cookie_domain all: storage: class: sfSessionStorage param: session_name: domainsession # Name of the cookie to store the session id session_cookie_domain: domain.dns On Sep 8, 7:50 pm, James

[symfony-users] Re: object in a component

2008-04-05 Thread wissl
There was a quite similar question short time ago in the forum where it was suggested to use the requests parameter holder, if necessary with namespace.Could this be a solution for you, too? On 5 Apr., 11:10, kusum [EMAIL PROTECTED] wrote: hi i want to pass a object from a template to a

[symfony-users] Re: object in a component

2008-04-05 Thread wissl
., 11:23, wissl [EMAIL PROTECTED] wrote: There was a quite similar question short time ago in the forum where it was suggested to use the requests parameter holder, if necessary with namespace.Could this be a solution for you, too? On 5 Apr., 11:10, kusum [EMAIL PROTECTED] wrote: hi i

[symfony-users] Re: sfLucene - how to non re-index propel object temporally?

2008-04-02 Thread wissl
I think there are two possible solutions for that (maybe more...): 1) sfLucene provides the possibility to configure a validator method in the search.yml, which is asked, if the object has to be (re)indexed. So you could create such a -indexMe() in your object which returns false, if only the

[symfony-users] Re: still problem with sfGuard

2008-03-10 Thread wissl
First of all: I don't use sfGuard, but I read the code some while ago and tested the plugin. As far as I can guess your problem could be caused by a session problem. Either you don't have cookies enabled for your test domain, then a new session will be created on every page load and the user

[symfony-users] Re: sfLucenePlugin for one-to-many relationship indexing

2008-03-08 Thread wissl
So indexing works so far (what you can tell), but your search does not return the results you want? Or are you not sure about the correct indexing process itself? What looks a little bit strange to me is that you index the field authorIDs as a keyword, but your query searches for tokenized