Re: v1.3 App::Objects not finding controllers in app/controllers/subfolders

2010-05-04 Thread Sam Sherlock
@matthew have a loook at the following Mark Story's acl extras plugin Thatcode's permissiable plugin - S On 4 May 2010 19:59, Matthew ghostofagoodth...@gmail.com wrote: Wow a lot of conflict in here. I am pretty new with Cake, I had a test site up with 1.2 and have recently moved to 1.3

Re: Implementing uploadify - File upload issue - param definitions issue

2010-05-03 Thread Sam Sherlock
that implementation. On Apr 9, 1:10 am, Sam Sherlock sam.sherl...@gmail.com wrote: I saw Fonzie was making progress with uploadify (having a discussion with himself on this list as I recall - but productive 1) he documented his progress on uploadify forum - I also tried his findings

Re: Implementing uploadify - File upload issue - param definitions issue

2010-05-03 Thread Sam Sherlock
Hi Miles, have you tried to use your uploader with uploadify or swfupload? @abocanegra I mean that the user is logged in through auth. I think that the follow up requests that uploadify uses to check success of queued items are passed with out Session ID (appened to query string) and so the

Re: Implementing uploadify - File upload issue - param definitions issue

2010-05-03 Thread Sam Sherlock
home. On May 3, 1:03 pm, Sam Sherlock sam.sherl...@gmail.com wrote: Hi Miles, have you tried to use your uploader with uploadify or swfupload? @abocanegra I mean that the user is logged in through auth. I think that the follow up requests that uploadify uses to check success

Re: Newbie problem with 15 minute blog in Cake 1.3

2010-05-02 Thread Sam Sherlock
you can access it $this-params['named']['id'] your view action may take it as argument (in controller) .. function view($id) { ... } .. You can alter posts routes should you want to use slugs rather than ids with Syrup.Sluggable (syrup is a cake plugin that has a few behaviours) - S

Re: DebugKit

2010-05-01 Thread Sam Sherlock
have you got debug set to 2, thats when cake outputs sql and log file output in the log tab see whats in prev-requests too it helps keep external protein in place (less nail biting moments and far fewer hail pulling moments also) not to mention Matt Curry's interactive - so you can

Re: Webpage not finding webroot

2010-05-01 Thread Sam Sherlock
I think this is due to serving from IIS http://bakery.cakephp.org/articles/view/clean-urls-with-isapi-rewrite-on-iis http://bakery.cakephp.org/articles/view/cakephp-on-iishttp://bakery.cakephp.org/articles/view/clean-urls-with-isapi-rewrite-on-iis http://book.cakephp.org/comments/37 On 1 May

Re: Webpage not finding webroot

2010-05-01 Thread Sam Sherlock
in those links from people who are using cake IIS in the config/core.php file you can set cake internal url rewrite as an alternative - S On 1 May 2010 19:51, Andrei Mita andrei.m...@gmail.com wrote: mod_rewrite is on? On Sat, May 1, 2010 at 9:23 PM, Sam Sherlock sam.sherl

Re: Webpage not finding webroot

2010-05-01 Thread Sam Sherlock
working, or 2) how to get to my admin area, that'd be great! Thanks! Sharon On 1 May, 20:26, Sam Sherlock sam.sherl...@gmail.com wrote: mod rwite is not working on the server or is not set correctly http://www.softwaresolutionsni.co.uk/newSite/pages/11- error 404 I don't use IIS

Re: Writing files

2010-04-30 Thread Sam Sherlock
Use APP file_put_contents(APP . 'reports' .DS .$file, $contents); - S On 30 April 2010 16:54, Jeremy Burns jeremybu...@me.com wrote: file_put_contents('/app/reports/filename.txt', $content) Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP

Re: Writing files

2010-04-30 Thread Sam Sherlock
look in cake/core/paths.php for more a whole bunch of defined paths exist WWW_ROOT ROOT WEBROOT TMP etc enjoy - S On 30 April 2010 17:14, Jeremy Burns jeremybu...@me.com wrote: Like a dream - thank you Sam. Jeremy Burns jeremybu...@me.com jeremybu...@mac.com (Skype) +44 208 123 3822

Re: Plugins in 1.3

2010-04-29 Thread Sam Sherlock
1) with plugins in 1.3 you have to rename the folder vendors = webroot. see the migration guide 2) not sure - what do the logs show? might be routes. might be that your using some code that has been depreciated in 1.3 - S On 29 April 2010 09:35, #2Will willjbar...@gmail.com wrote: Hi,

