How "anchor" works?
How "anchor" works?
Hi, I'm trying to understand how the new "anchor" functionality works, but I can't undestand it.
I put the sign in the content part, but I don't know how I can put in the article.
Suggestions?
Thanks
I put the sign in the content part, but I don't know how I can put in the article.
Suggestions?
Thanks
Campeones del mundo!
Vegetables!
Vegetables!
Hi sustia,
<a name="cpid152" class="anchorClass"></a>
Gruß Knut
If the anchor is set, in the Frontend Rendering before the concerned content part an anchor link is inserted.Oliver Georgi wrote:wenn der Anker gesetzt ist, wird im Frontend-Rendering vor den betreffenden Content Part ein Ankerlink eingefügt:
<a name="cpid152" class="anchorClass"></a>
Oliver
<a name="cpid152" class="anchorClass"></a>
Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Hi fli-flop, thanks for the answer.fli-flop wrote:Hi sustia,If the anchor is set, in the Frontend Rendering before the concerned content part an anchor link is inserted.Oliver Georgi wrote:wenn der Anker gesetzt ist, wird im Frontend-Rendering vor den betreffenden Content Part ein Ankerlink eingefügt:
<a name="cpid152" class="anchorClass"></a>
Oliver
<a name="cpid152" class="anchorClass"></a>
Gruß Knut
In see in the code of the page the anchor, but I still have some doubt
1. How I can know the number of the anchor?
2. How I can insert in the text page? I've tried to insert via FCK editor, but it doesn't work.
Thanks.
Campeones del mundo!
Vegetables!
Vegetables!
Hi sustia,
you can see the number of the anchor (the ID) when you hover over the checkbox before "anchor". Then it shows you the ID beginning with "CPIDxxx"
Make a hyperlink to this CPIDxxx, then you can jump to this anchor.
Example:
Joachim
you can see the number of the anchor (the ID) when you hover over the checkbox before "anchor". Then it shows you the ID beginning with "CPIDxxx"
Make a hyperlink to this CPIDxxx, then you can jump to this anchor.
Example:
Code: Select all
<a href="#CPIDxxx">Anchortext</a>
Joachim
- Oliver Georgi
- Site Admin
- Posts: 9904
- Joined: Fri 3. Oct 2003, 22:22
- Contact:
Yes Oliver, I used the lower case.Oliver Georgi wrote:always use "#cpid152" - lower case.
You can see the link's name by moving over the label "anchor" in the backend. Then you can see it - but only when content part was stored (only then a unique ID is given).
Oliver
Thanks for the explanation and for the feature
Campeones del mundo!
Vegetables!
Vegetables!
Hi ragi,
I hope I understand your question correctly.
First at "article content" the anchor switch must set.
Second the following code at the top of the content part is generated by phpWCMS:
------------------------
<a name="cpid49" id="cpid49" class="cpidClass"></a><div style="margin:10px 0 0 0; padding:0 0 0 0; clear:both;"></div>
..
.. content of the content part
..
------------------------
anchor
anchor ID
anchor class
margin:10px 0 0 0; at this example is the "space before".
The anchor ID e.g. [ID:49] you can see at "article information" and "article center".
Gruß Knut
I hope I understand your question correctly.
First at "article content" the anchor switch must set.
Second the following code at the top of the content part is generated by phpWCMS:
------------------------
<a name="cpid49" id="cpid49" class="cpidClass"></a><div style="margin:10px 0 0 0; padding:0 0 0 0; clear:both;"></div>
..
.. content of the content part
..
------------------------
anchor
anchor ID
anchor class
margin:10px 0 0 0; at this example is the "space before".
The anchor ID e.g. [ID:49] you can see at "article information" and "article center".
Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Hi rage,
Download: http://www.phpwcms-docu.de/index.php?cvs_info_en
Gruß Knut
This function is implemented starting from the version: "phpwcms_dev_1.2.6_14.12.2005"I have the latest version of phpwcms
Download: http://www.phpwcms-docu.de/index.php?cvs_info_en
Have a look to the first post.I can´t see the mark (kästchen) where I can switch on the anchor....
Gruß Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )