[symfony-users] Re: Website uptime

2008-06-01 Thread Michael Nolan
We use Pingdom. On May 31, 2:06 pm, Tom Haskins-Vaughan <[EMAIL PROTECTED]> wrote: > Hi Guys, > > This is ever so slightly off topic, but I was wondering what people use > to monitor uptime with their websites? > > Tom > -- > Tom Haskins-Vaughan > Temple Street Media: Design and Development for t

[symfony-users] Re: Anyone? Re: plugins and including custom classes in lib

2008-04-12 Thread Michael Nolan
Classes inside plugin lib folders should get autoloaded. Have you cleared the cache? On Apr 12, 2:22 am, James <[EMAIL PROTECTED]> wrote: > Anyone? > > On Apr 11, 2008, at 12:39 PM, James wrote: > > > ok, so I am working on plugin #2 which is a simple picture gallery. > > Nothing overly complica

[symfony-users] Re: Have you heard about Google App Engine?

2008-04-11 Thread Michael Nolan
I'm fully aware of the irony in me using Google's products, but I'm careful to ensure that the risks are minimised. I backup my Google Calendar as iCal files, IMAP Gmail is synced to my local machine. But Google App Engine is, for now, a step too far - you're locked into their APIs - it's not th

[symfony-users] Re: Have you heard about Google App Engine?

2008-04-11 Thread Michael Nolan
No, Google App Engine only supports python. I noticed a petition going round asking for PHP support, but this seems unlikely to happen soon. The architecture also doesn't suit the symfony model in quite the same way as EC2 - it's more a case of you plugging in your components into their architec

[symfony-users] Re: Case insensitive search

