[symfony-users] Set Session without default namespace?

2007-07-23 Thread Greg Freeman
Is it possible to set a session in symfony without any namespaces? Another application I am using with symfony requires a session value to see if the user is logged in (which needs to bet set in symfony) I do not want to hard code it in.. Array ( [symfony/user/sfUser/attributes] => Array

[symfony-users] Re: Prevent browsers caching dynamic images....

2007-07-23 Thread Luciano A. Andrade
sfContext::getInstance()->getResponse()->addCacheControlHttpHeader('no-cache') inside the action that generates the image shuld work On 7/23/07, Ian P. Christian <[EMAIL PROTECTED]> wrote: > How can I stop browsers caching dynamically generated images? > > I can add a ?wibble=timestamp or some

[symfony-users] Re: prod environment vs. dev environment

2007-07-23 Thread Frank Stelzer
Mmmh first of all rename your index.php in index2.php. Maybe your WAMP installation redirects/rewrite something, which it should not. Check > http://localhost:8080/index2.php and hope you get more, than a blank page :) - Frank Am 23.07.2007 um 20:14 schrieb Brian Hoke: > I've installed a symf

[symfony-users] prod environment vs. dev environment

2007-07-23 Thread Brian Hoke
I've installed a symfony app using WAMP on a windows server. It runs on port 8080 and is the only app on this apache server. Under the dev environment, it works/shows fine: http://localhost:8080/frontend_dev.php http://localhost:8080/frontend_dev.php/foo/bar etc. all work fine. When I browse to t

[symfony-users] Extending sfGuard: Error in sfPropelCrudGenerator

2007-07-23 Thread paolovas
Hi. I've got the sfGuardPlugin according to the wiki instructions, it worked fine, I was able to create and edit several users and groups through the http://localhost/frontend_dev.php/sfGuardGroup and sfGuardUser pages. I've created a schema.yml file: --- propel: reqs_master: _attributes:

[symfony-users] sfPropelActAsNestedSetBehaviorPlugin 0.9.1

2007-07-23 Thread Tristan Rivoallan
Hi, here comes a new version of the plugin [1]. It's mainly a bugfix release. Here's the changelog : Bugfixes * fixed `getLevel()` cache (gordon franke) * fixed scope handling : scope can be any type of data (Jorn.Wagner) * `retrieveFirstChild()` and `retrieveLastChild()` missing r

[symfony-users] Re: tinymce full options

2007-07-23 Thread Eno
On Jul 22, 12:28 am, Greg Freeman <[EMAIL PROTECTED]> wrote: > How do you get all of tinymce's options to display using the textarea > tag helper? You specify all the options you want the helper. In the action I set a variable (since I use this in several actions of the same module): // Set

[symfony-users] Prevent browsers caching dynamic images....

2007-07-23 Thread Ian P. Christian
How can I stop browsers caching dynamically generated images? I can add a ?wibble=timestamp or something to the images URL, except I imagine I can do it with a HTTP header, last-modified perhaps? Thanks, -- Ian P. Christian ~ http://pookey.co.uk signature.asc Description: OpenPGP digital

[symfony-users] [sfDoctrinePlugin] onDelete: Restrict

2007-07-23 Thread [EMAIL PROTECTED]
Hi! I try to migrate an application from Propel to Doctrine. Currently, I'm facing problems concerning the "onDelete" option. Using propel, I used "onDelete: restrict". sfDoctrine doesn't seem to support this option, does it? Next, I tried to overcome this problem by modifying the "setUp" method

[symfony-users] Re: Doubt - One To One

2007-07-23 Thread Olivier Revollat
use : objects_for_select objects_for_select ($options = array(), $value_method, $text_method = null, $selected = null, $html_options = array()) Accepts a container of objects, the method name to use for the value, and the method name to use for the display. It returns a string of option tags. EXA

[symfony-users] Doubt - One To One

2007-07-23 Thread [EMAIL PROTECTED]
Guyz, I'm have problems with relationships here, look. I haver 2 tables, Todo, TodoPriorities. The Todo store things to do and TodoPriorities, types of priorities for todo. My doubt is how to link to priorities id but showing priority mane in the select box, in the administrator? i will send t

[symfony-users] Re: sfSiteMapPlugin : create the site map of a symfony powered web site ...

2007-07-23 Thread Olivier Revollat
Cool, the plugin is totally fonctionnal but need enhancements in look'n'feel ... don't forget that you can customize the indexSuccess.php in sfSiteMapPlugin\sitemap_module_skelton\module\templates\ in the template ##LINKS## represents the list of module/actions links ... your can add custom HTML t

[symfony-users] Re: sfSiteMapPlugin : create the site map of a symfony powered web site ...

2007-07-23 Thread Stefan Koopmanschap
Thanks, this looks really cool. I'm gonna try this one out when I get home on one of my private projects. :) Stefan On Jul 23, 11:41 am, "Olivier Revollat" <[EMAIL PROTECTED]> wrote: > See : > > http://www.symfony-project.com/forum/index.php/t/7660/#msg_num_6 > > This plugin build a module listi

[symfony-users] One app, multiple (identical schema) databases

2007-07-23 Thread Rob & Megan Forman
Hi, I have written an application that I would like to have connect to an alternate data source depending on a condition. The application is a game that would like to have multiple instances of, such as "trial.thisgame.com" connect to one database while " real.thisgame.com" connects to another (f

[symfony-users] Re: tinymce full options

2007-07-23 Thread Olivier Revollat
http://wiki.moxiecode.com/index.php/TinyMCE:Control_reference does that help you ? 2007/7/22, Greg Freeman <[EMAIL PROTECTED]>: > > > How do you get all of tinymce's options to display using the textarea > tag helper? > > > > > --~--~-~--~~~---~--~~ You received t

[symfony-users] sfSiteMapPlugin : create the site map of a symfony powered web site ...

2007-07-23 Thread Olivier Revollat
See : http://www.symfony-project.com/forum/index.php/t/7660/#msg_num_6 This plugin build a module listing all the links of a given application ... Things to do : * Ability to exclude module directories or actions from a list or a regular expression (given in config file) * Store links labels in

[symfony-users] Re: translated strings in yml file

2007-07-23 Thread Nicolas Perriault
Roel Vanhout wrote: > PS on a technical note: does anyone know of a way to pretty-print > (indent) xml files generated with php's SimpleXML or do I have to rely > on the tidy extension being available in php? You can import your xml string in a DOMDocument object and set the formatOutput proper

[symfony-users] translated strings in yml file

2007-07-23 Thread Roel Vanhout
Hi, I have given up on trying to maintain several messages.XX.xml XLIFF files, as they got out of sync very easily (wrt the id numbering) and the i18n-extract task doesn't fix those issues (re-syncing the id's and strings to be translated). Also, having the 'source' string duplicated in every mes