Enable save & preview button
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!
#2 Updated by Alexander Bigga over 7 years ago
This patch adds the GET parameter &tx_t3blog_pi1[blogList][showUidPerma] to the "Save & Preview Page" button.
- 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?
#3 Updated by Felix Nagel over 7 years 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?
#4 Updated by Alexander Bigga over 7 years 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...
#5 Updated by informix no-lastname-given about 7 years 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.