[opencms-dev] links to internal resources

Sven Bonorden bonorden at getit.de
Thu Feb 17 12:15:08 CET 2005


Marek,

there is no unchangeable attribute. If you change a resource name, the 
resource is deleted and created as a new resource.

Sven


Marek Nowak wrote:

> 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
>


-- 
Sven Bonorden
Softwareentwicklung und Beratung, GETIT   mailto:bonorden at getit.de

-----
GETIT - Gesellschaft für Technologie- und Informationstransfer mbH

                                             Fon: +49.231.9742.300
                                             Fax: +49.231.9742.356

Emil-Figge-Straße 76-80                        http://www.getit.de
44227 Dortmund                                mailto:info at getit.de





More information about the opencms-dev mailing list