[opencms-dev] allowRelativeLinks - Can someone explain?
Barry
barry at zoidberg.nl
Mon Mar 14 21:39:25 CET 2005
The use of allowRelativeLinks is mentioned here; how exactly does this
work? Do you simply add this property, or is there more to it to get
this working.
I'd love to see a way of disabling this absolute path thing globally too
- it's been driving me mad.
Regards, Barry.
Frans Postma wrote:
>Hi,
>
>I've discovered that opencms by default hardcodes all cms-paths to absolute upon saving a file and exiting the editor for it. That
>is not what I want so I need to set allowRelativeLinks as a page-property. Easy enough to do, however I want to have that set to
>true for ALL pages generated.
>
>I tried adding it to the template I use, but that doesn't have much effect. The property-NAME is now in those pages but the value
>is undefined (i.e. value is not inherited from template).
>
>I can modify CmsNewResourceXmlPage.java to suit my means, by simple adding an extra property upon creating of a page, but I would
>prefer NOT to modify core-code for something simple like this.
>
>Any ideas how to accomplish this without editing java files for every propery change needed?
>(is there ANY way to have pages inherit property values from *somewhere* ??)
>
>Greetings,
>
>Frans
>
>
>
>_______________________________________________
>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