[opencms-dev] links to internal resources

Marek Nowak mareknow-pbc at o2.pl
Thu Feb 17 10:40:59 CET 2005


Hello

I would like to change a little bit a way that links to internal resources are stored in pages. Instead of 

<link name="link9" type="A" internal="true">
          <target><![CDATA[/sites/default/mammals/dogs.html]]></target>
</link>

I want to put something like 
<link name="link9" type="A" internal="true">
          <target><![CDATA[$0jgfk458-7ghh-456g-ahg5-3fgg455b4e47$]]></target>
</link>

Where $0jgfk458-7ghh-456g-ahg5-3fgg455b4e47$ is the id of the resource surrounded with '$' marks.

My questions:
- Which parameter of page is unchengable: resourceId, structureId, something else, so I can use it instead
- Why didn't you implement anything like this? In my opinion it could solve problem with broken links, because you don't point to the resource by its name (which can change), but using something unchengable.


Marek


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050217/31834712/attachment.htm>


More information about the opencms-dev mailing list