AW: [opencms-dev] Anchors

Prestel, Marianne prestel at itiv.uni-karlsruhe.de
Fri Nov 30 16:09:43 CET 2001


Hi Daniel,

thanks for your help but unfortunately it doesn't work. 
I guess the link is stored with the name (and not with the title), here is
my example: 

The anchor should appear on the page "testpage.html".
This page is stored in the folder /de/test/.
I create an anchor named "x" which is also stored in the folder /de/test/.

The Problems are:

1. The anchor appears on all pages in the folder /de/test/ 
2. The browser (source code) returns
<a href="../de/test/x">x</a>
but I can't rename the anchor "testpage.html#x" because I receive an error
message "resource already exists". 

So I will add the anchors manually on the page!? 

Greetings
Marianne



-----Ursprüngliche Nachricht-----
Von: Daniel Wemhoff [mailto:Daniel.Wemhoff at framfab.de]
Gesendet: Freitag, 30. November 2001 14:24
An: 'opencms-dev at www.opencms.com'
Betreff: AW: [opencms-dev] Anchors



Hi Marianne, 

it´s not possible to add an anchor when creating or editing a link. But did
you try to add the anchor to the property title (that´s where the link
information is stored) of an existing link? 
(-> Lock resource,
    choose Properties
    mark title
    press Edit
    add anchor). 

I think this should work.

Daniel


-----Ursprüngliche Nachricht-----
Von: Prestel, Marianne [mailto:prestel at itiv.uni-karlsruhe.de]
Gesendet: Freitag, 30. November 2001 13:34
An: 'opencms-dev at www.opencms.com'
Betreff: [opencms-dev] Anchors


Hi Daniel, Hi List, 

is there also a possibility to add anchors to the dynamic navigation?
I added the properties NavText and NavPos, but I can't create a Link
resource like:
/de/test/index.html#anchor
Thanks for any help.

Marianne
.....................................
Marianne Prestel
Dipl.-Ing. (FH) 
ITIV - Universitaet Karlsruhe
Engesserstrasse 5
D-76131 Karlsruhe


-----Ursprüngliche Nachricht-----
Von: Daniel Wemhoff [mailto:Daniel.Wemhoff at framfab.de]
Gesendet: Freitag, 9. November 2001 17:27
An: 'opencms-dev at www.opencms.com'
Betreff: AW: [opencms-dev] Link



Hi,

you can use the "Link" resource to add an internal or external link to the
dynamic navigation.

After installation add the property definitions "NavText" and "NavPos" to
the resource type "Link" first (Administration view, Property Management).

After creating a new "Link" resource in the explorer you always have to add
the properties NavText (Navigation Text) and NavPos (Navigation order
criterion like 1.0) manually via the contect menu (Properties/New). 

Daniel



More information about the opencms-dev mailing list