1 kraemers Mar 27, 2006 22:17
3 kraemers Mar 28, 2006 20:02
I get a "called to undefined function" error when using urltitle(). Are you sure the function urltitle() exists?
4 personman Mar 28, 2006 22:01
I didn't test it out, I just saw it in the documentation. What version of b2evolution are you using?
5 kraemers Mar 29, 2006 00:16
0.9.0.11 "Paris"
6 kraemers Mar 29, 2006 00:41
http://mydomain.com/xmlsrv/rdf.php?blog=5&p=193
This works for getting a specific post, but how can I call the p=193 up in _main.php?
7 blueyed Mar 30, 2006 20:59
You get the Item's urltitle like this:
$Item->urltitle
It's no function, but a property.
See http://doc.b2evolution.net/v-0-9/evocore/Item.html for more documentation (which is generated from 0.9.1, but should be the same in general).
To get the permalink (which looks like what you're trying to do), just do:
$Item->gen_permalink();
Try $Item->urltitle()