Anchors

Author Message

K259

Friday 23 April 2004 4:38:03 am

The creation of anchors is a little "nasty".

Howto: The user have to create a new page, insert content, insert an anchor, and for example on the top of the page make an anchor-index. This anchor-index is made like this:
/content/view/full/2342#anchor1 and so on.

But, when the user has created the page, and are inserting anchor-indexes, the user don't know the ID of the page, and has to publish it, before he/her can insert the anchor-indexes.

The ID of the page should therefore be printed for example in the right menu somewhere by the version-info etc.

Dominik Pich

Friday 23 April 2004 5:59:01 pm

the idea isn'y known by then afaik...
the user should only need to add the #anchor_index (the url would be calculated at runtime.

Bruce Morrison

Saturday 24 April 2004 10:40:11 pm

According to http://ez.no/community/bug_reports/issue_with_links_to_anchors_within_a_page you should now be able to just put #acnchorname in the link field to create a link to an anchor within a page.

Cheers
Bruce http://www.designit.com.au

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 09:50:06
Script start
Timing: Jan 19 2025 09:50:06
Module start 'layout'
Timing: Jan 19 2025 09:50:06
Module start 'content'
Timing: Jan 19 2025 09:50:06
Module end 'content'
Timing: Jan 19 2025 09:50:06
Script end

Main resources:

Total runtime0.7445 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 589.0234152.6094
Module start 'layout' 0.00610.0035 741.632839.3906
Module start 'content' 0.00960.7333 781.0234564.0156
Module end 'content' 0.74290.0015 1,345.03918.2109
Script end 0.7444  1,353.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4274160.0002
Check MTime0.00130.1755160.0001
Mysql Total
Database connection0.00100.139310.0010
Mysqli_queries0.700794.1210590.0119
Looping result0.00050.0690570.0000
Template Total0.714295.920.3571
Template load0.00200.265020.0010
Template processing0.712295.670920.3561
Template load and register function0.00030.035010.0003
states
state_id_array0.00120.156210.0012
state_identifier_array0.00150.199220.0007
Override
Cache load0.00160.2143160.0001
Sytem overhead
Fetch class attribute can translate value0.00070.094730.0002
Fetch class attribute name0.00110.145040.0003
XML
Image XML parsing0.00080.109530.0003
class_abstraction
Instantiating content class attribute0.00000.001340.0000
General
dbfile0.00080.1122160.0001
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs