[opencms-dev] links to internal resources
Daniel Wiesner
daniel.wiesner at av-studio.de
Fri Apr 29 13:18:10 CEST 2005
Hello Marek,
did you finish your idea? I think this would be a good workaround to not
have broken internal links after moving files.
Daniel
Marek Nowak schrieb:
> 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
>
>
>
>
>------------------------------------------------------------------------
>
>
>
>_______________________________________________
>This mail is send to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://mail.opencms.org/mailman/listinfo/opencms-dev
>
More information about the opencms-dev
mailing list