NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
HTML Attribute autocomplete?


Joined: 04 Jul 2009
Posts: 10
Reply with quote
Hi all,

I am newbie with PhpEd... I am still learning but I think that is a very good editor.

I do not understand how to use the autocomplete function on html attributes.

For example: I type the html tag <link>, then the editor show me attributes, but if I select rel attribute the editor write rel="" and don't suggest anything. Confused
In the same scenario DreamWeaver suggest the values for the attribute: alternate, appendix, bookmark, ... , subsection.

Where is my error?
How I can obtain the same result with phpED?

Kenshin
View user's profileFind all posts by kenshinSend private messageVisit poster's website
Guru master

Joined: 05 Jul 2004
Posts: 659
Location: Belgium
Reply with quote
Not all attributes are defined, but if you don't mind manually changing a textfile you can do that yourself (I think, haven't tested it).
The file you need is phped.rel and you can find it in the php user directory (On XP: Documents and Settings\<User>\Application Data\NuSphere\PhpED\config and Vista: c:\Users\<User>\AppData\Roaming\NuSphere\PhpED\config).

In there you need to find the line in the [HTML] section starting with
link=
(about 1900 and some)
At the end of the link you can find ,rel,
Just change this to include all values you want, for example:
,rel:{alternate|appendix|bookmark|chapter},

Important:
    * Do this with PhpED closed
    * Make sure to make a backup of the file first!
    * I advise, if you manually change stuff in the config files, to make sure to create a backup before installing an update as well.
View user's profileFind all posts by BlizzSend private messageVisit poster's website


Joined: 04 Jul 2009
Posts: 10
Reply with quote
Hello Blizz,

with this methode I can easily add all attributes not defined by default.

Many thank's for your help! Smile

Kenshin
View user's profileFind all posts by kenshinSend private messageVisit poster's website
HTML Attribute autocomplete?
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