[homesite] customize tags

Pagina: 1
Acties:

  • Willem
  • Registratie: Februari 2001
  • Laatst online: 20:13
Kom er niet uit met behulp van
• HomeSite Help, F1
• HomeSite Boek
• HomeSite Support Site
• drm

Dus vraag ik het toch maar.
Als ik een tag wil customizen, bijvoorbeeld, laten we zeggen de <br> Hoe ga ik dat doen? (ervanuitgaand dat ik er een slash aan wil plakken: <br/>)

Als ik rechtermuisklik op het "canvas" van HomeSite, in een document dus, en ik selecteer "Insert Tag" dan kan ik een Customized Tag invoeren, als ik wist waar ik een eigen Customized Tag kon toevoegen, en daar vervolgens ook nog eens een keyboard-shortcut aan kan koppelen.

Of de huidige <br> wijzigen, ook prima

Motor (of auto) onderhoud bijhouden


Verwijderd

Vanuit de tabs linksonderaan, klik je op Tag Definitions. Je krijgt dan per tag een lijst te zien van properties alla topstyle look.

Vervolgens klik je op het tandwieltje met als alt "Edit Tag Definitions" en krijg je vervolgens een lijst te zien van alle html, asp, cfml, jsp, en php tags :)

Nu nog de goeie selecteren en voila. :)

  • Willem
  • Registratie: Februari 2001
  • Laatst online: 20:13
Gordijnstok:
Nu nog de goeie selecteren en voila. :)
OK, tot dusver kan ik het volgen.. en ik ben ervanuit gegaan dat "Tag Inspector" hetzelfde is als "Tag Definitions"... dan selecteer in BR en vervolgnes zie ik dit:

Afbeeldingslocatie: http://www.xs4all.nl/~meinesz/graphics/got/br.gif

En waar moet ik die "/" toevoegen ?

Motor (of auto) onderhoud bijhouden


Verwijderd

Vanuit het help bestand in ColdFusion Studio 5
You can change a tag's definition from the Tag Inspector, but the preferred method for changing a tag definition is to edit the VTM file directly using VTML tag editors.

To edit a tag definition using VTML tag editors:
Open the VTM file from the appropriate language folder in \Extensions\TagDefs.
Right-click a tag, and select Edit Tag to change its attributes and values.
This method supports tag editors, Tag Inspector, Tag Insight, and Tag Tips, and also ensures that Large Fonts display properly on user systems.

To edit a tag definition using Tag Inspector:
Click the Edit Tag Definitions button to open the Tag Definitions Library dialog box. The left pane lists all of the installed languages. You can edit the definitions list by using the Add and Remove buttons.
Expand a language entry to view individual tags. When you select a tag, the attributes and other components defined in its VTM file appear in the tabbed pane.
Make changes in the tag definition fields and click Done to save the changes.
This method has limitations, and it might cause the tag's editor to not work properly. Be sure to backup the VTM file before making changes.

To create a tag definition, do one of the following:
Modify an existing VTM file and save it as the new tag. This is the best way to create a tag definition file.
Use the skeleton tag definition file, \Extensions\TagDefs\TagDefTemplate.vtm, as a starting point for creating your own tag.
Create a tag definition from the Tag Inspector. In this case the new tag does not support a tag editor.
To add online help for the tag, create an HTML file containing the help text and save it with the tag name in the appropriate language folder in \Extensions\Docs.