[support] Strange url() return (WAS: Re: theme pager wrong url)
Davide Michel 'ZioBudda' Morelli
michel at ziobudda.net
Tue Feb 19 10:04:48 UTC 2008
Eric Mckenna ha scritto:
> I would check the view, and the raw results of the page_query function.
>
> I also think that the "node" portion of "node?page=2" is the node view
> that shows all nodes, not the individual items like node/1.
>
I'm using views only for the query (this is a test page for my view
learning).
And I have found another strange thing: I use node("node/".$node->nid)
to get the url's path.
but when I see the '<a href="'.url("node/".$node->nid).'">AAAA</a>'
I see (via FF) http://mydomain.com/rss/{NODE CORRECT PATH}.
If I tried: '<a href="/'.url("node/".$node->nid).'">AAAA</a>'
I see (via FF) http:///rss/{NODE CORRECT PATH}.
I don't know the reason for this strange error, but is it one of my error ?
M.
--
Michel 'ZioBudda' Morelli michel at ziobudda.net
Consulenza sistemistica in ambito OpenSource.
Sviluppo applicazioni web dinamiche (LAMP+Ajax)
Telefono: 0200619074
Telefono Cell: +39-3939890025 -- Fax: +39-0291390660
http://www.ziobudda.net ICQ: 58351764
http://www.ziobuddalabs.it Skype: zio_budda
http://www.ajaxblog.it MSN: michel at ziobuddalabs.it
JABBER: michel at gmail.com
More information about the support
mailing list