[opencms-dev] links to internal resources

Sven Bonorden bonorden at getit.de
Thu Feb 17 13:22:28 CET 2005


Marek,

Sorry, I did not know you are talking about the alpha version. Looks 
like many things have changed here.
My answer was for OC 5.

Sven


Marek Nowak wrote:

> Hi Sven
>
> Sorry, but I don't agree with you.
> What I figured out is that structure_id attribute does not change. 
> Neither if you change name of the html page nor if you move the page 
> to different directory. What changes is content_id and structure_id. I 
> chacked it in cms_online_contents, cms_online_resources and 
> cms_online_structure tables. I have not chacked i the above is also 
> true in cms_offline_contents, cms_offline_resources and 
> cms_offline_structure tables. If I'm wrong, please tell me at what point.
>
>
> Marek
>
> ----- Original Message ----- From: "Sven Bonorden" <bonorden at getit.de>
> To: "The OpenCms mailing list" <opencms-dev at opencms.org>
> Sent: Thursday, February 17, 2005 12:15 PM
> Subject: Re: [opencms-dev] links to internal resources
>
>
>> 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
>>
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
>
>
>
> _______________________________________________
> 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