[TYPO3] shortcut to specific part of a page

Christopher Torgalson bedlamhotel at gmail.com
Sun May 11 12:16:44 CEST 2008


Hi,

2008/5/11 Xavier Perseguers <typo3 at perseguers.ch>:
> Hi Lesm, Hi 林彤,
>
>>> normal link to the specific part of page :http://localhost/?id=6#partA
>>>
>>> but if i would like to create a new page whose type is shortcut and I can only link to page  6 but not the part A. How can I link to part A?
>>
>> It seems to me that you are looking for to a way to link to an anchor
>> within a page.  Search for anchor at the repository and take a look to
>>    "A smooth scroll to any anchor" extension.
>
> The extension smooth scroll to any anchor won't help much as it only
> allows to add javascript with acceleration effect when displaying the
> page and moving to an internal link (aka anchor).
>
> The type of page shortcut does not allow you to specify an anchor.
> AFAIK, if you really have to link to an anchor within a page and put
> that link in the menu (the goal of having a shortcut page I think), then
> you have to create an external link and put the "good-working" URL (ugly
> as it won't reflect changes in page title/reorganization of your page)
> or modify the menu with TypoScript and create the link dynamically with
> a TEXT object and configuring its typolink part.


I think the question here that 林彤 needs to answer is "what do you want to do"?

Because if, for example, the goal is to do something like create a
menu of content elements on a page, this is something TYPO3 can do out
of the box…



-- 
Christopher Torgalson
http://www.typo3apprentice.com/


More information about the TYPO3-english mailing list