PDA

View Full Version : Administrative and Maintenance Tools - Smart Template


rellect
03-22-2013, 11:00 PM
========================================
Description:
========================================

This mod integrates CodeMirror (http://codemirror.net/) code editor with vBulletin templates system.

What does it means:
1. Colored tags
2. Option to tab (indent)
3. Line numbers
4. Auto-closer for tags (Example: you just write <div> and it adds </div> automatically)
5. Auto-complete menu for html code.

Makes the work with templates much more comfortable and easy to read.

-----
If you installed this mod and/or you want get support, please "Mark as Installed".
-----

========================================
Notice:
========================================

Install it only if you run vB5.0.0 or vB5.0.1.
vBulletin has CodeMirror editor for templates built-in starting from vB5.0.2

========================================
How to install:
========================================

1. Upload the content of 'upload_to_root' directory to your root.
2. Make sure that Plugin/Hook System is enabled, it is disabled by default.
3. Reload your site (twice) - this mod uses the Auto-Install feature.

Auto-Install it's a feature that allows vB5 to install addons automatically after all files uploaded.
There is no need to install xml manually anymore.

/*
IF YOU FOLLOWED THE STEPS BUT THE MOD DON'T LOOKS TO BE INSTALLED,
DO THE STEPS OF THE UPGRADE PROCESS TO INSTALL THE MOD MANUALLY.
IF THAT DOESN'T HELP, PLEASE LEAVE A MESSAGE IN THE MOD'S DISCUSSION IN VB.ORG
*/

========================================
How to upgrade:
========================================

1. Upload the content of 'upload_to_root' directory to your root
2. Find the file "product_rellectsmarttemplate.xml" in /upload_to_root/core/packages/rellectsmarttemplate/xml
3. Go to Import Product in the admincp
4. Upload the xml

========================================
Knows Issues:
========================================

The field to search in template doesn't work,
You have to use the browser search for now.


The editor need to declare in what language the code is.
It knows it by the container tag, like <html>, <style>, <script> etc
Since the .css templates in vbulletin do not contain an container tag, the editor cannot know in what language the code is.
So there is no colored code in these css templates for now.
========================================
Log:
========================================

[23/03/13] 1.0
* First release

smgxtreme
03-23-2013, 04:58 PM
Nice Thank you

ido44
03-24-2013, 03:57 PM
Thank

GENX2
03-24-2013, 06:20 PM
Thanks ,
But why not work with me ?

rellect
03-24-2013, 06:57 PM
Thanks ,
But why not work with me ?
Please explain.

GENX2
03-24-2013, 07:11 PM
Please explain.

in attachments

rellect
03-24-2013, 09:27 PM
in attachments
Looks like the mod wasn't installed properly.
Have you followed the all steps of the installation?

Also, please mark the mod as installed to get support.

yilmaz
03-25-2013, 12:40 AM
great work thank you

rellect
05-06-2013, 07:00 AM
Whoever installed this mod, know that you will need to remove it once you upgrade to vB5.0.2, cause starting from this version vB5 will has CodeMirror editor for templates built-in.