Results 1 to 13 of 13

Thread: TinyMce Plugin for Frontend and Backend

  1. #1
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default TinyMce Plugin for Frontend and Backend

    Tinymce Plugin V1.2

    Type:
    Plugin with Tinymce 3.2.1.1 bundled
    Title: Tinymce for indexu frontend and backend
    Description: 3 Modular for Tinymce intergation with indeux deluxe
    Version: 1.2
    Compatibility: Deluxe Only,
    Price: Free

    DB Changes: No
    Template changes: No
    Code changes: Yes
    Additional files: No
    Installer included: Yes

    Live Demo URL:
    Support Site: http://www.nicecoder.com/community
    Installation Guide: Bellow
    Screenshot: Yes

    Overview


    Let me know if we can remove some of the controls in the backend


    Frontend Plugin = tinymce_plugin.php
    Minimal customised version of tiny mce that all controls works in indexu.
    This includes a tinymce plugin called SimplePaste to auto format pastes from word and stripout the markup. Also includes a working spellchecker, this should all work out of the box just extract the archive and upload the directory to your plugins directory and enable in the backend.

    Hooks

    1. hook_html_add_form_begin
    2. hook_html_suggest_category_form_begin
    3. hook_html_modify_form_begin
    4. hook_html_cp_link_modify_form_begin
    5. hook_html_review_form_begin

    Backend Plugin for Links = tinymce_backend_plugin_links
    .php
    Plugin 2 that allows directoryowners/editors to use the advanced Tinymce in the backend for validate/add/edit/search links/articles etc.

    Hooks

    1. hook_html_admin_link_validate_edit_form_begin
    2. hook_html_admin_link_add_form_begin
    3. hook_html_admin_link_search_form_begin
    4. hook_html_admin_link_edit_form_begin
    5. hook_html_admin_review_edit_form_begin
    6. hook_html_admin_review_validate_edit_begin

    Backend Plugin for Categories = tinymce_backend_plugin_cats.php

    Plugin 3 that allows directoryowners/editors to use the advanced Tinymce in the backend for add/edit/search categories.

    Hooks

    1. hook_html_admin_cat_validate_edit_form_begin
    2. hook_html_admin_cat_add_form_begin
    3. hook_html_admin_cat_search_form_begin
    4. hook_html_admin_cat_edit_form_begin
    __________________________________________________ ______________
    Installation

    1:\ Step1
    In order to get the frontend plugin to work correctley with the indexu filters you must edit the file "misc.lib.php" that is located in you /lib directory.
    So open the file and find line 650 and remove the
    PHP Code:
    |style 
    only out of the line.
    Find line 653 and remove the
    PHP Code:
    $pattern[] = '/<[^>]+.*?(expression\(|style=[\'"])/msi'
    line completley.
    Save the changes and overwrite "misc.lib.php" with your edited version.
    *Note*
    This is an indexu core file edit and this file will have to edited again after any upgrades.
    Lastly goto your indexu backend and click on the "option" "setup" then scroll down to "allowed HTML tags" clear the textfield and paste exactly this

    PHP Code:
    <b>,<strong>,<i>,<em>,<u>,<pre>,<blockquote>,<ol>,<ul>,<li>,<p>,<span>,<div>,<table>,<tr>,<td>,<br>,<br /> 
    Scroll down and click change application setting.
    2:\ Step 2
    Download the compressed archive to your local machine, then extract the files to a directory.
    Once the files are extracted upload the folder "tinymce" to your "../plugin/" directory on your host.
    3:\ Step 3
    Browse to your indexu backend, then acsess your plugins control pannel, at the botton of your page, click view all.
    You will now find 3 additional plugins

    • TinyMce FRONTEND
    • TinyMce "Indexu_Links" BACKEND
    • TinyMce "Indexu_Categories" BACKEND
    Simply activate what you want.

    Finished
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by echo@; 01-28-2009 at 10:20 AM.
    ____________________________
    http://www.articleconveyer.com
    Give Your Articles Exposure



  2. #2
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    echo@...

    If I'm only going to use this for backend use, can I skip step 1 or no?
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  3. #3
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    Yes, I think so
    ____________________________
    http://www.articleconveyer.com
    Give Your Articles Exposure



  4. #4
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Should I see the TinyMCE control panel attached to the custom fields when adding a link in the back end or no? Do I just need to know what html codes I can use already?
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  5. #5
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    tinymce will attach itself to all textareas for the page in the backend it is hooked into, so yes it will work even on custom textareas in the backend.


    Do I just need to know what html codes I can use already?
    You can use any html code you want in the backend
    Are you having problems with it?
    ____________________________
    http://www.articleconveyer.com
    Give Your Articles Exposure



  6. #6
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    The TinyMCE control panel is not attaching itself to the custom fields when adding a new listing. It would seem the html codes work, since I used a bunch of <br> statements in it and that worked fine.

    Any chance you can take a look at it... I'll e-mail you the information
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  7. #7
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    Yeah fixed it

    for some reason you had

    PHP Code:
    <script type="text/javascript" src="lib/tinymce/jscripts/tiny_mce.js"></script>
    <script type="text/javascript" src="lib/tinymce/init.full.js?elmtestarea"></script> 
    in your admin_tpl/header.html file? Can some one confirm if the is officially part of the indexu trunk?

    Throwing a "tinymce o is not a constructor" error

    I certainly didnt have this in my indexu 1.2 installation when i was developing it?
    You can see where im coming from with this, its another edit to the core.
    Last edited by echo@; 01-30-2009 at 06:30 AM.
    ____________________________
    http://www.articleconveyer.com
    Give Your Articles Exposure



  8. #8
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Nope!! This was totally my fault! I forgot all about that!!!

    Before your plugin, I was trying to see why the TinyMCE control panel wasn't showing in IndexU, so I tried adding that to the header file. I completely forgot to remove it!

    Sorry about that bud!
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  9. #9
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    anyone using this?

    anyone enjoying using this?

    Plugin of the month?
    ____________________________
    http://www.articleconveyer.com
    Give Your Articles Exposure



  10. #10
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Hey bud... Nice to see you posting again!!!

    Sorry I didn't post back a review, but this plugin is beyond good... Its GREAT!!!! Its made my life and my directory 10000 times better!

    There's no doubt in my mind that this plugin should win POTM!!!
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  11. #11
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    Im temporally on a 28kps dial up, it keeps dropping out

    So im kinda here, had a lot of work on so ive disapered for a while

    First day at the new job also, lots to learn.....

    Thanks for the feed back buddy seems your the only one, five downoads mind you

    So whats been happening over the last 3 or so weeks ? have i missed much?
    ____________________________
    http://www.articleconveyer.com
    Give Your Articles Exposure



  12. #12
    Join Date
    Sep 2001
    Posts
    170

    Default

    Hi

    just down loaded (#6)
    Looks very good so far - I am having trouble getting spellchecker to work - its giving the follwing error code
    "spellchecker_rpc_url"
    Where do I get this url and where do I put it?

    Many thanks Mark

  13. #13
    Join Date
    Oct 2007
    Location
    UK Essex
    Posts
    591

    Default

    is this for the front end or backend plugin?


    I ran into this problem and fixed it, so i must of left it out in the final version in the mad rush.

    as far as i could remember it was a false error, really it should say No misspellings found, I think!

    When I get home ill fix it
    ____________________________
    http://www.articleconveyer.com
    Give Your Articles Exposure



Similar Threads

  1. Indexu Deluxe and Tinymce
    By echo@ in forum INDEXU DELUXE v1.x
    Replies: 5
    Last Post: 08-25-2008, 03:19 AM
  2. Tinymce WYSIWYG for Admin
    By echo@ in forum Blocks and Modification
    Replies: 3
    Last Post: 04-27-2008, 08:40 PM
  3. Replies: 4
    Last Post: 10-01-2007, 04:44 PM
  4. Replies: 2
    Last Post: 05-26-2006, 10:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •