Ich habe die URL : http://localhost/start.html
Das PageModel hat eine statische Funktion findByUrl welches mir nur NULL zurueckliefert.
Gehe ich ueber die ID=6 erhalte ich alle Infos.
Ich brauche aber die PageID von der URL, any hints ?
Code://ergibt NULL $objPage = \PageModel::findByUrl('http://localhost/start.html'); // valides Objekt $objPage = \PageModel::findByid(6);
Lesezeichen