Project

General

Profile

Actions

Feature #17037

closed

Better Shortcut for pages

Added by Ralf Hettinger about 17 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2007-02-24
Due date:
% Done:

100%

Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:

Description

This issue is already well known and already scheduled/listed for maybe being merged into the core: http://wiki.typo3.org/index.php/Extensions_for_the_core
It means integrating functionality of the extension kb_bettershortcut (see http://typo3.org/extensions/repository/list/kb_bettershortcut/ ) into TYPO3's core.

Didn't want to steal anybody's workload but since kb_bettershortcut in the current available version of the Repository doesn't work any more with TYPO3 >4.0 and I needed this feature, here's my suggestion (i.e. patch) how to provide its functionality by default.
TYPO3 core 4.1.0RC2

Thanks to Bernhard Kraft for his initial effort with kb_bettershortcut which points out how this could be done.

(issue imported from #M5066)


Files

ttcontent_shortcut-4.1.0RC2.patch (5.41 KB) ttcontent_shortcut-4.1.0RC2.patch Administrator Admin, 2007-02-24 22:08
ttcontent_shortcut-4.1.0RC2.patch2 (6.63 KB) ttcontent_shortcut-4.1.0RC2.patch2 Administrator Admin, 2007-02-25 04:31
ttcontent_shortcut-4.1.0RC2.patch3 (6.73 KB) ttcontent_shortcut-4.1.0RC2.patch3 Administrator Admin, 2007-02-26 01:58
ttcontent_shortcut-4.1.0RC2.patch4 (6.72 KB) ttcontent_shortcut-4.1.0RC2.patch4 Administrator Admin, 2007-02-27 18:41
5066_4.1.2.patch (6.71 KB) 5066_4.1.2.patch Administrator Admin, 2007-07-23 13:34
5066_trunk.patch (10.6 KB) 5066_trunk.patch Administrator Admin, 2008-06-21 23:23
5066_trunk_v2.patch (16.6 KB) 5066_trunk_v2.patch Administrator Admin, 2008-06-22 16:53

Related issues 4 (1 open3 closed)

Related to TYPO3 Core - Bug #15128: Shortcut Handling can cause SEO problems and should be improvedClosed2005-10-20

Actions
Related to TYPO3 Core - Feature #46138: Allow for shortcuts to files (and content-elements?)New2013-03-08

Actions
Precedes TYPO3 Core - Bug #31079: Non-array argument passed to t3lib_div::implodeAttributes()ClosedXavier Perseguers2011-10-18

Actions
Precedes TYPO3 Core - Bug #36822: Invalid shortcut target on translated pagesClosedOliver Hader2012-05-03

Actions
Actions #1

Updated by Martin Kutschker about 17 years ago

Warning: when using workspaces your content element may change their id. SO until that problem is solved this nice feature is dangerous.

Actions #2

Updated by Ralf Hettinger about 17 years ago

To true, thank you Martin; haven't thought about that.

Maybe the patch might be of use for someone (like me atm) who doesn't need workspaces and therefore won't run into glitches.

Unfortunately I forgot two core config ext_tables files in the patch; please use ttcontent_shortcut-4.1.0RC2.patch2 if you're sure what you're doing instead.

Actions #3

Updated by Ralf Hettinger about 17 years ago

[edit]: Where do I have my head? patch3 has still a small bug. Time for a fourth version...

One more addition: Having tested the patch while being logged in to the BE, I just recognized that it won't work properly without being logged in (t3lib_BEfunc not available).

So: a third version of the patch, which uses t3lib_pageselect::getRawRecord

The API tells that t3lib_pageselect::getRawRecord "applies version overlay"; I do not know if that might solve the uncertainty of a record uid moving between different workspaces.

Could anybody familar with the workspaces/versioning implementation comment, please?

Actions #4

Updated by Ralf Hettinger almost 17 years ago

Added patch for TYPO3 4.1.2: 5066_4.1.2.patch

Actions #5

Updated by Benni Mack over 16 years ago

Hey Ralf,

can you work on your patch to make it work with workspaces as well? Because then we could integrate it into the next version.

Actions #6

Updated by Ralf Hettinger over 16 years ago

Hi Benjamin;

at the moment, I am a bit lacking of time admittedly. However, I will try to give this one some hours to work without any flaws for workspaces as well...

Actions #7

Updated by Benni Mack almost 16 years ago

Hey Ralf,

any news here?

Actions #8

Updated by Ralf Hettinger almost 16 years ago

I should be able to have a look at this within the next two weeks.

Actions #9

Updated by Ralf Hettinger almost 16 years ago

Uploaded a version, which should be safe for workspaces.
I did some testing, but am not sure if I covered every scenario - so: please test.

Actions #10

Updated by Ralf Hettinger almost 16 years ago

Please use _v2 for testing; previous version lacks some references to the shortcut field and isn't compatible for pagetree icon titles in backend.

Actions #11

Updated by Idar Sprock over 15 years ago

Hi there,
Can someone please update this extension in the Extension Repository?
Or create a new compressed extension .T3X file?
I will be using it for Typo3 versions 4.1.X and 4.2.x

I'm not able to patch extensions, only update them!
Kind regards and thanks in advance.

Actions #12

Updated by Tobias Huettel over 14 years ago

5066_trunk_v2.patch works fine with TYPO3 v4.3.0, except for multi language setups:
Selecting a page content element as shortcut target is not possible in other than the default language

Actions #13

Updated by Ralf Hettinger over 14 years ago

Thanks Tobias for reporting back :)

It's true, that selecting content elements for multilang setups hasn't been on scope when I wrote the patch. So not too astonishing it doesn't work. I feel it shouldn't be to much work to get this in, but probably won't dig into this again until I need it; sorry.

Btw: Did you have the chance to play around with workspaces though?

Actions #14

Updated by Stefan Neufeind about 14 years ago

It would be great to have this in - maybe even without multilang in the first step, but I haven't yet had a closer look if that might also be doable.
Thanks for working on this topic.

Actions #15

Updated by Thorben Nissen almost 13 years ago

Added a patch on review.typo3.org to change this linking behavior.

Actions #16

Updated by Stefan Neufeind almost 13 years ago

Just for reference: https://review.typo3.org/3413
Might need to be split in separate patches though.

Actions #17

Updated by Thorben Nissen almost 13 years ago

Why splitting? Isn't it only that one change?

Actions #18

Updated by Stefan Neufeind almost 13 years ago

Oh right. I just looked up the review-URL and had your patch for #15128 (somewhat related) in mind. This one looks small enough :-)

Actions #19

Updated by Steffen Gebert over 12 years ago

  • Category changed from Communication to Frontend
Actions #20

Updated by Chris topher over 12 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

This has been committed to master in commit 5001d132ac45bb85ebce1062426f8d08c20d46e1.

Actions #21

Updated by Xavier Perseguers about 12 years ago

  • Status changed from Resolved to Closed
Actions #22

Updated by Ernesto Baschny almost 11 years ago

  • Target version deleted (4.6.0-beta1)
Actions

Also available in: Atom PDF