cakephp on ubuntu 9.04, php5

2009-06-09 Thread Saliem
i'd like to use the cake bake command: cd cake/console ./cake bake but i get: -bash: ./cake: Permission denied from what i've looked up - it sounds like i can also run cake bake from the apps directory. is that actually possible - or do i need to install something more? also - it looks like

Re: cakephp on ubuntu 9.04, php5

2009-06-09 Thread Saliem
okay nvm - rest the permissions :) On Jun 8, 11:15 pm, Saliem than.sal...@gmail.com wrote: i'd like to use the cake bake command: cd cake/console ./cake bake but i get: -bash: ./cake: Permission denied from what i've looked up - it sounds like i can also run cake bake from the apps

ajax controller

2009-06-09 Thread Dave Maharaj :: WidePixels.com
Just thinking about putting all my ajax functions into 1 controller but what would it be called? Ajax Ajaxs? What is the best way to do something like this? ?php class AjaxController extends AppController { var $name = 'Ajax'; var $helpers = array('Html', 'Form'); var

Re: ajax controller

2009-06-09 Thread Walther
Don't. Trying to smash various actions from various controllers/models into the same controller is just asking for trouble. It will be hard to maintain, it will be inefficient and hard to debug. On Jun 9, 8:41 am, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: Just thinking about

Cakephp + Mootools Request.HTML

2009-06-09 Thread eiji
Hi Guys, I'm trying to use the Request.HTML of Mootools and I've got it working on the DropDown onchange event. Really great indeed. I just noticed an error when I was trying to implement it in the edit action. Ok, so.. my JS request is like this function clientTypeChange(value) { var

Re: Html-image outputs path relative to index.php, doesn't work if the url is (localhost)/app/controller/action

2009-06-09 Thread Jasper
htdocs/jtcms/app htdocs/jtcms/cake But if I configure cake correct, it does output the full image path? I couldn't believe I was the only one with this problem... On 8 jun, 16:11, Martin Westin martin.westin...@gmail.com wrote: Not a bug. You either have a configuration problem or just missed

Re: Problem with saveField()

2009-06-09 Thread Dr. Loboto
Do you have beforeSave method in User model? If yes, can it handle one field save situation correctly? On Jun 8, 5:47 pm, Snirre victor.ry...@gmail.com wrote: Just a SELECT query. On 8 Juni, 00:55, Miles J mileswjohn...@gmail.com wrote: Is a query ran in the output at the bottom?

Re: Model + 2x behaviors = headache :(

2009-06-09 Thread Ernesto
i still haven't find a solution. some1 help me please :( On 8 Giu, 09:47, Ernesto e.fanz...@gmail.com wrote: ops sry i wrote the code straight. in my cake app all beforeSaves returns TRUE On 6 Giu, 20:41, brian bally.z...@gmail.com wrote: You must return true or false from

Re: How to set 301 redirect in htaccess for domain .com.pl to redirect to .pl

2009-06-09 Thread Grzegorz Pawlik
Isn't it easier to make domain .com.pl point at the same location as domain .pl ? I don't believe messing with .htaccess is what You need ;) On Jun 8, 10:58 am, Anna P apad...@o2.pl wrote: Thank you for suggestion, but that doesn't seem to work either. Still when I enter .com.pl it doesn't

Re: TreeBehavior across different models

2009-06-09 Thread delocalizer
Can you describe the context of the problem? ie. what is it that you want to achieve? On Jun 6, 1:38 am, Greg Baker greg.baker@gmail.com wrote: Is it possible to use TreeBehavior where parent_id points to an id in another model, which also uses TreeBehavior?

Re: Multiple databases with different column

2009-06-09 Thread Dr. Loboto
Model::hasField('mySpecialField') - but you should restrict models cache for your case or this call will check cached schema. On Jun 9, 4:26 am, Henrik Gemal henrikge...@gmail.com wrote: I'm accessing databases stored on difference computers. Everything works just fine now since all the

Re: OnError on AppModel

2009-06-09 Thread Dr. Loboto
If you set onError both in model and AppModel, you should call parent::onError() in your model onError. On Jun 8, 6:17 pm, marco.rizze...@gmail.com marco.rizze...@gmail.com wrote: Hi I have this strange behaviour that I can't to understand. I would try to use the onError callback function.

Re: Model + 2x behaviors = headache :(

2009-06-09 Thread Jon Bennett
Hi Ernesto, i still haven't find a solution. Could you please paste your model, controller and behaviour please, I think you've had no real help because it doesn't make sense, each beforeSave should run in succession, I think in the order the behaviours are attached followed by the model's own

modify created and modified fields in scaffold views

2009-06-09 Thread JuergenRiemer
Is there a quick way to make the two fields created and modified visible/editable in scaffold views? thx --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

New CakePHP Queue Plugin, Comments welcome

2009-06-09 Thread MGriesbach
Hi I'm currently implementing a Plugin for CakePHP, which enables a developer to Queue up any kind of Script execution (for example Sending Emails, uploads/downloads etc.) and would like to ask for feedback. The Plugin is aimed to be a simple to setup, simple to use alternative to systems like

Re: New CakePHP Queue Plugin, Comments welcome

2009-06-09 Thread davidpersson
Hi MGriesbach, I like the idea of having a simple-to-setup queue system. This way it's much more easy to get into the queuing and parallel/deferred processing topic. Relying on the database for doing all the locking is also ok in regards that it should be easy to setup, requiring no additional

counterCache ... TWO fields with different counter scope??

2009-06-09 Thread toka...@gmail.com
Hi, I am wondering whether it is possible to use counterCache for two fields... let me explain: I need to cache count on Post level its (hasMany) images. Now I have field 'image_count' in Post DB table. and it is working fine but what to do if I need to cache to different scopes?? It is possible

Re: Model + 2x behaviors = headache :(

2009-06-09 Thread Rob Conner
You probably should paste code, your in theory based on code you told us your wrote is correct. But that doesn't solve the problem. So there must be some error in your code. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Route instead of redirect?

2009-06-09 Thread TimG
I would like to route instead of redirecting from inside my app_error.php file. So instead of just redirecting and having the URL change I would like to keep the URL the same and just have it load a specified controller and action. Is that possible?

Re: Feedback from TranslateBehavior creator needed

2009-06-09 Thread Grzegorz Pawlik
Ok, I'll suppress my 'general why questions compulsive behaviour' ;) About not existing callback - just a mistake. I meant beforeFind of course. But it's not the point. I Talk about ArticleVersion and ArticlePage, because those two models I want to have translatable, but that is not the problem

Re: Feedback from TranslateBehavior creator needed

2009-06-09 Thread Grzegorz Pawlik
And I'm fairly sure I don't need to do that trick in save method ;) On 9 Cze, 15:30, Grzegorz Pawlik grzegorzpaw...@gmail.com wrote: Ok, I'll suppress my 'general why questions compulsive behaviour' ;) About not existing callback - just a mistake. I meant beforeFind of course. But it's not

Problem in generateList();

2009-06-09 Thread engfaruque
$authors = $this-Book-Author-generateList(); For the above code following error occur 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'generateList' at line 1 How i solve it. I am new in cake php --

Problem in generateList();

2009-06-09 Thread engfaruque
$authors = $this-Book-Author-generateList(); For the above code following error occur 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'generateList' at line 1 How i solve it. I am new in cake php --

Re: Model + 2x behaviors = headache :(

2009-06-09 Thread Ernesto
here's my code. i removed all the comments. class OrderModel extends AppModel { var $actsAs = array(AutoCode, AutoDate); var $validate = array( Code = array( unique = array( rule = isUnique,

Re: 404 Not Found

2009-06-09 Thread mmottet
I'm getting the same 404 error when trying to access my controllers. However when I access the AppController, everything's work perfect. Has anyone a solution? On May 5, 5:28 pm, brian bally.z...@gmail.com wrote: Look in /app/tmp/logs. There should be both error and debug logs. Make sure the

Re: Feedback from TranslateBehavior creator needed

2009-06-09 Thread Grzegorz Pawlik
I can't deal without this script which copies contents to i18n table, though. It's because when I leave those original fields - they have higest priority, and they're the same as last saved translation ;) So I just need to copy them, and drop those fields. Needed to experience lot's of pain

Re: Html-image outputs path relative to index.php, doesn't work if the url is (localhost)/app/controller/action

2009-06-09 Thread Martin Westin
if htdocs is the root folder your urls should look something like localhost/jtcms/controller/action You might also have lost one of the .htaccess files that help Apache give Cake the correct path info. There should be one (usually invisible) in each of the folders jtcms, app, webroot.

Re: Model + 2x behaviors = headache :(

2009-06-09 Thread Ernesto
@ AutoCode::beforeValidate (end of function) Note: the Code field is successfully added to model data array Array ( [Order] = Array ( [customer_id] = 30 [ref] = T [Code] = 20090609 ) ) @@@ AutoDateBehavior @@@ $model-data @ AutoDate::beforeSave

Adsense Ads not showing up

2009-06-09 Thread stanvy
Hello, Thanks for providing this great script and marvelous forum here. I try to show google adsense ads on my cakephp site, but no matter how I am trying, using include php function, put the ads directly on the main page, etc etc, my ads is not showing up You can view it at

Related Models are an instance of AppModel

2009-06-09 Thread Nicky De Maeyer
I have the following code for my model 'Order': ?php class Order extends AppModel { public $name = 'Order'; public $validate = array( 'user_id' = array('numeric'), 'point_of_sales_id' = array('rule' = 'numeric', 'message' = 'numeric'),

Re: Share a hasMany association ?

2009-06-09 Thread Travis L
iFeghali, Your decision will need to be based on your specific application. Take a look at the following tradeoffs and determine what's best for you. 1) Will a telephone EVER POSSIBLY have both a supplier AND a customer? If so, you def. want to go with option a; otherwise, you'll need to have

Tough find query!

2009-06-09 Thread Céryl
Allright, I;ve been cracking my head on this. I have a HABTM relation between users and products. Users can select a product to put on his favorite list. Everything works great (A lot of thanks to this Googlegroups for that!) but now I need something heavy. So I have a users table, products

Re: The best database setup for this?

2009-06-09 Thread Travis L
Agreed with Brian. It may seem like the table is getting huge (which it eventually will). But you're just keeping record of 2-3 INT data types (depending on how you do the key), so much of it will fit into memory anyhow. I wouldn't worry too much about join tables being a source of slowness

Re: Confirmation Page for Form?

2009-06-09 Thread Travis L
Check out the Wizard component for sure. Otherwise, use a helper or element that will display the data differently -- if the POST'd values are present, it will display it as static, non-editable. If they aren't there, it will display them as input fields. On Jun 8, 9:13 am, brian

Re: how to make payment module in cakephp

2009-06-09 Thread Céryl
You can check out: https://www.sandbox.paypal.com/ If you make a Paypal Sandbox account, you can create buyers and sellers accounts and use them to pratice on your site. I'm not sure, but i'll probably have all the information you need in teh documentation-link on that page. From what I heard

Re: Problem in generateList();

2009-06-09 Thread brian
It's generateTreeList(). Also, ensure that Author has $actsAs = array('Tree') On Tue, Jun 9, 2009 at 5:39 AM, engfaruqueo...@bitsolution99.com wrote: $authors = $this-Book-Author-generateList(); For the above code following error occur 1064: You have an error in your SQL syntax; check

Reading/Writing ciphers from MySQL

2009-06-09 Thread foldiman
I'm trying to figure out why on one host, my CakePHP app will read/ write ciphered text in and out of a MySQL table while on another it fails. I've set up a simple test to comparetry it and you can see for yourself On this host it works:

Re: Problem in generateList();

2009-06-09 Thread Rob Conner
Wow, generateList is an old function. where did you find that example code? Perhaps just try $this-Book-Author-find('list'); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send

Re: Problem in generateList();

2009-06-09 Thread Rob Conner
by old, I mean deprecated, and I don't think it exists in newer versions of cake. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To

Re: Problem in generateList();

2009-06-09 Thread brian
On Tue, Jun 9, 2009 at 12:19 PM, Rob Connerrtcon...@gmail.com wrote: Wow, generateList is an old function. where did you find that example code? Perhaps just try $this-Book-Author-find('list'); I assumed the OP was referring to the TreeBehavior method. I'd forgotten about that old one from

Re: Related Models are an instance of AppModel

2009-06-09 Thread jitka (poLK)
Instances of AppModel are created when cake can not find model class (feature for fast prototyping or access to tables without need of model). That could be caused by several things - improper filesystem permissions for model files, mispelled filenames or class names, disabled debug and improper

ajax element rendering causing isUnique to misbehave

2009-06-09 Thread Jon Chin
I'm hoping somebody here can help me figure out how to use isUnique in my model correctly. I have a db table with email, name, etc. I developed an action in my controller and a view for the purpose of allowing the user to editing the data stored here. I created a rule isUnique for the email

Re: Append a anchor to paginator helper.

2009-06-09 Thread nurvzy
Thanks Brian! Worked like a charm! On Jun 8, 6:20 pm, brian bally.z...@gmail.com wrote: Use the '#' key: $paginator-options(         array(                 'url' = array(                         'controller' = 'projects',                         'action' = 'view',                        

Sub templating

2009-06-09 Thread RhythmicDevil
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 all sort of stuff on the view. However logically the small pieces dont belong in elements as they are not used anywhere else. I want to put them in views/ subscribers and

Re: ajax element rendering causing isUnique to misbehave

2009-06-09 Thread brian
Are you sure you're passing the model's ID? If you change the email, is the record edited, or do you get a completely new record? Cake will check the ID to see if the unique field it finds belongs to the currently-edited object. If so, it should let it pass. On Tue, Jun 9, 2009 at 1:32 PM, Jon

CSS

2009-06-09 Thread Dave Maharaj :: WidePixels.com
Can you include CSS per view as you do js? I need sifr css on only 1 view. Is there a way to include it in the specific view? Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this

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

Keep getting new CAKEPHP cookie

2009-06-09 Thread Henrik Gemal
Is it normal that you keep getting new CAKEPHP cookies? Try loading http://ketchup.book.dinnerbooking.com/ and click on a date. A set-cookie header is sent every time. Is that normal? --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: CSS

2009-06-09 Thread Marcelo Andrade
On Tue, Jun 9, 2009 at 4:22 PM, Dave Maharaj :: WidePixels.comd...@widepixels.com wrote: Can you include CSS per view as you do js? I need sifr css on only 1 view. Is there a way to include it in the specific view? Try echo $html-css('file'); // in your view Best regards. -- MARCELO DE F.

Please Help on How To Extract Records from Array

2009-06-09 Thread samuel darko
Hi All: I need help in extracting data from my find('list') result. I have $this-Jurisdiction-Agent-find(..) and getting the result below but want just a portion of it, highlighted in pink (I've tried using set::combine() to no avail) $___viewFn =

Translation issue

2009-06-09 Thread domignon
Hi bakers, I went through the tutorials on l10n and i18n and enjoyed it but I was wondering if there's a way in cakePHP for me to translate a whole page,not just a couple of strings,like an About us page or even a FAQ page.In other terms,how can the static pages stored in app/views/ pages/ be

Re: ajax element rendering causing isUnique to misbehave

2009-06-09 Thread Jon Chin
If I change the email, the record gets edited (no new records are created). In trying to debug this, I put a pr($this-data); statement at the beginning of the action's function. When I change the email, all of the fields are there, including user_id. However, when I leave the email the

Re: Please Help on How To Extract Records from Array

2009-06-09 Thread Sam Sherlock
using this as the path with set::extract /agents/@* - S 2009/6/9 samuel darko kwameda...@gmail.com Hi All: I need help in extracting data from my find('list') result. I have $this-Jurisdiction-Agent-find(..) and getting the result below but want just a portion of it,

Re: Please Help on How To Extract Records from Array

2009-06-09 Thread kwameda...@gmail.com
In case you can't see the 'highlighted' portion (it is what I need to extract), here it is: agents = array( John = Mensah, Sumani = Abdulai, Eric = Adotey, Sam = Darko, Moses = Adjei, Kwabena = Kyeremeh* ), -sam On Jun 9, 4:43 pm, samuel

Re: Keep getting new CAKEPHP cookie

2009-06-09 Thread Miles J
Yes its you session id. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to

Re: Please Help on How To Extract Records from Array

2009-06-09 Thread kwameda...@gmail.com
Thanks, Sam. But I'm pulling data from the 'Jurisdiction' model, not 'Agent' as in: $this-Jurisdiction-Agent-find(..) -sam On Jun 9, 4:57 pm, Sam Sherlock sam.sherl...@gmail.com wrote: using this as the path with set::extract /agents/@* - S 2009/6/9 samuel darko kwameda...@gmail.com

Formatting $form-Select

2009-06-09 Thread Jacob
I like using the Form helper, but I also want to keep my forms organized in a table (CSS noobs, please do not try to reply about this). To do this, I use the Before,between,after options to allow CakePHP to spit out the label and all and it works fine until using special fields. The problem is

Auth Component, white page when cookies disabled

2009-06-09 Thread Marcel
Hi, When I disable Cookies I get a white page after logging into my website (using Auth Component). Is there a way view an error page instead of just a white page? Marcel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: CSS

2009-06-09 Thread Graham Weldon
Hi Dave, You can use addScript to ensure it gets added to the head block at the top of the page like so: $this-addScript($html-css('my_file')); Cheers, Graham Dave Maharaj :: WidePixels.com wrote: Can you include CSS per view as you do js? I need sifr css on only 1 view. Is there a way

Re: Formatting $form-Select

2009-06-09 Thread Miles J
You dont use $form-select(), you use $form-input() and pass 'type' = 'select' --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To

Re: Translation issue

2009-06-09 Thread jitka (poLK)
See my comment here http://groups.google.com/group/cake-php/browse_thread/thread/b477f59240d739fa/3f2a8764042fc470 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to

getInsertID();

2009-06-09 Thread Dave Maharaj :: WidePixels.com
I am trying to get the ID of the last record inserted with $last_id = $this-Applicant-getInsertID(); debug($last_id); But nothing What am I missing? Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Route instead of redirect?

2009-06-09 Thread TimG
To clarify a bit: I know how to redirect and I know how to use routes. What I need to know is hot to invoke a route from within a controller or other file - like you do with redirect. I can't find anything in the docs on how to do that. Any ideas?

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

Select random records

2009-06-09 Thread Dave Maharaj :: WidePixels.com
I am generating Post by the author as a side module in the Post View. Problem is its displaying the same 5 over and over. For testing I added 50 Posts by 1 author but how can I select 5 random posts rather than now where its displaying the first 5 it finds. Dave

RE: Select random records - SOLVED

2009-06-09 Thread Dave Maharaj :: WidePixels.com
Sorry for the silly question 'order' = 'rand()', _ From: Dave Maharaj :: WidePixels.com [mailto:d...@widepixels.com] Sent: June-09-09 11:57 PM To: cake-php@googlegroups.com Subject: Select random records I am generating Post by the author as a side module in the Post View.

Re: getInsertID();

2009-06-09 Thread Miles J
$this-Model-save($data); After a save, you can get the id at: $this-Model-id; --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To

Re: Cakephp + Mootools Request.HTML

2009-06-09 Thread eiji
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 group, send email to cake-php@googlegroups.com To unsubscribe from this

Wizard Component and Routes

2009-06-09 Thread Dave Maharaj :: WidePixels.com
Having a go at the Wizard component...only issue I have is routing it. The routes they have defined will not work in my setup. They have Router::connect('/signup', array('controller' = 'signup', 'action' = 'wizard')); I need to modify that into:

ajax helper: inserting rows in a table

2009-06-09 Thread Marcelo Andrade
Hi there, I'd like to insert rows in a table and generate a valid xhtml output. So, in the main view I have !-- ah... echo $html-tableHeaders(...) didn't work either... but it's another issue -- table tr thColumn 1/th thColumn 2/th thColumn 3/th /tr tbody id=ajaxreturneddata/tbody

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: Reading/Writing ciphers from MySQL

2009-06-09 Thread foldiman
Setting the 'content' field type to BLOB in the secrets table solved this problem. On Jun 9, 12:10 pm, foldiman vi...@vinceallen.com wrote: I'm trying to figure out why on one host, my CakePHP app will read/ write ciphered text in and out of a MySQL table while on another it fails. I've set

Re: CSS

2009-06-09 Thread eiji
You should use $html-css([path/file], null, array(), false); the fourth parameter is what you should set to false cause it is the inline attribute. Assuming you have the variable $scripts_for_layout at the head, it would be outputted in the head part of the html. Regards, Alec On Jun 10,

Re: Cakephp + Mootools Request.HTML

2009-06-09 Thread eiji
Hi Sam, Thanks for that, is there an easier way to get the absolute path of a certain project? or is this the best way - http://groups.google.co.uk/group/cake-php/browse_thread/thread/e40c3cf038c2f01c Thanks. :) On Jun 10, 11:22 am, Sam Sherlock sam.sherl...@gmail.com wrote: use absolute

Re: cakephp on ubuntu 9.04, php5

2009-06-09 Thread Jorge Horacio Cué Cantú
ok, Open a Terminal window ( Applications Accessories Terminal ) cd CAKE_ROOT/cake/console chmod +x cake where CAKE_ROOT is the directory where you unpacked cake in my case: ~/opt/cake Also to make cake available to the shell, use : cd mkdir bin cd bin ln -s

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

ajax helper: submitting only few fields not the entire form

2009-06-09 Thread Marcelo Andrade
Hi there, I'm trying to learn more about the ajax helper and making some experiences with it. I have a long form (about 40 fields) to a model that has HABTM relationships. The related data are inserted via an ajax call with properly input hidden fields. I get these related data by its IDs.

Re: Cakephp + Mootools Request.HTML

2009-06-09 Thread eiji
But doesn't $this-action only gets the action, eg. in my example add/ edit? I was wondering is there a way in cakephp, a constant variable perhaps, that gets the absolute path of a certain project? Alec On Jun 10, 12:22 pm, Sam Sherlock sam.sherl...@gmail.com wrote: this-action is good for