View this page Cake Apps/Sites In The Wild

2007-09-09 Thread ski.nalicio.us
This is my first site employing Cake. It has been up and running for a few months; although it is still in it's infancy I have plans to expand the functionality both front and back. Click on http://groups.google.com/group/cake-php/web/cake-apps-sites-in-the-wild - or copy paste it into your

Hiding direct access to views

2007-03-16 Thread ski.nalicio.us
I have build a series of forms that could be termed as a wizard of sorts. Using AJAX calls the user is directed onto view after view, each containing a form. Can anyone suggest a way of preventing direct access to the proceeding views? I am writing values to the session for each step so I can

Re: Hiding direct access to views

2007-03-16 Thread ski.nalicio.us
OK, I currently have this in the relevant controller method: if ($this-Session-read('user_id') == NULL) $this-redirect('/'); The problem here is if they have already created a session (in the manner I want them too), the required values are stored there and so they can then get a direct hit on

Re: Code coloring ctp files in Dreamweaver 8 [Like php file]

2007-03-16 Thread ski.nalicio.us
Excellent, thanks for this. I had .thtml files editable by DW but with no code highlighting. This makes coding views a lot more pleasant. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to

CakeTimer/Ajax uploader

2007-01-27 Thread ski.nalicio.us
hints would be much appreciated. :o) Thanks, ski.nalicio.us --~--~-~--~~~---~--~~ 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 unsubscribe from this group

Re: CakeTimer/Ajax uploader

2007-01-27 Thread ski.nalicio.us
! So maybe it is the format of the data the script is receiving; but hey I'm just guessing and even then I am not sure how to remedy the problem! Has anyone successfully implemented this script? Thanks, ski.nalicio.us

Re: SMS with Cake

2006-12-11 Thread ski.nalicio.us
to send and recieve via POST. It is actually quite simple to implement. https://www.esendex.com/support/sms-api-http-form-post.aspx ski.nalicio.us --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group

Re: Convincing my company to use Cake

2006-10-18 Thread ski.nalicio.us
for them. Theres no point them messing with the Cake files as nothing could be acheived by doing so; if they do just charge them for refreshing the Cake libraries. :o) ski.nalicio.us --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: AJAX not woking in IE

2006-10-07 Thread ski.nalicio.us
I have been playing with AJAX/scriptaculous in cakePHP and havent had any problems with IE or FireFox. Have you tried the script you are working on in another browser (e.g. FireFox)? If you have and it worked in the other browser, check that your installation of IE has Javascript enabled.

Re: Additional query required - best cake methods

2006-10-03 Thread ski.nalicio.us
OK, I got it. My field 'order' was renamed to 'menuorder' and it now works. I was using a reserved word for a column! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send

FCK editor integration

2006-10-03 Thread ski.nalicio.us
Hi again. I have been following the tutorial on FCJeditor integration found here: http://wiki.cakephp.org/tutorials:online_editor-fckeditor I have got it to work on the 'add' view but not on the 'edit' view! This is because I can work out how to pass the value across to display in the editor

Re: Is this normal behaviour?

2006-10-03 Thread ski.nalicio.us
I think the HTML helpers are loaded by default. However other helpers have to be called/loaded per controller as a way of letting the developer introduce specific helpers as required. I guess this helps the developer to optimise their applications; reducing page loads times/server load etc.

Re: FCK editor integration

2006-10-03 Thread ski.nalicio.us
Of course, thanks andru. It is working perfectly now. :o) --~--~-~--~~~---~--~~ 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 unsubscribe from this

Additional query required - best cake methods

2006-10-02 Thread ski.nalicio.us
Hi, I am creating a document authoring application which exports the contents to external XML files for distribution. The parent document DB table has an 'order' field allowing authors to specify what order the documents should be presented in prior to exporting. When a parent document is

Using helpers

2006-10-02 Thread ski.nalicio.us
I wanted to use the TimeHelper in my views; however they are not defined ($time-niceShort($mydate, false))! How do I add the TimeHelper (and others) to my controller's $helpers to ensure it is available in my views? The $html helper appears to be available by default! Thanks in advance for any

Re: Using helpers

2006-10-02 Thread ski.nalicio.us
OK, I found what I was looking for here, sorry: http://manual.cakephp.org/chapter/helpers http://wiki.cakephp.org/docs:helpers --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group,

Re: Additional query required - best cake methods

2006-10-02 Thread ski.nalicio.us
Thanks for the help AD7six. My add method in my controller now looks like this: http://www.cakephp.org/pastes/show/2a9169ed4fb15bc60e17dcda415ff4f9 I am not getting an errors but the value isnt being passed across to the DB. I am not sure if I am assigning the value correctly on line 2! Any

Re: Additional query required - best cake methods

2006-10-02 Thread ski.nalicio.us
Hi again, http://www.cakephp.org/pastes/show/b0301278a5d2c37e7e84874fcfcf102f I am now targeting the correct container but am not sure I am searching the correct object for information i need. --~--~-~--~~~---~--~~ You received this message because you are