New Module: IpsumJam

SteveX
SteveX
@ultrajam
12 years ago
2,584 posts
Very simple, it adds lorem ipsum text to the tinymce editor.

Pure lorem ipsum text, pure jamroom ipsum text, or a mixture of the two. Configure various html elements (if they are allowed on the quota).

It picks up the text from an external website. Custom sets of ipsum text can be created there (one set per profile). Whilst there are many custom placeholder text services (veggie ipsum, bacon ipsum, etc) this is the first that I have heard of which allows you to create your own custom ipsum text api.

I'm planning to have charts which show the popularity of the custom sets. There is still a bit to do on that service site, but I'd appreciate some feedback on how the plugin works for you.

Not very exciting, but as far as I know it is a unique type of site, and an example of Jamroom being used for something a little different.

jrDeveloper/jrMarket module creation and distribution seems to be working great, no problems at all creating, uploading and installing from the marketplace.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 12/13/13 02:23:03PM
Dazed
Dazed
@dazed
12 years ago
1,022 posts
Steve I am sad to say that I use an ipsum lorem generator almost every day so I can say I appreciate this one :)
SteveX
SteveX
@ultrajam
12 years ago
2,584 posts
If you could give it a try on windows Dazed that would be great - I haven't tested it at all on IE.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
12 years ago
10,148 posts
This is awesome Steve - checking it out now.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
12 years ago
10,148 posts
I've got it installed and enabled in the quotas, but am not seeing where to go to use it. Does it show up in the tiny MCE editor?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
12 years ago
2,584 posts
Yes, there should be an "ipsum" tab in the popup window.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
12 years ago
10,148 posts
SteveX:
Yes, there should be an "ipsum" tab in the popup window.

Which popup window? I don't have jrEmbed installed - does it work with the embed module?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
michael
@michael
12 years ago
7,773 posts
suggestions:
#1 change the title and label of the quota text:

Currently:
"allowed on profile" //perhaps "show ipsum tab in Embed popup"
"Should this Quota be allowed access to this module?" //perhaps "If this is checked users of this quota will be able to access the ipsum tab to insert ipsum into posts via the tinymce editor directly"

#2 on the popup ipsum tab, there is a "(links)" link that doesn't appear to do anything. clicking it I expected perhaps it would allow me to define where the links went. (as im writing this im thinking, perhaps its just an example of what a link is, but that did not occur to me when looking at the page. it was a link, so i clicked it.)

Nice looking module. :)
michael
@michael
12 years ago
7,773 posts
brian:...Which popup window? I don't have jrEmbed installed - does it work with the embed module?...

yup, its a tab on the jrEmbed popup window.
brian
@brian
12 years ago
10,148 posts
michael:
brian:...Which popup window? I don't have jrEmbed installed - does it work with the embed module?...

yup, its a tab on the jrEmbed popup window.

Awesome. Got it installed now and it looks good!

Add the following to your init function:

'requires' => 'jrEmbed'

That way it can't be activated without the jrEmbed module installed and activated.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Dazed
Dazed
@dazed
12 years ago
1,022 posts
Took a look at this in IE10 and FF current on Win 7. No issues. Nicely done.

Questions - I am guessing that Paragraph Length can have a combo of all 4 and not all or nothing. I kind of expected to only be allowed to click one box.

Can you explain - IpsumJam profile url in greater detail?

Suggestion - Create a help file on the Info tab explaining seed, type etc.

This should come in handy for developers.
updated by @dazed: 10/07/13 08:27:24PM
SteveX
SteveX
@ultrajam
12 years ago
2,584 posts
Thanks guys, great suggestions.

Dazed, the profile url is still being tested, the only possible profile url at the moment is stevex (and the ipsum text is rubbish: aaa,bbb,ccc,ddd, etc). I hope I'll be able to get the service site set up properly over the next couple of days, so you can create your own ipsum set.

The idea is that you can create ipsum sets on the service site, one per profile (but you could have many profiles). The profile name url eg "stevex" is what you would enter into the config. It will then appear in the dropdown on the ipsum tab.

You can use a comma list of profile names to have a wider choice of profile API.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
SteveX
SteveX
@ultrajam
12 years ago
2,584 posts
michael:
suggestions:
#1 change the title and label of the quota text:

Currently:
"allowed on profile" //perhaps "show ipsum tab in Embed popup"
"Should this Quota be allowed access to this module?" //perhaps "If this is checked users of this quota will be able to access the ipsum tab to insert ipsum into posts via the tinymce editor directly"
I can't find a way to do this - the lang strings are added with the quota setting in jrCore_verify_module.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
SteveX
SteveX
@ultrajam
12 years ago
2,584 posts
You can now add a comma separated list of profile_urls in the module config, eg
Quote: stevex,ultrabubble

Create your own custom ipsum set on the service site: http://ipsum.ultrajam.net
Then add that profile name to the module config.
Then choose that set in the API Type dropdown in the jrEmbed popup.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
12 years ago
10,148 posts
SteveX:
I can't find a way to do this - the lang strings are added with the quota setting in jrCore_verify_module.

You can do this in 5.1.0 by declaring the options when you register for the module feature - i.e. this is from the Tags module inti():

$_options = array(
    'label' => 'Allowed to Add Tags',
    'help'  => 'If checked, users in this quota will be able to add tags to items that have an add tag form.'
);
jrCore_register_module_feature('jrCore', 'quota_support', 'jrTags', 'on', $_options);

So the "label" is what ends up being shown in the config, with the "help" being the help text when help is expanded.

Let me know if that helps.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
12 years ago
2,584 posts
I'm sure that will do the trick!

Thanks Brian


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
brian
@brian
12 years ago
10,148 posts
No problem - let me know if you see any issues.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
SteveX
SteveX
@ultrajam
12 years ago
2,584 posts
Testing search: ujIpsumJam


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

Tags