Hi MMBase as-is encourages the reuse of content. a news item might be used in different context (pages), therefore it is usualy not possible for mmbase to generate links to other internal content. to solve this problem different aproaches are followed. for every content type you can create a generic page /generic/news.jsp /generic/images.jsp so that it's possible to link to other pages. In that case the url object is not used but a news item is "related" to an other news item. If you want the layout of the news item to be different sometimes you might want to try and use tree/leafparts http://www.mmbase.org/docs/reference/taglib/treeinclude.jsp if you modeld the navigation in mmbase you can get the url of a item by following it's relation to the navigation newsitem->related->newsitem->navigation | ----navigation for the vpro I created a dynamic sitetree that helps to map content to url and vire-versa. What are you trying to do? it sounds like a lot of advenced features!
-----Oorspronkelijk bericht-----
Van: Curtney Jacobs [mailto:[EMAIL PROTECTED]
Verzonden: za 2004-07-31 5:12
Aan: [EMAIL PROTECTED]
CC:
Onderwerp: Using a URL object in construction of a link
Greetings!!
I have a few urls that are associated with a news items. How I
do use those
urls in a construction of a link. For example, having a news
headline be
linkable. <a href="">headline</a>. I know RichText support
something like
this, which I am using. However, is there a general way to do
this?
_Curtney
<<winmail.dat>>
