Route wildcards

2007-01-31 Thread Dave Rogers
In the system that I am putting together, I would like to be able to drop plugins into the system and they just work. If I use scaffolding, this works. I would like to, however, allow the use of URLs created by the administrator of the system, such as: /aboutus /aboutus/contacts /community

Using one set of controllers/models for multiple sites

2007-01-25 Thread Dave Rogers
Is there a way to use one set of controllers and models for multiple sites? This would effectively create an ASP (Application Service Provider) model. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake

Creating Dynamic Model Associations

2007-01-17 Thread Dave Rogers
In my latest project, I am trying to make particular Models/Controllers inherit from other Models/Controllers that I create. For example: Items -- Article -- News -- Event In particular, I am trying to figure out the model association, so that I can plug in a new Model

How to do dynamic includes of controllers

2007-01-11 Thread Dave Rogers
I am trying to put together a CMS that would allow you to create an infinite number of pages and add an infinite number of sections (which are controllers) to that page. So far, I have a page controller that accepts all URLs that do not specifically have a route defined: mysite.com/about goes

Extending controllers

2007-01-11 Thread Dave Rogers
I have an CMS application that has multiple 'modules' that can be used on each 'page'. These 'modules' seem to naturally extend each other. A sample hierarchy of modules is below: Item -- Article -- Content -- Announcement -- Event -- File -- Document -- Image -- Audio

Re: How to do dynamic includes of controllers

2007-01-11 Thread Dave Rogers
I just wanted to make sure I understood you. I found this link on cakephp groups: http://groups.google.com/group/cake-php/browse_frm/thread/6dab044365132bdf/02ffb077f9ebf389?lnk=gstq=elementsrnum=14#02ffb077f9ebf389 Is that what you had in mind?

Saving Associated Data that is an Array

2006-12-13 Thread Dave Rogers
I have a report form that has a list of people who attended an event. When I try to save the attendees, the first one is added to the db, the rest attempt to update with the id of the event. here is an idea of the data: $this-data['event']=array( 'title'='title of event',

DBO MetaType Error

2006-07-31 Thread Dave Rogers
I am attempting to upgrade to the newest version of CakePHP from a beta version. I am using Oracle using dbo. When I run any route, I get the error: Fatal error: Call to a member function MetaType() on a non-object in ...\cake\libs\model\dbo\dbo_adodb.php on line 298 Does this ring a bell to

Re: DBO MetaType Error

2006-07-31 Thread Dave Rogers
nate wrote: Do you have ADOdb installed in /vendors? Yes. I have ADOdb installed in /vendors. It was working before I tried upgrading. Does the upgrade need to be a certain revision level? --Dave --~--~-~--~~~---~--~~ You received this message

No Database table for model

2006-05-22 Thread Dave Rogers
I just installed Cake v1 thinking that some of the bugs that I had seen earlier might be fixed. I am pleased to say most of them are. I am working with an Oracle database and tried using adodb-oci8. It seems to connect ok (when I change the connection string I get a connection error, so I'm

Re: No Database table for model

2006-05-22 Thread Dave Rogers
Ok...with more in depth research, I found that it cannot find the table list in the cache. Where does it set that table list? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group,

Using a querystring results in 'Requested address could not be found error'

2006-05-18 Thread Dave Rogers
I am creating a login function and I am passing the url of the page they were trying to access as well as other information in the querystring using a $this-redirect in another function. The url looks like this: http://cake.localhost/users/login/?url=post.addaccountID=1234 When I put that in

Re: HABTM doesn't seem to be working

2006-05-04 Thread Dave Rogers
I can't find cakebin on the newly designed site. After I posted the code, I realized I should have said that I was working on a new dbo for Oracle. I have made modifications to the dbo_source and datasource files, which might be the problem. I am doing this because you can't get the table name

Re: HABTM doesn't seem to be working

2006-05-04 Thread Dave Rogers
The sheet (page) and section controllers and models are at http://cakephp.org/pastes/show/f9985ada4a1e1d83a5eab4f3cceb10f0 Thanks for taking a look at them --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP

Re: Using Oracle with Cake

2006-05-04 Thread Dave Rogers
There were some things with my dbo_oracle that were causing problems: * PHP OCI functions do not return the table, so everything was being put into the [0] array, which caused problems if the column name from different tables were used. * The base dbo_source.php file was aliasing tables with

Re: Multi-User Permission Control

2006-05-04 Thread Dave Rogers
Where does this get installed? At the base level (same as cake and app) or under one of these? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to

Re: Using Oracle with Cake

2006-05-04 Thread Dave Rogers
I have a not so elegant first round attempt at getting oracle to work. I modified the dbo_source.php and datasource.php files. I also created a dbo_oracle.php file. The code for all three is at http://cakephp.org/pastes/show/081dbc0d1d0c131feec6be10e02d9285 Please give me suggestions on how to