NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
PhpEd-rel-Editor


Joined: 14 Aug 2013
Posts: 1
Reply with quote
Hello,
This is Sam Saini ( darksam1995 ) ...

I am Not a professional coder but i try to design a php script to edit PhpEd's ".rel" file easily.

Thanx to NuSphere PhpED for making my Coding easy and to save my time with wonderful features.

I design this script to add,edit,update Tags,Attributes and Css rules in ".rel"...

Install this script on local server like( WAMP ) or run from PhpED directly.
Open Config.php file and enter correct Username and save the the file....

Download:
Code:
http://farmvilleitemcodes.com/darksam1995/phped/PhpEd-rel-Editor.zip


Features:
#AutoCodeCompletion:
A box will appear when you will start typing with full existing options to edit.

#CheckIfCodeInCustomFile
If the Entered code exist in custom "rel" file, it will be Shown On AutoComplete Box.

#CodeDeleteFromCustomRel
Enter the code and select from AutoComplete Box, Now Check "Delete Input From Custom File" and Hit Save, Code will be removed from Custom "rel".


Work:

Chose The Type And Version you want to edit or update and Hit ( Load ) Button.

If you Select HTML, you will see 5 options (Tag , Tag Description, Required Attribute, Tag Props, Attribute Description) ..
Detail-Description:::HTML

#Tag:
Here You can ( add,update,edit ) a Tag..
Example: To Edit Tag ( <a> </a>)... enter ( a=href:^href ) ..
To Separate each attribute use comma ( , ) in starting of attribute.
Your Can Edit or Add New Tag Yourself...

#Tag Description:
Here you can define something about the Tag.
Example: a=Hyperlink
Your Can Edit or Add New Tag Description for your Tag Yourself...

#Required Attribute:
Here you can set the required attributes of a tag.
Example: applet=width,height (Now when you will enter Tag "<applet>", width and height attributes will be added automatically by phped.)
Your Can Edit or Add New Required Attribute for your Tag Yourself...

#Tag Props:
Here you can set Props for the Tag.
Example: a.ForbiddenChildTags=a ( This will make Tag "<a>" to not use again under "<a>" Tag like:"<a><a></a></a>". PhpEd will mark <a> under <a> as wrong Tag. )
Your Can Edit or Add New Tag Props for your Tag Yourself...

#Attribute Description:
Here you can set description of a attribute.
Example: action=server-side form handler
Your Can Edit or Add New Attribute Description for your attribute Yourself...


If you Select CSS, you will see 2 options (CssRule, Pseudo-Class) ..
Detail-Description:::CSS

#CssRule:
Here you can set css rule...
Example:background-attachment=scroll,fixed
To Separate each attribute use comma ( , ) in starting of attribute.
Your Can Edit or Add New CssRule Yourself...

#Pseudo-Class:
Here you can set Pseudo-class...
Example:hover= (now in phped this will use as "body:hover{}")
Your Can Edit or Add New Pseudo-Class Yourself...

Note:
Each Input Field is Individual and does not affect any other Input, Which mean you can Enter each of the Input Individually...
Its not important that if you Add new "Tag" than you also have to add "Tag Description:" and other things.
No, Its your choice that which field you want to edit, None of the Input lead to any other field.


Hope This will help people To edit rel file easily.
I personally create this script to add attributes and css rules to work easily with my project based on jQuery Mobile and jQuery-Ui.
I add attributes such as "data-role" and its values like "button,checkbox" etc. This save my time as now i can select this options from autoCompletion box of PhpED..

Just let me know if you like my work... Smile

Thank You.
View user's profileFind all posts by darksam1995Send private messageYahoo Messenger
PhpEd-rel-Editor
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic