oh, that works fine.
Thank You.
But why it is not a good idea to use PagesController as name?
--~--~-~--~~~---~--~~
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@googleg
Hello,
I'm using an own PagesController with a pageModel which is not using a
table ($useTable = false).
The Page-Model has an attribute "hasOne = array('Member' =>
array('className' => 'Member', 'foreignKey' => 'mID'))" to make the
access to the Member-Controller in Page-Controller possible.
wh
yeah that makes sense.
I will route the / to /myPagesControllerWithoutTable/index :-)
Thx
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@goo
hey,
this is one way. This is mor a workaround the problem. Clearly this
works and I will try this way, if ther is no other possibility like
the creation of an own PagesController.
An own PagesController is my Intention, to get connected with the
"home.thtml" by calling http://localhost/applicati
Hello,
I want to geht dynamic content on one of my pages of the
pages_controller!
But theres a Problem:
If I create a PagesController in /controller/ I will be forced to
create a Page Model, but this is not the aim of a Page, which has to
collect some information from other models/controllers.
So
Hello,
what is the convention for a private function, which has not to not
work as url?
example
TableController extens AppController {
function getSomeInternalData(){ }// eh
}
so a hyperlink like this has not to result in an error like 'missing
view': http://localhost/myCakeApp/tables/
Oh Thanks,
that works fine :-).
yours faithfully
--~--~-~--~~~---~--~~
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, sen
Hello,
how is it possible to call functions of a Controller
(EventsController) in another Controller (VisitsController)?
The models are connected with
visits:belongsto Events
events: hasMany Visits
I've tried to call "$this->Visit->Event->isFriendEvent($eID)", but
this ends with an error, becau
Hello,
i've hopeness, that you can help me.
the situation:
i've 2 relations/tables 'members' and 'friends'. The last one has two
foreign keys to 'members', so that is 'members' connected with
himself, over the relation/table 'friends. It's clear, becaus every
member can be a friend of anybody el
Hello,
i've hopeness, that you can help me.
the situation:
i've 2 relations/tables 'members' and 'friends'. The last one has two
foreign keys to 'members', so that is 'members' connected with
himself, over the relation/table 'friends. It's clear, becaus every
member can be a friend of anybody el
I've found the solution.
I've to use roles like this:
// Rollenverteilung
var $belongsTo = array(
'Member1' => array(
'class' => 'Member',
'foreignKey' => 'mID1'
),
'Member2' => array(
'class' => 'Member',
'foreignKey' => 'mID2'
),
)
Hello,
i've hopeness, that you can help me.
the situation:
i've 2 relations/tables 'members' and 'friends'. The last one has two
foreign keys to 'members', so that is 'members' connected with
himself, over the relation/table 'friends. It's clear, becaus every
member can be a friend of anybody el
12 matches
Mail list logo