Re: Several Question

2007-11-16 Thread FoxMaSk

http://bakery.cakephp.org/articles/view/confcomponent-db-based-configuration-tutorial
could do the trick ?

--~--~-~--~~~---~--~~
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, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Several Question

2007-11-16 Thread FoxMaSk

a better way will be to migrate my lib somewhere in the CakePHP tree,
to be used anywhere in all the plugins,  is it possible ?


On Nov 16, 11:22 am, FoxMaSk <[EMAIL PROTECTED]> wrote:
> in the same idea :
>
> in my vendor libs i need to access to the database but how could i ?
>
> if i want to use all method find and findAll etc.. how do i have to
> do ?
>
> kind Regards.
--~--~-~--~~~---~--~~
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, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Several Question

2007-11-16 Thread FoxMaSk

in the same idea :

in my vendor libs i need to access to the database but how could i ?

if i want to use all method find and findAll etc.. how do i have to
do ?

kind Regards.

--~--~-~--~~~---~--~~
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, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Several Question

2007-11-16 Thread FoxMaSk

Thanks you very much !
its working great.
On 16 nov, 06:48, Grant Cox <[EMAIL PROTECTED]> wrote:
> 1. Use vendor() to require in whichever classes you need from your
> vendors folder.
> 2. View elements should be in your /app/views/elements folder.  If
> you've got to keep that structure though, I guess just including it is
> the way to go...  But do it like
> vendor( 'themes'.DS.CMS_DEFAULT_THEME.DS.'_top' );
>
> On Nov 16, 2:28 am, FoxMaSk <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > can someone give me some tips on how to proceed ?
> > thanks
> > kind regards.

--~--~-~--~~~---~--~~
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, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Several Question

2007-11-15 Thread Grant Cox

1. Use vendor() to require in whichever classes you need from your
vendors folder.
2. View elements should be in your /app/views/elements folder.  If
you've got to keep that structure though, I guess just including it is
the way to go...  But do it like
vendor( 'themes'.DS.CMS_DEFAULT_THEME.DS.'_top' );



On Nov 16, 2:28 am, FoxMaSk <[EMAIL PROTECTED]> wrote:
> Hi,
> can someone give me some tips on how to proceed ?
> thanks
> kind regards.
--~--~-~--~~~---~--~~
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, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Several Question

2007-11-15 Thread FoxMaSk

Hi,
can someone give me some tips on how to proceed ?
thanks
kind regards.

--~--~-~--~~~---~--~~
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, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---