Limiting Data Read

2010-08-10 Thread Olwen Williams
I'm working on a survey app: Models Survey, Question, ResponseOption, Response, QuestionResponse One side is that Survey has several Questions, and Question may have several ResponseOptions (these are multichoice or a number of check boxes) These other side is that a Survey has many Responses,

CMS for pages controller

2009-10-06 Thread Olwen Williams
I have an older install of cakePHP with some static pages. I'd like to replace the pages controller with a very simple cms. I looked through the forger and could not find what I wanted (signs of senility I expect). Can someone point me to something?

Re: Session problems Ajax -- help!!

2007-04-16 Thread Olwen Williams
In fact it the REAL reason was that my setup was not configured right --- oh dear. On 16/04/07, Olwen Williams [EMAIL PROTECTED] wrote: In the end I think my session problems were nothing to do with Ajax. It was an ordinary link in my HTML that was causing the cookie to vanish -- Don't ask me

Session problems Ajax -- help!!

2007-04-15 Thread Olwen Williams
I've posted before about problems with sessions, and may have found a link to Ajax (but not a solution). I'm trying to use Ajax.Updater to load a view into part of a page, and it seems to not know about session data. If I call the view as a page it retains the session data. Has anyone else

Re: Session problems Ajax -- help!!

2007-04-15 Thread Olwen Williams
perhaps pass the session id as part of the parameters i.e. instead of /client/edit/1 perhaps client/edit//1 where is the session id Has anyone tried anything similar? On 15/04/07, Olwen Williams [EMAIL PROTECTED] wrote: I've posted before about problems with sessions, and may have found

Re: Using Cake model in a non-cake site.

2007-04-15 Thread Olwen Williams
What if you had an HTML server side include that included a bare cake view? On 16/04/07, Leandro Lucarella [EMAIL PROTECTED] wrote: Hi! I'm having some problems integrating a Cake apllication that acts as an administration panel and cuasi-static site. This site is done by a web designer in

Re: Session problems Ajax -- help!!

2007-04-15 Thread Olwen Williams
In the end I think my session problems were nothing to do with Ajax. It was an ordinary link in my HTML that was causing the cookie to vanish -- Don't ask me why! I replaced it with one using $html-link and it stopped vanishing. On 16/04/07, Olwen Williams [EMAIL PROTECTED] wrote: I realised

Columns in a model

2007-04-10 Thread Olwen Williams
I've looked and can't find it. But is there a function or variable available in a model which know the column names. It's easy enough to find but I don't want to re-invent the wheel. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Sessions

2007-04-04 Thread Olwen Williams
Like other people I have had problems with sessions. I have tried various solutions that have been suggested on the list, and the session id keeps changing (out putting the session id at the end of index.php). It did start working, but has now stopped again. I have not changed (consciously)

Re: Sessions

2007-04-04 Thread Olwen Williams
to test my work, and I don't know what else to try. I have confirmed that sessions seem to be being written. The cookie for the session id exists and it's value keeps changing. On 04/04/07, Olwen Williams [EMAIL PROTECTED] wrote: Like other people I have had problems with sessions. I have tried

Re: How to link the CSS

2007-04-04 Thread Olwen Williams
Images used in css are relative to the the location of the css File On 05/04/07, rtconner [EMAIL PROTECTED] wrote: Same problem here. I still dont know the answer, but putting the images in my css folder works. Anyone have other ideas or practices they use? On Mar 9, 1:55 am, jaideepj

Re: View this page Cake Apps/Sites In The Wild

2007-03-03 Thread Olwen Williams
I added a couple of mine. On 04/03/07, phirschybar [EMAIL PROTECTED] wrote: I started a page to feature Cake apps and sites in the wild. Hoping this will help to garner some more attention on Cake and rally the community. :) Click on

Re: View this page Cake Apps/Sites In The Wild

2007-03-03 Thread Olwen Williams
It's missing a slash. I'll fix it when I can get in. On 04/03/07, phirschybar [EMAIL PROTECTED] wrote: looks like the survey link is broken. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To

Re: View this page Cake Apps/Sites In The Wild

2007-03-03 Thread Olwen Williams
Fixed now. Unfortunately they have not active surveys. Last time I saw it they had two. On 04/03/07, Olwen Williams [EMAIL PROTECTED] wrote: It's missing a slash. I'll fix it when I can get in. On 04/03/07, phirschybar [EMAIL PROTECTED] wrote: looks like the survey link is broken

