Previous Thread
Next Thread
Print Thread
Rating: 4
Joined: Jan 2000
Posts: 796
MTO
Offline
Addict
Addict
Offline
Joined: Jan 2000
Posts: 796
Here are a few tricks to be able to edit the templates in Dreamweaver 4:


Identify the TMPL extension:
- Go to your dreamweaver configuration folder, [:blue]...\Dreamweaver 4\Configuration[/] and open [:blue]Extensions.txt[/]
- In the first line, add anywhere[:red] TMPL [/], but before [:green] :All [/] example:
[:#666666]HTM,HTML,SHTM,SHTML,STM,SSI,JS,XML,LBI,DWT,ASP,CFM,CFML,TXT,PHP,PHP3,PHP4,LASSO,JSP, [:red] TMPL [/] :All Documents [/]
- Then, in the next lines, add the following line:
[:green] TMPL:UBBThreads Templates [/]

Remove the PHP Tags
Dreamweaver converts all that starts with [:red] <? [/] into a tag icon. But ubbthreads templates are ALL inside these tags. So if you open it, you dont see ANYTHING. Most people dont edit PHP with Dreamweaver, I sure dont. So you can safely remove this tag option by:
- Go to your [:blue] \Dreamweaver 4\Configuration\ThirdPartyTags [/] folder.
Rename [:green] php.xml [/] to [:red] php.xml.bak [/] (so you can easily go back to your default installation if you dont like it).
Restart Dreamweaver to see changes. Now, you should be able to view ubbthreads templates with no problem inside Dreamweaver.

Make ubbthread Tags
This is one suggestion you will want to do once in a while, going back and forward to enable/dissable this. It will make the tables much easier to lookat , and therefore to design with. But it doesnt allow you to see the text. So remember, you will want to be switching this "on and off".
- Go to your [:blue] \Dreamweaver 4\Configuration\ThirdPartyTags [/] folder.
Create a new file, name it [:red] ubb.xml [/]
- Insert the following line:
[:green] <tagspec tag_name="ubb" start_string="{$" end_string="']}" detect_in_attribute="true" icon="UBB.gif" icon_width="15" icon_height="15"></tagspec>
[/]
Save an icon such as this one []/forum/images/icons/grin.gif[/] into that same folder, and name it UBB.gif
Done. Restart Dreamweaver to see changes.
Remember, for design purposes, this last trick you will want to use at some times, not always. So when not, just rename it to [:green] ubb.xml.bak [/]

Sponsored Links
Entire Thread
Subject Posted By Posted
Edit the Templates in Dreamweaver MTO 04/26/2002 4:05 AM
Re: Edit the Templates in Dreamweaver AllenAyres 04/26/2002 4:29 AM
Re: Edit the Templates in Dreamweaver Medar 04/26/2002 5:34 PM
Re: Edit the Templates in Dreamweaver Charles 06/09/2002 2:32 PM
Re: Edit the Templates in Dreamweaver MTO 06/09/2002 7:32 PM
Re: Edit the Templates in Dreamweaver Charles 06/09/2002 7:36 PM
Re: Edit the Templates in Dreamweaver Charles 06/12/2002 10:30 PM
Re: Edit the Templates in Dreamweaver msula 06/18/2002 1:31 AM
Re: Edit the Templates in Dreamweaver MTO 06/18/2002 5:55 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)