Strange HTML rendering

2008-09-01 Thread GuyBowden
Hi, I'm having a strange HTML rendering issue on a certain server. Sometimes it renders out html code to the browser window. See here: http://www.itsnotallwork.com/Picture%204.png The source code is spot on it just sometimes renders out some of the source (different bits each time - 50% of the

using obAuth to add ownership to created / edited records

2008-01-07 Thread GuyBowden
Hi, I'm using v1.2 and would like to create a Model behavior that adds an "owner_id" to a record when it gets created. So if I've logged in via othAuth the "owner_id" of any records I create is automatically set to the current user.id. Only problem is accessing obAuth's current user data - is th

more routing + admin routing questions...

2007-01-28 Thread GuyBowden
Hi, I have a current site that the content and parts of the layout are controlled by a database table. As such I only really need one action inside one controller to run the site - the parameters that get passed in the url define which content to display... i.e. mysite.com/mainpage/subpage

sanitize paranoid to clean up html

2007-01-05 Thread GuyBowden
Hi, I'd like to use the sanitize->paranoid method to clean up all input from my app forms... I have created a whitelist array containing allow arrays for each of my inputs - if an input has no matching key in my array then it will sanitize with nothing allowed - so keeping things nice and tight