You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Christian Helmbold (JIRA)" <ji...@apache.org> on 2008/06/09 21:20:45 UTC

[jira] Created: (JSPWIKI-288) direct links to sections

direct links to sections
------------------------

                 Key: JSPWIKI-288
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-288
             Project: JSPWiki
          Issue Type: New Feature
          Components: Core & storage
            Reporter: Christian Helmbold


A visitor of a JSPWiki site can not create links to sections easily as long as there is no table of contents on the page. Near each subheadline should be a link to create an URL to the related section.

See http://wiki.python.de/ (powered by MoinMoin) and point at the section headlines, to see what i mean.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JSPWIKI-288) direct links to sections

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Janne Jalkanen resolved JSPWIKI-288.
------------------------------------

    Resolution: Fixed

Implemented in 2.8.1-svn-3.

> direct links to sections
> ------------------------
>
>                 Key: JSPWIKI-288
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-288
>             Project: JSPWiki
>          Issue Type: New Feature
>          Components: Core & storage
>            Reporter: Christian Helmbold
>            Assignee: Janne Jalkanen
>             Fix For: 2.8.1
>
>
> A visitor of a JSPWiki site can not create links to sections easily as long as there is no table of contents on the page. Near each subheadline should be a link to create an URL to the related section.
> See http://wiki.python.de/ (powered by MoinMoin) and point at the section headlines, to see what i mean.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-288) direct links to sections

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642078#action_12642078 ] 

Janne Jalkanen commented on JSPWIKI-288:
----------------------------------------

Opinions: make the whole title as a link, or have a separate permalink icon (#) after the title?  The latter might be more logical if we ever create a way to create named anchors for particular spots in the text itself.

> direct links to sections
> ------------------------
>
>                 Key: JSPWIKI-288
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-288
>             Project: JSPWiki
>          Issue Type: New Feature
>          Components: Core & storage
>            Reporter: Christian Helmbold
>             Fix For: 2.8.1
>
>
> A visitor of a JSPWiki site can not create links to sections easily as long as there is no table of contents on the page. Near each subheadline should be a link to create an URL to the related section.
> See http://wiki.python.de/ (powered by MoinMoin) and point at the section headlines, to see what i mean.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-288) direct links to sections

Posted by "Roland Whitehead (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12651363#action_12651363 ] 

Roland Whitehead commented on JSPWIKI-288:
------------------------------------------

The css should use the "!important" declaration in case the style.css has overridden the colours for the heading. Thus the css should be:

{noformat}
a.hashlink {
     color: transparent !important;
     line-height: 1.2;
     padding:.25em;
     text-decoration: none;
     border: none !important;
}
a.hashlink:hover {
     background-color:#eee;
     color:blue !important;
}
{noformat}

> direct links to sections
> ------------------------
>
>                 Key: JSPWIKI-288
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-288
>             Project: JSPWiki
>          Issue Type: New Feature
>          Components: Core & storage
>            Reporter: Christian Helmbold
>            Assignee: Janne Jalkanen
>             Fix For: 2.8.1
>
>
> A visitor of a JSPWiki site can not create links to sections easily as long as there is no table of contents on the page. Near each subheadline should be a link to create an URL to the related section.
> See http://wiki.python.de/ (powered by MoinMoin) and point at the section headlines, to see what i mean.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (JSPWIKI-288) direct links to sections

Posted by "Dirk Frederickx (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JSPWIKI-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642612#action_12642612 ] 

Dirk Frederickx commented on JSPWIKI-288:
-----------------------------------------

Implementation suggestion:

A section title 

{code:xml} 
<h4 id="section-PAGEx-TitleX">Title X</h4>
{code} 

should be encoded as :

{code:xml} 
<h4 id="section-PAGEx-TitleX">Title X <a clas="hashlink" href="#section-PAGEx-TitleX">#</a></h4>
{code} 

and following CSS should be added:

{code:css} 
/* hashlink */
a.hashlink {
	color:transparent;
	line-height:1.2;
	padding:0.25em;
	text-decoration:none;
}
a.hashlink:hover {
	background-color:#eee;
	color:blue;
}
{code} 




> direct links to sections
> ------------------------
>
>                 Key: JSPWIKI-288
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-288
>             Project: JSPWiki
>          Issue Type: New Feature
>          Components: Core & storage
>            Reporter: Christian Helmbold
>             Fix For: 2.8.1
>
>
> A visitor of a JSPWiki site can not create links to sections easily as long as there is no table of contents on the page. Near each subheadline should be a link to create an URL to the related section.
> See http://wiki.python.de/ (powered by MoinMoin) and point at the section headlines, to see what i mean.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.