Re: How to make a search form with Cakephp

2010-04-29 Thread Sam Sherlock
you need logic to make the form function this is quite old - may require code to be updated http://bakery.cakephp.org/articles/view/sphinx-behavior I found this whilst searching for that (above) - not sure how finished it is the readme is blank

Re: 1.3 Session issue

2010-04-29 Thread Sam Sherlock
Have you got the code doubled?? within the app controller? - S On 29 April 2010 20:16, Jørn superdup...@gmail.com wrote: Hi, i'm having trouble getting sessions to work in 1.3. I've understodd that I need to load the component and helper manually in the AppController. However I get

Re: plz help me out

2010-04-28 Thread Sam Sherlock
Read though the cakephp book - book.cakephp.org do the blog tutorial (a few times) search the google group (your question may well have been asked and answered before) google is a great suorce of much of the information you require eg google migrating to cakephp I know there are articles with

Re: Release: CakePHP 1.3.0

2010-04-26 Thread Sam Sherlock
loads of great stuff and exciting new prospects @Christian I found it to be a breeze using the migration guide I was able to zip though my app finding things detailed in the guide and make changes http://book.cakephp.org/view/1561/Migrating-from-CakePHP-1-2-to-1-3

Re: Plugin and css links

2010-04-26 Thread Sam Sherlock
replace {PluginName} with your plugin name :) background: url({PluginName}/img/bg.gif); or background: url(../img/bg.gif); plugin webroots serve files from example.com/{PluginName}/(css|js|img)/ you can speed up the serving of these files by copying them from the plugin webroot dir into a

Re: Where to draw the line?

2010-04-23 Thread Sam Sherlock
@Ed which is quick and easier to make changes to? a) a mixture of mainly html tags and a scattering of php vars with occasional conditionals? b) using cake's html helper to make the same page my editor color codes HTML in my cake views. it turned out to be quite the project to code the entire

Re: NewBie Help Creating a simple Cake Blog, Return 404 Error

2010-04-22 Thread Sam Sherlock
In config/core.php near the top of the file you can find instructions for making cake work using its own internal rewrite. but its worth trying the ,htaccess again like this RewriteBase is used once per .htaccess Here are the blog/webroot/.htaccess IfModule mod_rewrite.c RewriteEngine On

Re: Where to draw the line?

2010-04-22 Thread Sam Sherlock
I think its a question of clarity and ease to create maintain views - S On 22 April 2010 09:47, Ed Propsner crotchf...@gmail.com wrote: I'm with ya' on consistency and jumping in and out of php. The document seems to have a better flow and feel to it now that's it more uniform. If anything

Re: NewBie Help Creating a simple Cake Blog, Return 404 Error

2010-04-21 Thread Sam Sherlock
does it return a cake error 404 or an apache gen error 404? what code do you add after baking. Bake should generate all you need to be able to add, edit,delete and view posts - S On 21 April 2010 16:25, netpumber r00f...@gmail.com wrote: So the debug as you can see is already in 2.

Re: NewBie Help Creating a simple Cake Blog, Return 404 Error

2010-04-21 Thread Sam Sherlock
and you have mod rewrite enable in apache - this seems to me that things prior to cake not functioning ie mod_rewrite when you have baked and you go to http://mydomain.com is the page displayed ok - is the css applied - or is this file error 404 too is http://mydomain.com/css/cake.generic.css

Re: is it advisable to use jquery on cakephp?

2010-04-21 Thread Sam Sherlock
I use jquery + cake all the time and often feel that they were made for each other :) no helpers, I feel the same as Miles J in cake1.3 I plan to carry on as before and make some use of the engines too. but just Jacmoe says it depends on the task - S On 21 April 2010 16:30, jacmoe

Re: NewBie Help Creating a simple Cake Blog, Return 404 Error

2010-04-20 Thread Sam Sherlock
in config/core.php set debug to 2 - nothing leaps out as the cause and if you have bake set up why not bake all your MVC - less prone to typo error also since the cake google group is so active and cake qa is set up I think your better off using those official resources - S On 20 April 2010

refining search results

2010-04-18 Thread Sam
Hi, I am facing an issue and I need your help. the issue is that I need to make a secondary filter to further refine the search results. The user would give minimal information at the beginning and the application would return the results along with a sidebar containing more detailed attributes

