CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Feature #32613

Enable save & preview button

Added by Felix Nagel over 1 year ago. Updated 7 months ago.

Status:Under Review Start date:2011-12-16
Priority:Should have Due date:
Assignee:Felix Nagel % Done:

80%

Category:Feature
Target version:-
Votes: 1 (View)

Description

Patch to make the "save and preview" button in edit blog post view.

You need to add tx_t3blog_pi1.singlePid = xxx to your page TSconfig, where xxx is your blogList widget including page UID.

Please test and give feedback!

class.tx_t3blog_tcemain.php_mod_v1.diff (2.1 kB) Felix Nagel, 2011-12-16 02:42


Related issues

blocked by T3BLOG - Bug #9131: Hidden posts cannot be previewed Accepted 2010-08-04

History

Updated by Felix Nagel over 1 year ago

  • Status changed from New to Under Review

Updated by Alexander Bigga about 1 year ago

This patch adds the GET parameter &tx_t3blog_pi1[blogList][showUidPerma] to the "Save & Preview Page" button.

Some remarks:

  • this only works, if the patches of Bug #9131 are applied
  • the GET parameter showUidPerma is deprecated. showUid is sufficient
  • why is it necessary to configure tx_t3blog_pi1.singlePid in the page TSconfig? This is confusing.
  • the button is named "Save & Preview Page". So it's maybe no bug, if you preview the page which default behaviour is blogList mode. So maybe this patch confuses other users?

Updated by Felix Nagel about 1 year ago

Thanks for reviewing my patch Alexander!

  • Correct, #9131 is needed in order to make my patch work. My bad, Ive changed the related issues accordingly.
  • Correct, we should use showUid here (I dont like deprecating showUidPerma because default t3blog permalink is no "permanent link", see #9774)
  • Using singlePid is TYPO3 standard afaik (see tt_news, news, etc.)
  • I must confess Im not quite sure what is meant here. The save & preview button opens a preview popup of the edited record.This is common usage of this button in TYPO3, so what should be confusing?

Updated by Alexander Bigga about 1 year ago

Hi Felix,

*"permalinks" are really a little strange in t3blog. But somewhere in the code, its written that showUidPerma is "old". Don't matter.
  • the usage of singlePid in TYPO3 may be common. But it's not common in t3blog. I only was confused.
  • The last poin is the confusing concept of t3blog. List and single are on one page. If you want to preview - which plugin mode of the page you want. You assume the single view. Others maybe the list view. I only wanted to tell my concerns. But you're right: I would expect the singe view...

Updated by informix 7 months ago

Ah, allright - sorry I did'nt recognize this post. That's what I ment:

There's a missing default function of a preview of new blog articles.
If everyone knows it's difficult to have an idea what a new desigend blog article look's like, therefore a preview is a must have feature.

Also available in: Atom PDF