Feature #17037

Better Shortcut for pages

Added by Ralf Hettinger over 14 years ago. Updated over 7 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

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
#1

Updated by Martin Kutschker over 14 years ago

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

#2

Updated by Ralf Hettinger over 14 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.

#3

Updated by Ralf Hettinger over 14 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?

#4

Updated by Ralf Hettinger about 14 years ago

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

#5

Updated by Benni Mack almost 14 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.

#6

Updated by Ralf Hettinger almost 14 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...

#7

Updated by Benni Mack over 13 years ago

Hey Ralf,

any news here?

#8

Updated by Ralf Hettinger over 13 years ago

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

#9

Updated by Ralf Hettinger over 13 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.

#10

Updated by Ralf Hettinger over 13 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.

#11

Updated by Idar Sprock about 13 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.

#12

Updated by Tobias Huettel almost 12 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

#13

Updated by Ralf Hettinger almost 12 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?

#14

Updated by Stefan Neufeind over 11 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.

#15

Updated by Thorben Nissen about 10 years ago

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

#16

Updated by Stefan Neufeind about 10 years ago

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

#17

Updated by Thorben Nissen about 10 years ago

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

#18

Updated by Stefan Neufeind about 10 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 :-)

#19

Updated by Steffen Gebert about 10 years ago

  • Category changed from Communication to Frontend
#20

Updated by Chris topher about 10 years ago

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

This has been committed to master in commit 5001d132ac45bb85ebce1062426f8d08c20d46e1.

#21

Updated by Xavier Perseguers over 9 years ago

  • Status changed from Resolved to Closed
#22

Updated by Ernesto Baschny over 8 years ago

  • Target version deleted (4.6.0-beta1)

Also available in: Atom PDF