? ? Success

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
19 Feb 2014

Same as #2252 but to staging

http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=32311&start=0

Description

The custom templates loaded in tinymce had to be done in a different way as of Tiny3 (currently they were hardcoded in as a temporary method). The time has come for them to be properly coded in. This uses the repeatable form field entered into service with Joomla 3.2 to achieve this.

Testing

Apply this PR and #3574

Edit the tinymce plugin and check the repeatable form field exists (it's 3rd from bottom in the advanced tab) and opens correctly and that save and close buttons work as expected.

The button is here:
repeatable modal

The button should open a modal like this (note it may open right at the top of the page rather than in front of you):
repeatable modal

Test that adding a tinymce template works as expected and that you can use the existing or a custom template when creating an article

avatar wilsonge wilsonge - open - 19 Feb 2014
avatar wilsonge wilsonge - reference | - 23 Feb 14
2c4a359 24 Feb 2014 avatar wilsonge oops
avatar Bakual Bakual - reference | - 27 Feb 14
avatar Bakual Bakual - reference | - 12 May 14
avatar brianteeman
brianteeman - comment - 23 Jul 2014

Is this still an issue I couldnt replicate it or was it resolved with #3171

avatar wilsonge
wilsonge - comment - 23 Jul 2014

Bug is that if you click on the repeatable form field, press close in the modal, then reopen again then you get everything mega duplicated :(

avatar brianteeman
brianteeman - comment - 23 Jul 2014

what is a repeatable form field?

avatar wilsonge
wilsonge - comment - 23 Jul 2014

A 3.2 feature that we added. This was gonna be the main core use case

avatar wilsonge
wilsonge - comment - 23 Jul 2014

apply patch. edit tinymce plugin and go to the templates field and you should see it

avatar wilsonge wilsonge - change - 23 Jul 2014
Title
Add repeatable Form Field to Tiny
[#32311] Add repeatable Form Field to Tiny
avatar brianteeman
brianteeman - comment - 23 Jul 2014

Can you update the test instructions on the joomlacode issue please

avatar infograf768
infograf768 - comment - 23 Jul 2014

Let's wait on that one.
We should normally get this one
#3912 (comment)
in 3.4

avatar artur-stepien
artur-stepien - comment - 25 Jul 2014

I updated code in #3912

avatar wilsonge wilsonge - change - 27 Jul 2014
Status New Closed
Closed_Date 0000-00-00 00:00:00 2014-07-27 10:49:18
avatar wilsonge wilsonge - close - 27 Jul 2014
avatar wilsonge wilsonge - close - 27 Jul 2014
avatar wilsonge wilsonge - change - 27 Jul 2014
Status Closed New
avatar wilsonge wilsonge - reopen - 27 Jul 2014
avatar wilsonge wilsonge - reopen - 27 Jul 2014
avatar wilsonge
wilsonge - comment - 27 Jul 2014

Please test this in combination with #3574

avatar nicksavov nicksavov - change - 21 Aug 2014
Labels Removed: ?
avatar zero-24
zero-24 - comment - 25 Aug 2014

Please test this in combination with #3574

@wilsonge @test successful in combination but with a littel comment/note. But i don't know if it is a issue here or in #3574. Please see on your own picture with the modal the "+" buton on the top (next to description) is a green button but with a "-" instead of a "+" in it.

avatar losedk
losedk - comment - 25 Aug 2014

@zero-24 It's good here:

skaermbillede 2014-08-25 kl 20 03 53

avatar zero-24
zero-24 - comment - 25 Aug 2014

Thanks @losedk It looks like a issue on my side. The code (using firebug) says icon-plus but it display icon-minis on my side anywise. So it is a cache issue or somthing else. So my test is successful.

avatar infograf768
infograf768 - comment - 28 Aug 2014

Please do not forget that we have totally changed the way we get/display templates in #3912

bfa1871#diff-d93fcfa294cc59e70963805efe9f303b
This means this PR is not good anymore.

avatar brianteeman brianteeman - change - 28 Aug 2014
Status New Pending
avatar wilsonge
wilsonge - comment - 28 Aug 2014

I think this is a better method as it gives more flexability than that other PR personally (note it doesn't display the templates at all except for in the editor itself). And the reason that was merged was because this wasn't quite ready at the time. I would add when I wrote that tiny code the intention was to use this as a demo case for using the form field...

#3912 is still only in 3.4-dev, it's not a B/C issue to revert the other PR before we ship because it's never been in a public release. So if people prefer this we can still use this instead but we have to make a decision soon

Having said that. The most important thing is to get #3574 merged - that's independent of this but it means the form field itself works. This is just a use case for the form field.

avatar roland-d
roland-d - comment - 27 Feb 2015

@wilsonge What's the status on this? #3574 is merged but a joomler wrote 12 days ago that he has a better solution.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/3147.
avatar roland-d
roland-d - comment - 3 May 2015

@wilsonge Can you please provide feedback on this within the next 4 weeks. If no feedback has been provided the issue will be closed. Thank you for your contribution.

avatar wilsonge wilsonge - change - 3 May 2015
Status Pending Closed
Closed_Date 2014-07-27 10:49:18 2015-05-03 11:17:06
Closed_By wilsonge
avatar wilsonge wilsonge - close - 3 May 2015
avatar joomla-cms-bot joomla-cms-bot - close - 3 May 2015
avatar joomla-cms-bot joomla-cms-bot - change - 3 May 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment