Description
This simple Joomla plugin adds an additional button to the editor page. In plugin parameters you can set any text which will be added to your articles then button is pressed. Can be used with add frequently used phrases or code into your articles (such as custom module positions from Content - Load Modules plugin).
Usage
1. Install the plugin
2. Open Extensions > Plug-in Manager > Button - Custom Text
- Change status to Enabled
- Enter your Custom Text
- Enter Button Label (Optional)
3. Save changes and open new or existing article
4. Place cursor where you want for your text to appear and press Cust Text Button
Downloads
Compatible and tested with Joomla 2.5 and 3.1
Please report all bugs and errors here.
If you need to add a second button, download this.
Comments
I have instaled the plugin , and made a modification. I have changed type to textarea and added cols and row as 30 and 4.
I have added the code for a table. Now when i press the button it`s not inserting anything and it sends me to the control panel. Any ideea ?
Thank you.
Joomla 3.3 Custom Text Button v1.4 activated.
Any successions?
Using the button at bottom of Editor-Window, get the string {loadposition Gallery}. But no Button appears, when the article is displayed.
Use of undefined constant PLG_SYSTEM_J2XM L_BUTTON_EXPORT - assumed 'PLG_SYSTEM_J2XM L_BUTTON_EXPORT' in C:\xampp\htdocs \sub\plugins\sy stem\j2xml\j2xm l.php on line 95
Any ideas what the problem might be, please?
I want your plugin to add the text:
{aridoc engine="google" width="500" height="400"}media/k2/attachments/YOUR-FILENAME-HERE{/aridoc}
It works, except Ari Doc processes it when you click the button so the text doesn't appear, just the box where Ari Doc is trying to display a file that hasn't been specified. I did contact them first...they looked into it and said their plugin isn't compatible with yours. So, I'm assuming you won't be able to help, but I wanted to confirm there isn't anything I could do to have it insert the text without Ari Doc processing it before it's published.
Thanks!
Popup link in a 800x600 modal window. Replace *all* of this text with the text to be displayed
http://www.ogosense.com/blog/how-to-use-lightbox-in-joomla-25
When a user clicks on the custom button, it prompts them to fill in an input field?
Sort of like how the default "page break" button asks for a "Page Title" and "Table of contents alias"
Thanks a lot !
Try setting Text Filters to No Filtering
this code:
a data-lightbox=" transitionIn:fa de; transitionOut:f ade;" href="/joomla/v antage/images/d emo/gallery/col umn_5/1_big.jpg ">
had to edit out tags
I've duplicated the class and added few buttons.
Must have plugin...!!!
copy and paste custom text plugin. rename it to your button name. lets call it my button.
replace the custom text class name with my button in all occurrences.
Please refer the sample code in my previous comment.
Hope this helps
Thanks
btw good job, thanks.