Feature #17037
closedBetter Shortcut for pages
100%
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
Updated by Martin Kutschker over 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.
Updated by Ralf Hettinger over 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.
Updated by Ralf Hettinger over 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?
Updated by Ralf Hettinger about 17 years ago
Added patch for TYPO3 4.1.2: 5066_4.1.2.patch
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.
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...
Updated by Ralf Hettinger about 16 years ago
I should be able to have a look at this within the next two weeks.
Updated by Ralf Hettinger about 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.
Updated by Ralf Hettinger about 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.
Updated by Idar Sprock almost 16 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.
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
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?
Updated by Stefan Neufeind over 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.
Updated by Thorben Nissen about 13 years ago
Added a patch on review.typo3.org to change this linking behavior.
Updated by Stefan Neufeind about 13 years ago
Just for reference: https://review.typo3.org/3413
Might need to be split in separate patches though.
Updated by Thorben Nissen about 13 years ago
Why splitting? Isn't it only that one change?
Updated by Stefan Neufeind about 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 :-)
Updated by Steffen Gebert about 13 years ago
- Category changed from Communication to Frontend
Updated by Chris topher about 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
This has been committed to master in commit 5001d132ac45bb85ebce1062426f8d08c20d46e1.
Updated by Xavier Perseguers over 12 years ago
- Status changed from Resolved to Closed
Updated by Ernesto Baschny about 11 years ago
- Target version deleted (
4.6.0-beta1)