Outside Session data in Cake

2007-02-26 Thread Olwen Williams
I have an OS Commerce shop and I want to use the session data within a small cake app. I searched the list archives and found this thread, but can't seem to make it work.

mod_gzip

2007-02-19 Thread Olwen Williams
I'm not sure if I'm asking this question in the right place. I have some pages that output a reasonable amount of information. When I run a speed report it tells me that This site is not using HTTP compression, otherwise called content encoding using gzip. Consider compressing your textual

Re: mod_gzip

2007-02-19 Thread Olwen Williams
Sorry, I had searched the bakery, but not the group. It doesn't seem to be working so maybe not available on my host. Looks like I have to see if there are other ways to optimise the site. On 20/02/07, Eric C Blount [EMAIL PROTECTED] wrote: Please search the group before posting. This topic

Re: mod_gzip

2007-02-19 Thread Olwen Williams
it performs. On 20/02/07, Olwen Williams [EMAIL PROTECTED] wrote: Have already put the support ticket in. Thanks very much On 20/02/07, Eric C Blount [EMAIL PROTECTED] wrote: Ask your host. They may be able to turn it on, or they may tell you how to do so. Eric

Re: help with data model in cake

2007-02-11 Thread Olwen Williams
I've uploaded an update of this. On 07/02/07, Olwen Williams [EMAIL PROTECTED] wrote: I've uploaded a preliminary release to http://cakeforge.org/projects/sampler/ In some places such as the public survey page what I did is probably not very proper for CakePHP, but it works well enough

Re: why use jQuery instead of Prototype

2007-02-08 Thread Olwen Williams
I haven't looked at jquery, but have got a site using prototype. I discovered that prototype was (from memory) over 50K which was overkill for what I was doing. Following some instructions I found on the web I cut it down to around 11k (by omitting parts I don't use) On 09/02/07, Mikee Freedom

Re: help with data model in cake

2007-02-06 Thread Olwen Williams
a look, I was going to do some javascript to get my data in a correct format, I can't figure out how to name the fields and get the model relationships right so that cake saves everything automatically. On Feb 5, 9:14 pm, Olwen Williams [EMAIL PROTECTED] wrote: I've just done a survey. I

Re: help with data model in cake

2007-02-05 Thread Olwen Williams
I've just done a survey. I had: Surveys id,description,intro (an extended text), status (planned,running,finished), date started, date finished Questions id,survey_id,question,sequence Answers id,question_id,answer,sequence Responses id,survey_id,email_address Response_answers,

Default Routing for admin

2007-02-01 Thread Olwen Williams
I have an app (it's in in a subdirectory called survey). I would like survey/admin to go to survey/admin/surveys/index I tried creating a route by putting adding this to routes.php $Route-connect ('/admin', array('controller'='surveys', 'action'='admin_index')); and get a message that the

Re: Need freelance help with cakephp project

2006-11-12 Thread Olwen Williams
How much work is involved? I've done some work with cake. On 13/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I need some assistance with a new project based on cakePHP. It is a small web application that must be developed in the new few weeks. Please respond to this post with contact

Re: Auckland Based Bakers

2006-08-18 Thread Olwen Williams
I'm a little way form Auckland -- an Island away. But would be interested in a beer or a vineyard lunch if you ever cross the ditch. On 18/08/06, Mikee Freedom [EMAIL PROTECTED] wrote: Hey all, I'm still new at this but the more I work with it the more I love it. Was wondering if there

Re: ?CAKEPHP=d550b7b78dbfe545d4afeda95d470eaa appended to all urls

2006-08-09 Thread Olwen Williams
Write a little script calling phpinfo to get the settings. Some settings can be altered in the .htaccess file if the host allows it. But look for other causes to0. I was having a problem on my development server with an app I'd downloaded from another site. It turned out that I had extra

Re: running cake code via cron

2006-04-07 Thread Olwen Williams
I do it GET with a very simple layout. My cron job simply runs GET full_url_here /dev/null On 08/04/06, shaunster [EMAIL PROTECTED] wrote: I appologize if this is a simple question but I'm not very familiar with the PHP command line interface. Anyone know how I can exectute CakePHP code