2008-04-08 Thread Michael Nolan
This is one of the reasons I dislike Oracle :-) I use something like this: $criteria->add(SchpracNewPeer::J_SCHOOL, "LOWER(J_SCHOOL) LIKE LOWER('% {$school}%')", Criteria::CUSTOM); That does a wildcard search but you could change it to use = Cheers, Mike On Apr 8, 10:11 am, Mladen Gogala <[

[symfony-users] Re: How stable are the javascript/ajax functions

2008-04-01 Thread Michael Nolan
We've used jQuery in the last couple of projects and can thoroughly recommend it. Chuck all your JavaScript into a few cacheable external files and it gets applied. No inline JavaScript at all. Started off using the sfUJSPlugin but it doesn't seem to work well with caching enabled so most of ou

[symfony-users] Re: Environment dependent settings in view.yml

2008-03-30 Thread Michael Nolan
On Mar 30, 3:35 pm, Marijn <[EMAIL PROTECTED]> wrote: > On Mar 30, 2:24 pm, naholyr <[EMAIL PROTECTED]> wrote: > > > How could you need different JS or CSS depending on the environment ? > > Hi naholyr, > > These JavaScript files aren't really "different". As the URL might > have suggested to yo

[symfony-users] Re: Components in plugins?

2008-03-08 Thread Michael Nolan
No different to normal - just ensure that the module is enabled as you would with actions. Mike On Mar 7, 5:13 pm, Eno <[EMAIL PROTECTED]> wrote: > Is it possible to define a component inside the module of a plugin and > then call it from a template in an app? Is there a special way to call > in

[symfony-users] sfModerationPlugin and sfPropelAlternativeSchemaPlugin

2007-12-10 Thread Michael Nolan
I'm making use of both the above plugins and the install instructions both tell me to modify propel.builder.peer.class in propel.ini. Does the peer builder in sfPropelAlternativeSchemaPlugin also fix the bugs solved by sfModerationPlugin? If not, do I have to go back to manually including behavi

[symfony-users] Re: Square Facebook type thumbnail

2007-12-10 Thread Michael Nolan
I hacked apart the sfThumbnailPlugin to allow it to do square thumbnails but the WideImage library that Klemen suggests looks much better! On Dec 10, 4:22 am, Tom Haskins-Vaughan <[EMAIL PROTECTED]> wrote: > Has anybody by any chance created a module that creates a square > thumbnail (like on Fac

[symfony-users] Re: jQuery

2007-12-07 Thread Michael Nolan
On Dec 6, 7:44 pm, Zoltán Németh <[EMAIL PROTECTED]> wrote: > yeah, in that case probably you're right. However in my case, our latest > project is not meant to be usable with JS disabled (actually with JS > disabled you can't even log in the application) - so here this is not a > concern. > I'd

[symfony-users] Re: jQuery

2007-12-06 Thread Michael Nolan
On Dec 6, 11:12 am, Zoltán Németh <[EMAIL PROTECTED]> wrote: > 2007. 12. 6, csütörtök keltezéssel 02.47-kor Michael Nolan ezt írta: > > > Yes, we use jQuery through the sfUJSPlugin. I try to avoid using any > > of the prototype helpers and do the JavaScript manually b

[symfony-users] Re: jQuery

2007-12-06 Thread Michael Nolan
Yes, we use jQuery through the sfUJSPlugin. I try to avoid using any of the prototype helpers and do the JavaScript manually but sfUJSPlugin comes with a replacement JavaScript library which will use jQuery. I don't remember if this does effects but it'd a drop in replacement for Ajax calls. It

[symfony-users] Re: Create a common action in several modules

2007-12-04 Thread Michael Nolan
Create project/lib/myCommonActions.class.php: wrote: > I think it's the good way to do what I want, but I didn't have really > understood how to do exactly. Can you give me an example ? > > Thanks > > Sylvain > > On 4 déc, 15:12, Cece <[EMAIL PROTECTED]> wrote: > > > Hello, > > > All your action

[symfony-users] Re: Admin Generator View action

2007-12-04 Thread Michael Nolan
The default admin generator theme doesn't provide view or separate create and edit actions but there's a plugin which claims to: http://trac.symfony-project.com/wiki/sfAdvancedAdminGeneratorPlugin Mike On Dec 4, 10:15 am, Greg Freeman <[EMAIL PROTECTED]> wrote: > Does the admin generator have a

[symfony-users] Re: Picture field?

2007-11-11 Thread Michael Nolan
Not used it myself but this plugin might help provide some of the functionality you're looking for: http://trac.symfony-project.com/wiki/sfPropelFileStoragePlugin Mike On Nov 10, 11:35 am, "Sid Bachtiar" <[EMAIL PROTECTED]> wrote: > Hi all, > > Is there a standard/easy way (e.g.: plugin may be?

[symfony-users] Re: Bypass routing for certain URLs?

2007-06-21 Thread Michael Nolan
I think something like: RewriteCond %{REQUEST_URI} !^/js Should do the trick. But the default rules exclude matching files so unless you're adding extra mod_rewrite rules then that should be enough. On Jun 21, 8:19 pm, Eno <[EMAIL PROTECTED]> wrote: > What do I need to put in my .htaccess f

[symfony-users] Re: ajax security

2007-06-08 Thread Michael Nolan
Ajax actions have the same security settings as any other actions so treat it in exactly the same way. To allow applications to degrade gracefully I normally try to write normal actions (links, form submissions) first and build the Ajax on top - this will be even easier for my next project as we'

[symfony-users] Re: Database Architecture Questions

2007-05-19 Thread Michael Nolan
On May 19, 2:06 am, Karl Timmermann <[EMAIL PROTECTED]> wrote: > > I was about to answer you, when more questions arrived. It looks > > now for me > > that you are better of thinking on your own first. You list a lot > > of valid > > things, but they are already so detailed that you should be able

[symfony-users] Re: Same session for All subdomains

2007-05-03 Thread Michael Nolan
Try in your factories.yml: all: storage: class: sfSessionStorage param: session_cookie_domain: example.com Mike On May 3, 9:26 am, "Muhammad Asif Ali" <[EMAIL PROTECTED]> wrote: > Hi All, > I am using wild card DNS. every register user will > get his o

[symfony-users] Re: Changing layout dynamically

2007-04-30 Thread Michael Nolan
$this->setLayout('new_layout'); Mike On Apr 27, 8:45 pm, Jony dos Santos Kostetzer <[EMAIL PROTECTED]> wrote: > Hi folks, > > Is there any way to change the layout dynamically (from inside an action)? > > Thanks! > > -- > Jony dos Santos Kostetzer > | Zend Certified Engineer - PHP > | Linux user

[symfony-users] Re: Suggestion on Accelerators

2007-04-18 Thread Michael Nolan
On Apr 17, 6:29 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > So my conlusion is: symfony needs a bytecode cacher. But i never would > say that one particular is the best. I would guess that for most people it wouldn't matter much *which* cache you use, just that you use one! It's the lon

[symfony-users] Re: Suggestion on Accelerators

2007-04-17 Thread Michael Nolan
On Apr 17, 12:41 pm, "Muhammad Asif Ali" <[EMAIL PROTECTED]> wrote: > Hi All > > i have uploaded my project on the server and i found that it > takes a lot of time to load the pages. i have tried to optimize the code and > other things. > now i want to go for any Accelerator o

[symfony-users] Re: Re : [symfony-users] What if there were ... SymfonyCamp?

2007-04-12 Thread Michael Nolan
On Apr 12, 6:59 pm, "rob ganly" <[EMAIL PROTECTED]> wrote: > i take it the lessons would be in english (as you norwegians are great > at english and most of us here are sadly unilingual! Speak for yourself "Une bière s'il vous plait" "Ich moechte eine Bier, bitte" "Noch mal eine Bier, bitt

[symfony-users] Re: What if there were ... SymfonyCamp?

2007-04-11 Thread Michael Nolan
On Apr 11, 1:08 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > - Would you be interested in SymfonyCamp? Definitely interested. > - Which period would be perfect for this ( within july/august/ > september range probably)? UK "school holidays" are late July and the whole of August so out

[symfony-users] Re: Enable cache?

2007-04-03 Thread Michael Nolan
Is symfony able to write to the cache folder? $ symfony fix-perms On Apr 3, 1:59 pm, "Eno" <[EMAIL PROTECTED]> wrote: > I switched on caching in settings.yml for the dev environment. > Furthermore, I switched in on in the app's cache.yml. Even though the > template directory is created under t

[symfony-users] Re: Routing question

2007-04-03 Thread Michael Nolan
Most DNS servers support wildcard DNS and Apache can be configured to match on a wildcard too. Matt of of WordPress has a blog post about the subject: http://photomatt.net/2003/10/10/wildcard-dns-and-sub-domains/ It's probably better to set up the wildcard rather than adding DNS records on the

[symfony-users] Re: Routing Question

2007-04-01 Thread Michael Nolan
The two issues I see are the routing patterns and determining what should fit into the pattern. First you need to know if your last page slug is unique - making it unique makes things easier as you can effectively ignore all other arguments but it means you can't repeat stripped_titles/slugs/what

[symfony-users] Re: Resource

2007-04-01 Thread Michael Nolan
GotAPI provides searching of the API: http://www.gotapi.com/ Mike On Mar 31, 6:26 am, Kiril Angov <[EMAIL PROTECTED]> wrote: > I found something very useful when developing in symfony and thought I > can share with the community. Many times I need the API of some function > or forgot the name

[symfony-users] Re: Multiple databases for one model

2007-03-19 Thread Michael Nolan
Which database server are you using? Wouldn't it be better to do this kind of thing at that level rather than in symfony, eg round robin DNS. On Mar 19, 9:10 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > How can one use several databases with only one model? Imagine a > replicated server,

[symfony-users] Re: how to retain the values of checkbox, dropdownlist of a form

2007-03-16 Thread Michael Nolan
Have you looked at the book? http://www.symfony-project.com/book/trunk/10-Forms#Repopulating%20the%20Form Gives details of how to fillin form data. On Mar 16, 8:50 am, "priya priya" <[EMAIL PROTECTED]> wrote: > hi > > I have a registration form and after validating I know how to display errors

[symfony-users] sfSmiliesPlugin and sfSIFRPlugin

2007-03-13 Thread Michael Nolan
Hi All, I've released my first two plugins for symfony over the last couple of days. They're both fairly basic - sfSmiliesPlugin provides a helper to convert text to smilies while sfSIFRPlugin is a filter wrapper for the sIFR flash text replacement library. You can see them in action at our lat

[symfony-users] Re: how to stop symfony thinking it knows best....

2007-03-09 Thread Michael Nolan
On Mar 9, 6:13 am, Lukas Kahwe Smith <[EMAIL PROTECTED]> wrote: > Ian P. Christian wrote: > > Michael Nolan wrote: > >> Or if you supply an absolute URL it won't add .js > > > Can I have some feedback as to whether this feature is considered > > useful?

[symfony-users] Re: how to stop symfony thinking it knows best....

2007-03-08 Thread Michael Nolan
Or if you supply an absolute URL it won't add .js On Mar 8, 11:51 pm, "Michael Nolan" <[EMAIL PROTECTED]> wrote: > Not directly - _compute_public_path() will add .js if there isn't a > period in the path basename. You could change your routing rule to > add th

[symfony-users] Re: how to stop symfony thinking it knows best....

2007-03-08 Thread Michael Nolan
Not directly - _compute_public_path() will add .js if there isn't a period in the path basename. You could change your routing rule to add the extension in. Mike On Mar 8, 7:55 pm, "Ian P. Christian" <[EMAIL PROTECTED]> wrote: > I have this in my view.yml > > javascripts:[dojo/dojo.js,