Re: Session not cleared after browser closed

2007-07-23 Thread Tazz
Further, if I close the browserand wait a few minutes until the sessions ends then it clears. How do i check if I'm using persistent session? Cause I know if you close the browser completly the session should end! On Jul 23, 4:07 pm, Tazz <[EMAIL PROTECTED]> wrote: > I'm u

Re: Session not cleared after browser closed

2007-07-23 Thread Tazz
I'm using cakes built in Session helper... On Jul 23, 3:14 pm, starkey <[EMAIL PROTECTED]> wrote: > Quick stab: are you using a persistent cookie to save the session id? > > On Jul 23, 1:15 pm, Tazz <[EMAIL PROTECTED]> wrote: > > > Correct me if I'm wron

Session not cleared after browser closed

2007-07-23 Thread Tazz
Correct me if I'm wrong but a sessions should be cleared after all instances of a browser have been closed. For some reason cake is still keeping the session after I close all my browsers and restart it. To see what I mean, go to: http://www.inbeatstore.com/ - Click Add to order on a few items.

Using activity indicator with pagination component.

2007-07-19 Thread Tazz
Hi, I implemented the pagination component and got it working with AJAX. Now I want to add an activity indicator when I click the next and previous links. Anyone done this? On a side note this is the site I'm currently working on and using Cake PHP. http://www.inbeatstore.com/ Thanks --~--~

Session issue.

2007-05-16 Thread Tazz
Not sure this is a Cake issue. I'm using dAuth component to protect my admin pages and the users of my application have complained that they randomly get kicked out within seconds of loging in. I have experienced this issue as well. Login click on a link or tow and then bam login page. I also exp

Set the MIME type for output

2007-03-14 Thread Tazz
Hi, I want to create a view that will output a csv file so i need to set it's mime type when rendering the page so the browser can detect the file as coma delimitted... How would I do so? Thanks --~--~-~--~~~---~--~~ You received this message because you are sub

Showcase: inbeatstore.com using Cake.

2007-02-24 Thread Tazz
Who ever is interested. I completed my first site using cake. It's for a local record store here in Montreal. www.inbeatstore.com Cake Version: 1.1.13.4450 Additional Components: - ob_Auth for login to administration panel. - Pagination from paging through "news letters" and record releases. -

Re: How to validate a custom form?

2007-02-07 Thread Tazz
Well bassically I have a form that submits to an action in my controller which sends out an e-mail... I'm not saving to a model. So their's no automatic validation there... On Feb 7, 5:00 am, "Steniskis" <[EMAIL PROTECTED]> wrote: > Hi Tazz, > Your ques

How to validate a custom form?

2007-02-07 Thread Tazz
I have a form I would liek to validate which does not save to a model... How would I go about it? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-

E-mail validation regular expressions.

2007-02-05 Thread Tazz
Trying to use the reg express: http://regexlib.com/Search.aspx?k=email By Philippe Benthien and I get: Parse error: syntax error, unexpected '|', expecting ')' in /usr/home/ads/www/cake/inbeat/models/mailing_list.php on line 8 Either the expression is to long. Or cake doesn't understand these ty

d_auth register always enetring same password?

2007-01-30 Thread Tazz
I just installed d_auth.. it seem to work fine for the registration, but when I try to login I can't seem to! i went and chedk the users table in the dn and the password hashes all look identical. So it doesn't seem to work... ++-+---+--

Multiple association to the same model.

2007-01-17 Thread Tazz
If anyone has been following my posts. I have been building a "newsletter" for a record shop. A break down of the models... Releases: New record coming to the store. Style: The type of music on the release. Each release can have 1 to 5 styles. I was thinking of creating my Releases model as fo

Multiple associations for same model.

2007-01-17 Thread Tazz
One more think my record shop... Each release may have multiple styles of music. I wan' t to create the following columns on my release table: Style1, Style2, Style3 And then create the proper associations. Do you guys recommend another way? Although I prefer the above to make the data entry e

Re: Using conditions with recursive find

2007-01-16 Thread Tazz
Yep I got it working with bind/unbind. Defining all the associations in the model before hand is nice "clean", but inefficient on the find since it will return all data for all associations. It would be interesting to be able to define a few associations in the model and be able to pass the asso

Grouping data?

2007-01-16 Thread Tazz
Can you pass the GROUP BY inside the $conditions field of an association? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To

Using conditions with recursive find

