Well, since app->views->layout->default.thtml executes by default . If
I want to xecute admins.thtml placein layout folde, Than what change
should i do in which FILE. &  according to your instructions I had a
file & plced in the root->vendors  foler but still unable to access .
Actually I want to include FCKEDITOR in my  view page. But I dont know
how to include FCKEDITOR.so, Plz solve my both Problems

Thanks for cooperation

On Apr 19, 6:26 pm, Femi Taiwo <[EMAIL PROTECTED]> wrote:
> Hi Rocky,
> In Two Simple Steps:
> 1. copy the file you want include to your "ROOT-FOLDER/vendors" folder.
> 2. In your controller , use vendor('filename');
> Assuming I want to include workflow.php,
> my folder structure is
> |-htdocs
>         |-app
>         |-cake
>         |-docs
>         |-vendors
> So I copy workflowengine.php to vendors
> Then do vendor('workflowengine');
> Leave out the '.php' extension.
> Once you do that, you will have access to all the methods and classes in 
> workflowengine.php.
> Note: Vendors are for third-party classes. So be careful about using the 
> Vendor thing. If it contains functions for views then make a helper. If its 
> for controllers, create a component. However if it does not fall into any of 
> these, then feel free and put it in the vendors folder.
> Find out more about vendors on cakephp.org
> Rocky wrote:PLz let me know how to add a file in php cake Thanku Rocky

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to