Issue Feature Closed

#17406Page type Shortcut with anchor points

Florian 06/21/07, 09:26 updated 12/02/25, 14:36

Description

Initial situation:
I have a menu point in first level. Lets call it “menu card”. At my startpage I
have a CE at the bottom with the menu cards. As there is a lot of other content,
visitors have to scroll down to get there. Therefore I created this extra link to get
sure that they will find it.
Now if I select the page type Shortcut in the BE I only can select another page but no content element in a page like I can do with RTE. Here I just click on the little
red/white arrow to get the selection of all CEs. When I choose one, the user will be directed to this paragraph at once. That’s very convenient.

Maybe this feature can be added in a later release?! Thanks

(issue imported from #M5832)

Reviews 8

History 2799

Show 1874 earlier messages
  1. Thorsten Kahler commented <span data-processor="relativetime" data-value="2007-06-21T14:02:14+00:00" > 06/21/07, 14:02 </span>

    Hi Florian,

    did you try it with page type “external url”? This might be a short-term solution for you.

  2. Alexander Opitz commented and changed status New Needs Feedback target version <span data-processor="relativetime" data-value="2013-05-05T20:04:46+00:00" > 05/05/13, 20:04 </span>

    As this report is very old, is the handling in newer TYPO3 CMS Versions (like 6.0/6.1) more like you expect it?

  3. Alexander Opitz commented and changed status Needs Feedback Closed <span data-processor="relativetime" data-value="2013-09-06T09:14:56+00:00" > 09/06/13, 09:14 </span>

    No feedback for over 90 days.

  4. Tao Nguyen commented <span data-processor="relativetime" data-value="2015-07-13T15:39:57+00:00" > 07/13/15, 15:39 </span>

    Hiho,

    there is still no option (Typo3 6.2) to use an anchor while using “Shortcut”. Using “Link to external URL” is not a real solution, since it is not dynamic.

    Just adding a small field next to “Shortcut Target” where the user can add #anchor or something like that would be enough.

  5. Sebastian Michaelsen commented and changed status Closed New PHP Version 4.3 <span data-processor="relativetime" data-value="2016-04-13T09:04:39+00:00" > 04/13/16, 09:04 </span>

    This feature is still missing in TYPO3 8 and would definitely be helpful.

  6. Sebastian Michaelsen commented <span data-processor="relativetime" data-value="2016-05-11T11:41:54+00:00" > 05/11/16, 11:41 </span>

    I’ve created a little extension to cure my own itch: https://github.com/smichaelsen/typo3-shortcut-params

    Maybe that can help others with the same demand or can be the starting point to build it into the core.

  7. taywa gmbh commented <span data-processor="relativetime" data-value="2016-10-06T12:16:52+00:00" > 10/06/16, 12:16 </span>

    +1

    Workaround with external url is possible, but then no menu with active state can be renderd. please consider this to implement. maybe use code from https://github.com/smichaelsen/typo3-shortcut-params for it.

    I just tried this ext and its working well. thanks!

  8. taywa gmbh commented <span data-processor="relativetime" data-value="2020-04-10T17:21:11+00:00" > 04/10/20, 17:21 </span>

    “Will meet again”, did a search on google, and ups, I did need this 3 years ago and again now. Sadly still not implemented yet. And https://github.com/smichaelsen/typo3-shortcut-params is not working with TYPO3 9! So still +1

  9. Markus Zipfel commented <span data-processor="relativetime" data-value="2020-05-25T16:59:50+00:00" > 05/25/20, 16:59 </span>

    I was trying to create a shortcut to a content element and thought it might be sufficient to override the TCA of pages and update the database column pages.shortcut to VARCHAR(255):

    my_extension/Configuration/TCA/Overrides/pages.php

    <?php
    defined('TYPO3_MODE') or die();
    
    (function () {
        $GLOBALS['TCA']['pages']['columns']['shortcut']['config']['allowed'] = 'pages,tt_content';
    })();

    my_extension/ext_tables.sql

    #
    # Table structure for table 'pages'
    #
    CREATE TABLE `pages` (
        `shortcut` varchar(255) NOT NULL DEFAULT '',
    );

    The result is a value like tt_content_1234 in the shortcut column.

    I know: It’s not a valid typolink parameter. But it’s possible to use e.g. a ViewHelper that processes this value and replaces “tt_content_” with the PID of the content element followed by “#” (so that we get 12#1234 – means content element 1234 on page 12) which would be a valid typolink parameter.

    Maybe that’s helpful for someone out there…

  10. Tim Lochmüller commented <span data-processor="relativetime" data-value="2020-11-19T16:02:11+00:00" > 11/19/20, 16:02 </span>

    Based on Markus comment, I kicckstart this extension: https://github.com/lochmueller/custom_shortcut
    This allow pages (incl. migration wizard), tt_content and option for more thrid party records.

    Regards,
    Tim

  1. Lina Wolf commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-11-24T16:30:12+00:00" > 11/24/25, 16:30 </span>

    Applied in changeset commit:784c72bf631650348ec2129eb2e16f3f46f9c8c8.