Re: Implementing uploadify - File upload issue - param definitions issue

2010-04-09 Thread Sam Sherlock
I saw Fonzie was making progress with uploadify (having a discussion with himself on this list as I recall - but productive 1) he documented his progress on uploadify forum - I also tried his findings to partially good results - better than swfupload anyway here is the link

Re: Blog to discuss cakePHP issues

2010-04-08 Thread Sam Sherlock
I agree with WebbedIT euromark I have tried IRC (via firefox ext) but had difficulty and ended up feeling a little incompatible with it; not for me but many do get a great deal of benefit from it Blogs are great for publishing tutorials - that is invaluable ; something that we (cake community)

Re: Using Ajax in cakephp

2010-04-07 Thread Sam Sherlock
add onChange to your inputs - this function sends the value of the input to your action your action responds outputting inform - which you then use to display information to the user; indicating if the input is acceptable I would use json - my action would return an array with success (being

Re: Any popular Image Components being used that are better than the rest?

2010-04-07 Thread Sam Sherlock
*or adding phpthumb to vendors and using app::import* that way you have less code in the controller, you can resuse the vendor code elsewhere in your app - S On 7 April 2010 19:55, Adam localmotion...@gmail.com wrote: Hi All, Is there a de facto image component that everyone is using

Re: Page caching ??

2010-04-07 Thread Sam Sherlock
Websites are like automobiles ... do you really want to drive one that works 'most' of the time? only if you don't mind staying where you are :) To be quite honest I'm not even sure how and why I ended up using redirects ... I would have thought that you should redirect when logging in

Re: Page caching ??

2010-04-07 Thread Sam Sherlock
the most sense wouldn't it? Leave it to me to make things needlessly overly complicated :) On Wed, Apr 7, 2010 at 4:38 PM, Sam Sherlock sam.sherl...@gmail.comwrote: Websites are like automobiles ... do you really want to drive one that works 'most' of the time? only if you don't mind staying

Re: Xhtml tag

2010-04-07 Thread Sam Sherlock
If your using 1.3 you can try http://github.com/thatcode/HtmlHelper I have not tried it myself but the decription sounds to be exacly what your after - S On 7 April 2010 23:20, cricket zijn.digi...@gmail.com wrote: On Apr 7, 3:55 pm, Mateusz Kaczanowski kangu...@gmail.com wrote: Hi guys,

Re: Blank page when CakePHP is uploaded to the server

2010-04-07 Thread Sam Sherlock
Have you tried RewriteBase? Hosting support admin are often not very helpful. Host often restrict some stuff - in order to squeeze more accounts on to shared boxes. Also such hosts are prone to making changes and not documenting them for users - I have two such companies in mind here ensuring

Re: Xhtml tag

2010-04-07 Thread Sam Sherlock
...and http://github.com/fabricioferracioli/HTML-Tags-for-CakePHP-HTML-Helper/blob/master/app/views/helpers/html4.php - S On 8 April 2010 00:32, Sam Sherlock sam.sherl...@gmail.com wrote: If your using 1.3 you can try http://github.com/thatcode/HtmlHelper I have not tried it myself

Re: Should I migrate from RC 1.1 to RC 1.2 or 1.3 ????

2010-04-06 Thread Sam Sherlock
Migrating from 1.2 to 1.3 is pretty easy - I found it to be a breeze With 1.3 being so near finished planning to move to that is a good idea - the jump from 1.1 to 1.2 is bigger 1.3 is nice fast and very stable; If your using git to manage your app then you can easily make a branch for 1.3

Re: installing cakephp in a subdirectory

2010-04-05 Thread Sam Sherlock
have you tried adding rewritebase to each successive .htaccess or just the base one. On some hosts I found found it needs to be added to each one. - S On 6 April 2010 04:47, John Mehul johnmeh...@gmail.com wrote: /subdir Check out the new CakePHP Questions site http://cakeqs.org and help

Re: Information History

2010-04-02 Thread Sam Sherlock
if wikipedia contains the information (not sure if it contains inaccuracies) http://en.wikipedia.org/wiki/CakePHP - S On 2 April 2010 02:23, nurvzy nur...@gmail.com wrote: http://cakedc.com/eng/team That might be a good place to start. Nick On Apr 1, 9:42 am, Julian Salas

Re: How to show user's status

2010-04-02 Thread Sam Sherlock
There is this http://bakery.cakephp.org/articles/view/check-member-user-online-or-offline-status plus other stuff on you can find through google - S On 2 April 2010 07:19, Amit Rawat rawatami...@gmail.com wrote: Hello, I have admin page on which i show listing of all user. In front of

Re: Multi-page Surveys

2010-03-30 Thread Sam Sherlock
Sounds like you need the wizard comp http://bakery.cakephp.org/articles/view/wizard-component-1-2-1 http://bakery.cakephp.org/articles/view/wizard-component-1-2-1and some other stuff too - S On 29 March 2010 18:34, Jeff Winifred historyofrelig...@gmail.com wrote: I'm trying to create a

Re: CakePHP 1.3.0-RC3 unleashed

2010-03-30 Thread Sam Sherlock
Congratulations and thanks to Mark and all those who contributed 1.3 is very fast; upgrading is smooth. Baking is a joy I notice that when I bake helper methods are called like this in views: $this-Html-link(...) rather than $html-link(...) though both work; is the former the way helpers

Re: CAKE + FLASH + XML + IMAGES

2010-03-29 Thread Sam Sherlock
Have a look at the base param of your flash object param name=base value=./ or param name=base value=?php echo $html-url('/'); ? which will set the base to an absolute path to your cake webroot depending on where your images are (and your xml too) I assume webroot/ xml/ img/ swf/ so

Re: A link to view page.

2010-03-23 Thread Sam Sherlock
Is this code within a helper? if so $this-Html-link(...); - S On 23 March 2010 10:55, jiru jiransl...@gmail.com wrote: helper already included. var $helpers = array('Html', 'Form', 'Ajax', 'Upload', 'Javascript'); On Mar 23, 3:29 pm, Amit Rawat rawatami...@gmail.com wrote: include the

Re: Bake Screencast not Working?

2010-03-21 Thread Sam Sherlock
a page on cakephp.org *should* display screencasts in addition to slideshare stuff Ideally marking each piece of content with the version it applies to Video content *should* be either onn youtube or vimeo etc - S On 20 March 2010 07:57, Johnny Ferguson hyperfle...@gmail.com wrote: I got

Re: Problem creating elements with BAKE

2010-03-19 Thread Sam Sherlock
from command line I can run the following (which shows the location of my ini file being used): php --ini - S On 19 March 2010 04:47, Zaky Katalan-Ezra procsh...@gmail.com wrote: Maybe you need to install php5-cli Check out the new CakePHP Questions site http://cakeqs.org and help

Re: JSON

2010-03-15 Thread Sam Sherlock
if($this-.params['url']['ext'] != 'xml') { // set error 404 or whatever } // continue with controller action - S On 15 March 2010 17:44, SonnyBurnette schuch...@gmail.com wrote: Is there anyway to limit an action to only JSON or XML? I know there is an isXML() method but how do I

Re: Bake Screencast not Working?

2010-03-14 Thread Sam Sherlock
I had to download the screencasts and viewed them on my ipod I feel that the screencasts should be displayed within flash and have option to download I think quicktime is often problematic - S On 14 March 2010 22:16, mailman nmail...@shaw.ca wrote: Oh, the browsers I'm using are IE7,

Re: Introducing VaM Cart - CakePHP Shopping Cart

2010-03-11 Thread Sam Sherlock
pure plugin http://github.com/ProLoser/CakePHP-Cart I have'nt tried it out yet but mean to. VaM does look good but being able to plug in a cart into an app would be so nice http://github.com/ProLoser/CakePHP-Cart - S On 11 March 2010 15:36, milx jamierm...@googlemail.com wrote: Pah! It uses

Re: city list

2010-03-06 Thread Sam Sherlock
I think $cityList = $this-find('list'); $form-input($cityList); also I think the pluralization of city is cities - S On 6 March 2010 06:06, adeveloper guy adeveloper...@gmail.com wrote: Hi, am a newbie in cakephp and trying to understand how things work. i want to display list of

Re: html entities

2010-02-17 Thread Sam Sherlock
you need to add the option to escape the link and set to false so special chars within the link are NOT escaped http://dlmax.org/2007/04/02/cakephp-12-html-link-with-html-or-image/ http://dlmax.org/2007/04/02/cakephp-12-html-link-with-html-or-image/$html-link($title . $html-tag(span, null,

Re: migrate from 1.2.3 - 1.2.6

2010-02-04 Thread Sam Sherlock
For me upgrading from 1.2.x has been painless following the above steps has worked for me - checking also the API - I have managed this without issue The guides are on lighthouseapp I thnk but perhaps not the older one - S On 4 February 2010 19:18, Alexandru alexandru...@gmail.com wrote: i

Re: which is the actual ACL used today?

2010-01-27 Thread Sam Sherlock
Have you tried Mark Story's two part tutorial http://mark-story.com/nodes/view/auth-and-acl-an-end-to-end-tutorial-pt-1 - S 2010/1/27 Alejo ale...@gmail.com Hi! I want to use some ACL in CakePHP, but I´ve tried with : Authake ( http://conseil-recherche-innovation.net/authake ) and with

Noooooob

2010-01-20 Thread Sam
Hi all, I just started using Cake and so far love it. I have a database background (MSSQL) and only recently started programming php. Here is the situation I'm in. I'm just going through the tutorial and it looks like it's looking for 'User'.'id', however, my Id column is named 'UserId'

Re: Blog Video

2009-12-16 Thread Sam Sherlock
The screencasts can be problematic - embeding quicktime causes issues for me, they should be flv and downloadable mov - IMHO cakephp.org/*screencasts* - S 2009/12/16 crisuwork maran.e...@gmail.com What Blog video? On 13 Dez., 03:41, Dave Porter dave.southpe...@gmail.com wrote: Hi

Re: CakeQs - aka Cake Questions - openID

2009-11-18 Thread Sam Sherlock
cakebaker's *OpenID - just guessing* http://code.42dh.com/openid/ - S 2009/11/18 cakeFreak freakclimb...@gmail.com I just noticed the new CakePHP application http://cakeqs.org/ It seems it has a really well implemented OpenID handling (supporting Yahoo! openid as well - like

Re: Cakephp CMS - - how to prevent html in comment spam?

2009-11-14 Thread Sam Sherlock
Wildflower use an akismet component for this I think that Croogo uses a simular comp too not automatically adding comments makes sense - S 2009/11/14 thankyou gregbo...@gmail.com I have a CMS in cakephp. I'm starting to get significant comment spam for nude pictures, etc. The posters are

Re: Cakephp CMS - - how to prevent html in comment spam?

2009-11-14 Thread Sam Sherlock
and of course strip_tags - S 2009/11/14 Sam Sherlock sam.sherl...@gmail.com Wildflower use an akismet component for this I think that Croogo uses a simular comp too not automatically adding comments makes sense - S 2009/11/14 thankyou gregbo...@gmail.com I have a CMS in cakephp

Re: Where should this code go?

2009-11-13 Thread Sam Sherlock
I think its in two parts a component then with the views the helper and you make these two work in tandem; since these are coupled a plugin with a comp helper might be the way - S 2009/11/13 Jeremy Burns jeremybu...@me.com Yup - I've got that, but the data I want to access is outside of

Re: Good SVN Deployment Plan for CakePHP

2009-10-24 Thread Sam Sherlock
I use git not svn but if you set up cake on your path then your app cake core are in different locations then you can checkout (can't recall correct terminology - whatever updates your copy of cake managed by svn) and your worries are over - S 2009/10/24 JeremyL jeremylue...@gmail.com

Re: Help with advanced setup

2009-10-14 Thread Sam Sherlock
I often have something like (see edit of you previous message): (but I have bake set up and that is worth doing IMHO quite pain free too) -- cake is on the path so cd ~/www cake bake mysite ... bake one /cake /public_html /www /mysite /models

Re: URL issues with CakePHP

2009-10-12 Thread Sam Sherlock
that url looks like it might be wrong to me - can you explain your set up is cake in a subdirectory name cakephp (I assume so but maybe you have a subdir within that called blog) by default CAKE-APP-INSTALL/[controller]/[action]/[ID] index of posts http://...cakephp/posts/ view post with an

Re: What is the standard way to create a new web site?

2009-10-12 Thread Sam Sherlock
Have you read run through the cakephp blog tutorial (I went though the blog tutorial a few times getting started trying variations - its a great learn by example and swift to -- well written I might add) for sure as your new to it check out the irc channel too and the videos tutorials

Re: Layout Help

2009-10-08 Thread Sam Sherlock
You can see Hannibal Lecter's answer to the question on stackoverflow http://stackoverflow.com/questions/1024518/cakephp-block-region http://stackoverflow.com/questions/1024518/cakephp-block-region hth - S 2009/10/8 Dave Maharaj :: WidePixels.com d...@widepixels.com I have 2 layouts crated

Re: JS/CSS automatic concatenation and compression

2009-10-03 Thread Sam Sherlock
Matt Curry Asset Pluginhttp://github.com/mcurry/asset - S 2009/10/3 schneimi michael.schne...@arcor.de Hi, I do this aside from CakePHP, not automatically but with one click in eclipse. This tutorial I wrote might be interesting for you:

Re: executing queries from a .sql file in the console

2009-09-23 Thread Sam Sherlock
I think you want to create a schema http://book.cakephp.org/view/735/Generating-and-using-Schema-files - S 2009/9/23 Stinkbug justink...@gmail.com I'm trying to execute a bunch of sql from a .sql file from the console. I was trying to use the query method inside the Model class, but I keep

Re: Please help - 3rd time trying to post - Why is knownusers from IBM tutorial not working?

2009-08-21 Thread Sam Sherlock
no longer findAll use find('all') http://book.cakephp.org/view/449/find - S 2009/8/21 winegoddess winegodd...@gmail.com Hello, I am not sure why my messages are not getting through. I have a question regarding the IBM tutorial

Re: Trouble integrating SWFUpload with cakephp project

2009-08-05 Thread Sam Sherlock
I had swfupload working in cake1.2 beta but not since then James Fairhurst has this Battles app which uses swfupload http://cakebattles.jamesfairhurst.co.uk/features - S 2009/8/5 Robert mcway_web_des...@cox.net I've been trying to integrate SWFUpload 2.0.2 with my CakePHP 1.2 application,

Re: Trouble integrating SWFUpload with cakephp project

2009-08-05 Thread Sam Sherlock
Also I recall having to fiddle with the security setting - S 2009/8/5 bram brammele...@gmail.com Hi, I'm using the same component in CakePHP 1.2 the latest swfupload version. It's very tricky and there are many places where stuff can break. Make use of firebug to check if all paths can be

Re: Js URL

2009-08-03 Thread Sam Sherlock
the default css does not have have a suffix nor should the js echo $html-css('default'); echo $html-css('custom-theme/jquery-ui-1.7.2.custom'); echo $javascript-link('jquery-1.3.2.min.js'); - S --~--~-~--~~~---~--~~ You received this message

Re: capital letters for models

2009-07-30 Thread Sam Sherlock
in the model var $useTable = 'USER'; http://book.cakephp.org/view/436/useTable - S 2009/7/31 pete123456 lumot...@gmail.com hi, i have database tables with capital letters. is it possible to use them? whenever i try to use USER cake turns it into u_s_e_r. is there a way to avoid that?

Re: what do you use to deploy?

2009-07-13 Thread Sam Sherlock
Yes please Richard! That sounds streamlined efficient. also thanks for pointing that out about the .git folder (though for me this returns missing controller||404 but guess it best to not rely on that) thx - S 2009/7/13 Richard rclay...@gmail.com I use git. git pull. I use an apache htaccess

Re: how to generate xml in cakephp

2009-07-13 Thread Sam Sherlock
In addition to what Pietro suggested I doing the following (the same can be adapted for json rss) parseExtensions for xml in router - Router::parseExtensions() see screen 25 of link of first link check if requested format is xml respondAs Xml (ensure that debug is off; set layout xml you can use

Re: Beginning CakePHP from Novice to Professional book problem: has anyone read this book?

2009-07-12 Thread Sam Sherlock
there is a debugger which you can step in and out. is this true? Thanks, -Armen On Jul 11, 6:33 pm, Sam Sherlock sam.sherl...@gmail.com wrote: That sounds correct; double check the names of files check the server config too. I would try point number 2 though below I included point 1

Re: Beginning CakePHP from Novice to Professional book problem: has anyone read this book?

2009-07-11 Thread Sam Sherlock
Hi Armen, firstly I don;t use the protoype help but go with jquery also I have not read the book you cite. That being said I think I have found you issue or a clue in tracking the cause of problem I have just tried putting a message I get some errors 1. syntax error 2. Event.observe is

Re: Beginning CakePHP from Novice to Professional book problem: has anyone read this book?

2009-07-11 Thread Sam Sherlock
That sounds correct; double check the names of files check the server config too. I would try point number 2 though below I included point 1 since you may prefer or need to get the cake js working. 2 is a more rapid solution given that something odd is happening. Perhaps someone else will have

Re: Future of jQuery in CakePHP?

2009-07-07 Thread Sam Sherlock
This may be of interest to you http://thechaw.com/cakephp/wiki/RFCs/js-structure does'nt have to be specific to jquery though http://thechaw.com/cakephp/wiki/RFCs/Ajax_Helper_rebuild - S 2009/7/7 Mike mike.pan...@gmail.com Hello! I'm starting to play around with jQuery on CakePHP (and

Re: Versioned Routing to a css or js file in webroot

2009-06-21 Thread Sam Sherlock
I would forget the versioned folder method and go with Matt Currys Asset Plugin - turning on timestamp checking. this way when you update any item in the array of files past to html-css or (js to the javascript helper) a new compressed single file is made in cjs ccss. Matt has samples of the

Re: Cakephp + Mootools Request.HTML

2009-06-10 Thread Sam Sherlock
of a certain project? Alec On Jun 10, 12:22 pm, Sam Sherlock sam.sherl...@gmail.com wrote: this-action is good for this. I find it useful setting a js var in a script block and then in my main script eg common.js I use this var - also this controller - S 2009/6/10 eiji animere...@gmail.com

Re: LiveZilla CakePHP

2009-06-10 Thread Sam Sherlock
you may need to ensure that rewrites are non implemented for a certain directory RewriteRule (livezilla)/(.*) - [L] - S --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send

Re: LiveZilla CakePHP

2009-06-10 Thread Sam Sherlock
assuming the folder is livezilla that you don't want to rewrite RewriteRule (livezilla)/(.*) - [L] RewriteRule^$webroot/ [L] RewriteRule(.*) webroot/$1[L] --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Sub templating

2009-06-09 Thread Sam Sherlock
in views/subscribers/view.ctp $this-element('../subscribers/subview1'); $this-element('../subscribers/subview2'); - S 2009/6/9 RhythmicDevil rhythmicde...@gmail.com Hello, I have a view.ctp for a Subscriber. I want to break up the view into several smaller templates as there are tabs and

Re: Please Help on How To Extract Records from Array

2009-06-09 Thread Sam Sherlock
of it, highlighted in pink (I've tried using set::combine() to no avail) $___viewFn= /home/ilcs/website_files/app/views/jurisdictions/view.ctp $___dataForView = array( *agents = array( John = Mensah, Sumani = Abdulai, Eric = Adotey, Sam = Darko

Re: Please Help on How To Extract Records from Array

2009-06-09 Thread Sam Sherlock
Hi Sam, I thought you wanted to extract data to make this array Array ( [0] = Array ( [0] = John [1] = Sumani [2] = Eric [3] = Sam [4] = Moses [5] = Kwabena ) ) as that was highlighted red. - S 2009

Re: Cakephp + Mootools Request.HTML

2009-06-09 Thread Sam Sherlock
use absolute urls in cake - S 2009/6/10 eiji animere...@gmail.com bump.. Has no body encountered this with Cakephp + Mootools? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this

Re: Cakephp + Mootools Request.HTML

2009-06-09 Thread Sam Sherlock
this-action is good for this. I find it useful setting a js var in a script block and then in my main script eg common.js I use this var - also this controller - S 2009/6/10 eiji animere...@gmail.com Hi Sam, Thanks for that, is there an easier way to get the absolute path of a certain

Re: problem with cake console

2009-05-28 Thread Sam Sherlock
I think you have not added cake to your path, anyway you don't need to alter the cake.bat file This screencast helped me set up cake console http://cakephp.org/screencasts/view/6 as a result I am now a happy baker :) - S 2009/5/28 Paulos23 paulitosthe...@gmail.com Hi ppl, I have read some

Re: .htaccess password protect admin routes

2009-05-26 Thread Sam Sherlock
http://snook.ca/archives/servers/password_protect_admin/ - S 2009/5/26 Roman Brunnemann mailingli...@gmx.de Hi, I want to use the admin routes (this works) and protect the requests to e.g. admin/products/edit with .htaccess Given that everything is rewrited there is no real admin folder,

Re: Newbie to CakePhP a quick question

2009-05-04 Thread Sam Sherlock
Sounds like you want to bake apps http://lemoncake.wordpress.com/2007/06/14/bake-with-mamp-on-os-x/ - S 2009/5/4 Braydenstyles brayden.sty...@gmail.com Hi, I'm new to CakePhP and i managed to get my CakePHP running thanks to a great guide CakePhp tutotial for a newbie:

Re: CakePHP - MySQL Connection issue

2009-04-24 Thread Sam Sherlock
do you get Cake is able to connect to the database. (also displayed in a green box) if so proceed to the blog tutorial http://book.cakephp.org/view/219/Blog search this group when you get in a stitch; refer to book.cakephp.org bakery.cakephp.org - S 2009/4/24 Venki

Re: Help Me!

2009-04-23 Thread Sam Sherlock
yes but a email entitled help me and asking quite a basic question with no background about what you have tried - error messages you have got - or resources you have learnt from is not helpful for anyone helping you is your db working? is .htaccess working? if not use cakes internal rewriting

Re: Configuring CSS

2009-04-23 Thread Sam Sherlock
?php echo $html-doctype('xhtml-trans') ? html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en head ?php echo $html-charset(); ? title?php echo $title_for_layout; if(Configure::read('debug')) echo cake: . Configure::version();?/title?php echo $html-css($myCSS,

Re: authorize.net redirect

2009-04-11 Thread Sam DeVore
I don't think you will see the data from Authorize in this-data I think you will have to look at the raw data. I can look at it on Monday but my wife has named my laptop for Easter weekend. Sam d === Sent from my ATT Rotary Phone http://blog.samdevore.com On Apr 11, 2009, at 10:34 AM

Re: .htaccess lines fix one thing but break Cake

2009-04-09 Thread Sam Sherlock
Hi, Ihave not tried this myself - I am not on dreamhost but give this a read it maybe what your looking for http://www.thoughtglade.com/posts/custom-php-dreamhost-cakephp hth - S 2009/4/9 Drinkspiller drinkspil...@gmail.com I have a CakePHP site that is working in a shared host environment

Re: Cakephp - ExtJS or YUI!

2009-04-04 Thread Sam Sherlock
see http://groups.google.com/group/cake-php/browse_thread/thread/bbfff55500ae5070 you can load javascript from vendors too and cakephp threads on the extjs forums http://www.google.com/cse?cx=001733999371871106761%3Ajgc8jk2xgweie=UTF-8q=cakephpsa=Search - S 2009/4/4 baur79 bau...@gmail.com

Re: skype links with html helper

2009-04-03 Thread Sam Sherlock
of cource you also customise the built in html helper in cake/libs/views/helpers/ putting the customised version in your app/views/helpers/ - see the tags at the top would get you start but depending on how many you have - guess you only have the one - S 2009/4/3 donnerbeil

Re: DebugKit's toolbar not working

2009-03-31 Thread Sam Sherlock
Try clearing the browsers cache - I think I to had this issue, just would show top right after clearing cache of ff it started. My projects all have jquery in them, but I believe that debugkit has contains everything it requires (loading jquery via google api - not conclusive on that I expect

Re: skype links with html helper

2009-03-31 Thread Sam Sherlock
I think that using the html helper is unnecessary it is more complicated than simply echo 'a href=skype:' . $username . '?call' . $username . '/a'; - S 2009/3/31 donnerbeil donnerb...@googlemail.com Hi, Does anyone know, if it is possible to generate a link like: skype:username?call

Re: Why is it so hard to find answers on cakephp trouble?

2009-03-27 Thread Sam Sherlock
Affinity when you say right forum I disagree. Google Groups to which I am signed up some direct to my gmail account- this centralises amass of information for me - I agree nabble is rather awkward to view - google groups (browsing archives not in gmail) is not bad at all perhaps this is just

Re: default icon persists

2009-03-25 Thread Sam Sherlock
For me favicon changes take a while to update. If you have checked source then you should be good, you can check in another browser to see what happens when freshly viewing in a new browser. There are also a favicon generators out there so you can make your own google 'gen favicon' - S

Re: cache

2009-03-23 Thread Sam Sherlock
look in APP/tmp/cache/views/ expires being the point at which the cached file becomes stale - S 2009/3/24 computing1...@gmail.com computing1...@gmail.com e expires is. I looked for man --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: How to create a product using CakePHP?

2009-03-07 Thread Sam Sherlock
you should make app_controller.php in you app dirctory. then to upgrade cake the user deletes and replaces the cake directory - aswell as clearing app/tmp/ of files (not folders) - S 2009/3/7 rpnu...@gmail.com rpnu...@gmail.com: sking is pretty simple (I hope). How do I release my product

<    1   2   3   4   5   6   7   8   9   >