Support Joomla!
Search: Advanced Search
Serving 3085 extensions to the community. Last updated today.





Lost Password?
No account yet? Register

Who's Online

We have 1044 guests and 79 members online
Joomla! Extensions Directory feed - RSS 0.91

Directory Support

Rules
Using this Site

Disclaimer

The extensions and reviews listed in this area have been submitted by the community and their listing does not constitute or imply endorsement, recommendation, or favouring by Joomla!/OSM.

This content is provided as a free service to our visitors, and, as such, Joomla!/OSM cannot be held liable for the accuracy of the information. Visitors wishing to verify that the information is correct should contact the parties responsible for authoring the content and/or development of the extension.


Are you seeing blanks over some extensions' compatibility, license and type field? Head over to JED forum to learn why.
Custom Code Show All Developer's Extensions
MosSnippet Pluginplugin
Rating
11 votes
Developer:Martin Larsen Version:1.01 (Updated 18 days ago)
E-mail: This e-mail address is being protected from spam bots, you need JavaScript enabled to view it Compatibility:Compatible with Joomla! 1.0
Views: 26,273 License:GPLv2.0
Favoured:
15
Type:Non-Commercial
Date Added:Nov 17, 2006
DownloadHomepageWrite ReviewRecommend
New version 1.01
================
There was a problem with the way Joomla stores parameters. Whenever you insert a linebreak in a text field (like a snippet), Joomla converts the linebreaks to tags. These tags can easily ruin your javascript or php code.

This version reverses the process by converting the tags back to normal linebreaks again. It also features 30 snippets instead of 15.

MosSnippet is a plugin (mambot) to insert text, html or php code in content. Now you don't have to worry about the wysiwig editor sabotaging your precious code! You can create up to 30 snippets using the fields in the mambot editor. You insert the snippets in content by referring to the number or an optional name. For example, {snippet 1} or {snippet paypal}. When processed, the tags will be replaced with the snippet in question. Text and html code will be inserted unaltered, while php code will be interpreted. EXAMPLES TEXT OR HTML Just paste the text/code into the snippet field. It will be inserted exactly like entered. Example: Click here PHP You must enclose the code with tags. Just like ordinary PHP code. You can use the MIX You can mix everything if you just remember the appropiate opening and closing tags. You can have as many blocks of html and php as you like. Example: MosSnippet MosSnippet is a great plugin for inserting html and php in content! LINKING EXTERNAL FILES This is done using straight php:

Report this listing


Perfect for the job by mantis_108, March 27, 2008
Thanks for writing this, it solved our problems -- does exactly what it says.


Just what I needed! by smileylolo, January 5, 2008
This is exactly what I needed - fantastic extension, but in order to save scripts I had to include the following in the .htaccess file to avoid 406 Not Accepted errors:

SecFilterEngine Off
SecFilterScanPOST Off


Huge time saver. Insert form & update hundreds of pages by pintobuck, September 28, 2007
Huge time saver.Very easy to insert script and make updates.

I need to insert buy-now forms anyplace within a content page. I have hundreds of pages so I need quick and easy method to insert the form. Also, need to modify the form without going back to revise hundreds of pages.

I created the form out of css, html, & javascript.
Named the form: buy-now-form.html
Insert the form in any content page by inserting the string:
{snippet buy-now-form}
Copy and paste that string as text anyplace in the page.
That is all you need, and the form shows up in page.
When I revise the form in buy-now-form.html, it automatically revises the form on every page which contains
{snippet buy-now-form}

That is a major time saver.
And, it keeps the Joomla pages simple to edit. I do not have a lot of form code cluttering up the text pages.


Great Mambot by locii, April 17, 2007
This is such a useful mambot. I've been using it instead of a wrapper for including some php files in content - it works wonderfully. Thanks.


Absolutely brilliant! by realokun, February 15, 2007
I am so happy I've found this mambot! In fact, I was going to write just the same one myself. See, I am a programmer and I hate to use copy and paste instead of reuse. But that was something I had to do with my content in Joomla! before this mambot. Example? I have a number of pages with a flash-based picture gallery on my site (http://www.bctrikes.com). Underneath each gallery I provide some viewing tips content that is identical on all those pages. Without this mambot I had to maintain all those copies of content and keep them in sync. Yikes! But not anymore! Thank you Martin!


Nice for PHP and Carp Calls by genie, December 11, 2006
I was looking for something to help me with my registered RSS PHP processor called Carp. This has answered my issues with Joomla bashing the php code. This script is very simple to install, clear notes on it's use. I just enter my entire carp php code into the snippet and then call the snippet within the content page. Voila!!
Drawbacks - it's limited to 15 snippets. I could probably use 50, so I need to dole them out sparingly. Unlimited would be make this script an EXCELLENT.
Hats off to the author of this script.


Simple, Functional, Very Useful by WBW, November 21, 2006
1 of 1 people find this review helpful:
The church website I maintain has 50+ short content items about our denomination's history that are randomly rotated with the Joomla core module mod_newsflash, as "teasers" to catch a newcomer's attention. The first paragraph is unique to each item, but the second is common to them all, containing a brief description of the denomination and a link to its official website.

Rather than doing tedious copy / paste operations for this second paragraph, I've simply entered the text and link HTML into the MosSnippet back-end and include it in each teaser with a single plugin reference. Simpe, fast and easy to edit if need be.

Also, at the bottom of all the main-body content items, I have a "return to top of page" image link included with {snippet top}. Again, nice and easy.

Pro - You can refer to any one of 15 snippets via the snippet number e.g. {snippet 1} or give each snippet an easy-to-remember name and refer to it by that name e.g. {snippet top} yet the numeric reference will still work, too.

Con - As of 1.00 beta, back-end does not prevent duplicate snippet names