2007-01-15 Thread Tazz
Quick description of the domain/model... Working on a newsletter for a record shop... Models: Newsletter, Releases, Formats - Newsletter hasMany Releases - Released belongsTo Formats So basically a newsletter will display the new releases for the week and each release has a format such as: CD

Source of the bakery?

2007-01-08 Thread Tazz
Maybe this has been said before... Since the bakery is a complete application done in cake, it would be nice to release it's code as sample... Or I'm I missing something? :p --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

I get a session warning. Any ideas?

2007-01-08 Thread Tazz
I get the below warnings when in debug mode 2... Is there any reason? Should I even worry about it? Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /usr/home/ads/www/cake/inbeat/controllers/components/pagination.php:

Re: Model associations and cascading delete.

2007-01-05 Thread Tazz
Yes, I meant the constraints as they appear in the SQL table definition. You pretty much answered my question. I use MYSQL... My model is ass follows... 1 Newsletter has many Releases (Albums) 1 Release (Album) has many songs. When I delete a newsletter I want it to delete all associated albu

Model associations and cascading delete.

2007-01-04 Thread Tazz
Does Cake do all the work? Or do I also have to setup the constrains in my database? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegro

Re: How to use dauth.

2006-12-29 Thread Tazz
Ok cool! I supose... if(!user) redirect(to some page) or flash; Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubs

How to use dauth.

2006-12-28 Thread Tazz
Apart the tutorial on the bakery which demonstrates how to install the component how do you use it to restrict access to some controllers and views? Bassically I'm creating a simple app that requires a one user login. I just want to make sure that user is loged in before they can access certain

Re: Opinion: Best way to create data entry form

2006-12-26 Thread Tazz
Is there any more info on this component? For instamce can I do a cycle back? To keep adding until finished? stab wrote: http://cakeforge.org/snippet/download.php?type=snippet&id=158 might be a start On Dec 27, 2:08 am, "Tazz" <[EMAIL PROTECTED]> wrote: > First I wil

Opinion: Best way to create data entry form

2006-12-26 Thread Tazz
First I will describe my model and then present the way I see to create the data entry. I'm looking for a user friendly solution. I'm building an application for a record store so they can send out a weekly newsletter. The newsletter can have a blog entry and multiple record albums. Each record

Re: (Error rendering Element: pagination). What could it be?

2006-12-20 Thread Tazz
Never mind figured it out! Tazz wrote: The component is working fine. I passed around different limits and pages and the right data is displaying. Just that the pages wont render... --~--~-~--~~~---~--~~ You received this message because you are subscribed to

(Error rendering Element: pagination). What could it be?

2006-12-20 Thread Tazz
The component is working fine. I passed around different limits and pages and the right data is displaying. Just that the pages wont render... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To po

Re: How do i change default home page?

2006-12-19 Thread Tazz
er, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! -Mensaje original- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de Tazz Enviado el: MiƩrcoles, 20 de Diciembre de 2006 02:31 a.m. Para: Cake PHP Asunto: Re: How

Re: How do i change default home page?

2006-12-19 Thread Tazz
you can use your models there and stuff. PS: I called the controller Homes instead of Home because as per CakePHP recommendations controllers are to be plural. -MI --- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your kno

Re: How do i change default home page?

2006-12-19 Thread Tazz
--- Remember, smart coders answer ten questions for every question they ask. So be smart, be cool, and share your knowledge. BAKE ON! -Mensaje original- De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre de Tazz Enviado el: Lunes, 18 de Diciembre de 200

How do i change default home page?

2006-12-17 Thread Tazz
Please confirm if this is the right thing to do... On my front page I want to show data from various models! Obviously, the default home page created by the bake.php script is just a static page... I was thinking the folliwng... Create a control called home, that controller will fill in the da

Re: Good example for associations?

2006-12-14 Thread Tazz
John David Anderson (_psychic_) wrote: > On Dec 14, 2006, at 11:46 AM, Tazz wrote: > > > > > Is there any tutorials out there explaining how to use associations? > > > > I'm trying to do it strictly from the maual and I can't seem to get it > > to

Good example for associations?

2006-12-14 Thread Tazz
Is there any tutorials out there explaining how to use associations? I'm trying to do it strictly from the maual and I can't seem to get it to work... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" gro

Understanding model associations and the view.

2006-12-13 Thread Tazz
I started going through the tutorials and everything is fine. I can enter data in the databse and display it. Now I would like to create an association and display it. But I get the following erro in my view: Warning: Invalid argument supplied for foreach() in /www/docs/ads.infected-rhythms.com/i