Results 1 to 1 of 1

Thread: MenuEditor Add-on

  1. #1
    Join Date
    Jul 2005
    Location
    Sao Paulo, BRAZIL
    Posts
    3,763

    Default MenuEditor Add-on

    MENUEDITOR ADD-ON
    - version 1.0.6 - released at Nov,17/2009 (only available updating using the "Add-on Manager")
    - ...
    - version 1.0.0 - released at Oct,05/2009

    #. ABOUT THIS ADD-ON:
    This add-on dinamically build menus at your pages: Horizontal Menu (2 types) and Vertical Menu (2 types). All menu items and links are stored at the database and ONLY the "admin" user will handle it.

    #. INSTALLATION:
    Create a new directory named "menueditor" inside your "addons" folder and unpack the file "menueditor.zip" inside the new directory. Be sure you will not end with two directories named "menueditor". After that, all you need to do is to log in at backend as "admin" and the add-on will be automatically installed.

    #. HOW TO USE THIS ADD-ON:
    You will need to insert at your main HTML template files (main.html and/or page#_main.html) the add-on tags:

    {addon_menueditor_display_horizontal_unordered} - this tag will print at your page a Horizontal Menu (Unordered List) with the following HTML code:

    <div id="addon_menueditor_horizontal">
    <ul>
    <li><a href="..." title="...">...</a></li>
    <li><a href="..." title="...">...</a></li>
    <li><a href="..." title="...">...</a></li>
    </ul>
    </div>

    {addon_menueditor_display_horizontal_definition} - this tag will print at your page a Horizontal Menu (Definition List) with the following HTML code:
    <div id="addon_menueditor_horizontal">
    <dl>
    <dt><a href="..." title="...">...</a></dt>
    <dt><a href="..." title="...">...</a></dt>
    <dd><a href="..." title="...">...</a></dd>
    </dl>
    </div>

    {addon_menueditor_display_vertical_unordered} - this tag will print at your page a Vertical Menu (Unordered List) with the following HTML code:
    <div id="addon_menueditor_vertical">
    <ul>
    <li><a href="..." title="...">...</a></li>
    <li><a href="..." title="...">...</a></li>
    <li><a href="..." title="...">...</a></li>
    </ul>
    </div>

    {addon_menueditor_display_vertical_definition} - this tag will print at your page a Vertical Menu (Definition List) with the following HTML code:
    <div id="addon_menueditor_vertical">
    <dl>
    <dt><a href="..." title="...">...</a></dt>
    <dt><a href="..." title="...">...</a></dt>
    <dd><a href="..." title="...">...</a></dd>
    </dl>
    </div>

    Inside the add-on folder, you will find at the "css" sub-folder, the stylesheets for the menus (edit them as you wish). There are TWO different files, one for each menu type (horizontal and vertical).

    #. IMPORTANT:
    THIS ADD-ON DO NOT BUILD A "PARENT" / "CHILD" DROP DOWN MENU !
    The add-on author WILL NOT give any support related to this issue.
    If you wish to have it and you don\'t know how to edit the add-on, go and post at the "Open-Realty Work Forum" and hire someone to do it for you.

    #. GENERAL INFORMATION:

    * When you create/edit a new menu item, you will see the field "Show to:" with the following options:
    - public & up (show to everybody, all the time, with no restrictions)
    - hide after log in (hide it if members, agents or admin are logged)
    - members & up (only LOGGED members, agents and admin will see it)
    - agents & up (only LOGGED agents and admin will see it)
    - admin only (only LOGGED admin will see it)

    * You can use "lang tags" at your menu. Those tags are going to be stored at the database like this (for example): {lang_yes} - at frontend it will be printed as: {lang_yes} - of course, all lang tags require the correspondent PHP variable at a language file, e.g.: $lang['yes'] = 'yes';

    * Do not use HTML entities. At frontend, all special chars are going to be correctly printed. For example:
    - "&" will be printed as "&amp;"
    - "á" will be printed as "&aacute;"
    - and so on...

    * If you wish to use "rel=external" at your links, the add-on will automatically load the "../js/rel_external.js" JavaScript file.

    #. UPDATE:
    Use the "Add-on Manager" to update this add-on.

    #. UNINSTALLATION:
    Use the "Add-on Manager" to uninstall this add-on.

    #. DOWNLOAD:
    Download the add-on at the Open-Realty Add-ons Website.

    Have fun,
    Eduardo

    p.s.:
    - the "zip" file attached at this thread is version 1.0.0
    - you can always use this URL to download the latest version of this add-on: http://ebmarques-addons.googlecode.c...menueditor.zip
    Last edited by ebmarques; 09-17-2010 at 01:32 PM. Reason: version 1.0.6 - released at Nov,17/2009

    Open-Realty® DOCs
    We can easily forgive a child who is afraid of the dark; the real tragedy of life is when men are afraid of the light. (Author Unknown)

Bookmarks

Posting Permissions

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