HighDots Forums  

Stylesheet Help

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Stylesheet Help in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
pvgajjar
 
Posts: n/a

Default Stylesheet Help - 04-01-2009 , 02:09 AM






Hello guys,

I am developing a site and I am facing a problem with .template file
Let me explain you....

Like when I type style=" than press Ctrl + Space in any tag like table, td it
doesn't show the inline style help

It's my pritesh.footer.template file

Please help me if you can

Thanks
Pritesh Gajjar
http://www.priteshgajjar.com

<?php
$toSend.='<table width="100%" border="0" class="TpFooter"
style="height:23px;font-size:1.2em;">';

$toSend.='<tr><td colspan="5">&nbsp;</td></tr>';
$toSend.='<tr>';
$toSend.='<td colspan="5">';
$toSend.='<table width="100%" align="center" >';
$toSend.='<tr>';
$toSend.='<td align="center" >';
$toSend.='<a href="#">Development</a>';
$toSend.='<span style="color:#A4BBB5;"> | </span><a href="#">Resorts
Properties</a>';
$toSend.='<span style="color:#A4BBB5;"> | </span><a href="#">Get A
Loan</a>';
$toSend.='<span style="color:#A4BBB5;"> | </span><a href="#">Request
Information</a>';
$toSend.='<span style="color:#A4BBB5;"> | </span><a href="#"
class="footerAnchor crsr">Privacy policy</a>';
$toSend.='</td></tr>
<tr>';
$toSend.='<td align="center" >';
$toSend.='
<span style="color:#A4BBB5; font-family:arial,tahoma;
font-size:11px;">Copyright ? Pritesh Gajjar</span>
</td>
</tr>
</table>
</td>
</tr>';

$toSend.='</table>';
?>


Reply With Quote
  #2  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Stylesheet Help - 04-01-2009 , 07:16 AM






That's likely because DW doesn't recognize the *.template extension. Have
you added it to the file type file?

http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16410&sliceId=1


--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"pvgajjar" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hello guys,

I am developing a site and I am facing a problem with .template file
Let me explain you....

Like when I type style=" than press Ctrl + Space in any tag like table, td
it
doesn't show the inline style help

It's my pritesh.footer.template file

Please help me if you can

Thanks
Pritesh Gajjar
http://www.priteshgajjar.com

?php
$toSend.='<table width="100%" border="0" class="TpFooter"
style="height:23px;font-size:1.2em;">';

$toSend.='<tr><td colspan="5">&nbsp;</td></tr>';
$toSend.='<tr>';
$toSend.='<td colspan="5">';
$toSend.='<table width="100%" align="center" >';
$toSend.='<tr>';
$toSend.='<td align="center" >';
$toSend.='<a href="#">Development</a>';
$toSend.='<span style="color:#A4BBB5;"> | </span><a href="#">Resorts
Properties</a>';
$toSend.='<span style="color:#A4BBB5;"> | </span><a href="#">Get A
Loan</a>';
$toSend.='<span style="color:#A4BBB5;"> | </span><a href="#">Request
Information</a>';
$toSend.='<span style="color:#A4BBB5;"> | </span><a href="#"
class="footerAnchor crsr">Privacy policy</a>';
$toSend.='</td></tr
tr>';
$toSend.='<td align="center" >';
$toSend.='
span style="color:#A4BBB5; font-family:arial,tahoma;
font-size:11px;">Copyright ? Pritesh Gajjar</span
/td
/tr
/table
/td
/tr>';

$toSend.='</table>';
?



Reply With Quote
  #3  
Old   
pvgajjar
 
Posts: n/a

Default Re: Stylesheet Help - 04-02-2009 , 01:21 AM



Hi Murray *ACE* ,

Thanks for your reply
Seems it will help....

I have tried to follow the procedure but I don't know why its not working.

Attached code is the changes I have made

Please check through it and let me know where the fault is?

Thank you in advance
Pritesh Gajjar
http://www.priteshgajjar.com

Extensions
---------------------------------------------------


HTM,HTML,SHTM,SHTML,HTA,HTC,XHTML,STM,SSI,JS,AS,AS C,ASR,XML,XSL,XSD,DTD,XSLT,RSS
,RDF,LBI,DWT,ASP,ASA,ASPX,ASCX,ASMX,CONFIG,CS,CSS, CFM,CFML,CFC,TLD,TXT,PHP,PHP3,
PHP4,PHP5,JSP,WML,TPL,LASSO,JSF,VB,VBS,VTM,VTML,TE MPLATE,INC,SQL,JAVA,EDML,MASTE
R:All Documents
HTM,HTML,HTA,HTC,TEMPLATE,XHTML:HTML Documents
SHTM,SHTML,STM,SSI,INC:Server-Side Includes
JS:JavaScript Documents
XML,DTD,XSD,XSL,XSLT,RSS,RDF:XML Files
LBI:Library Files
DWT,TEMPLATE:Template Files
CSS:Style Sheets
ASP,ASA:Active Server Pages
ASPX,ASCX,ASMX,CS,VB,CONFIG,MASTER:Active Server Plus Pages
CFM,CFML,CFC:ColdFusion Templates
AS:ActionScript Files
ASC:ActionScript Communication Files
ASR:ActionScript Remote Files
TXT:Text Files
PHP,PHP3,PHP4,PHP5,TPL:PHP Files
LASSO:Lasso Files
JSP,JST:Java Server Pages
JSF:Fireworks Script
TLD:Tag Library Descriptor Files
JAVA:Java Files
SQL:SQL Files
ASX:Windows Media Advanced Stream Redirector
WML:WML Files
EDML:EDML Files
VBS:VBScript Files
VTM,VTML:VTML Files
template:Template Files



-------------------------------------

MMDocumentTypes.xml

<?xml version="1.0"?>
<documenttypes xmlns:MMString="http://www.macromedia.com/schemes/data/string/">
<documenttype id="HTML" internaltype="HTML"
winfileextension="html,htm,shtml,shtm,stm,tpl,lass o,xhtml"
macfileextension="html,htm,shtml,shtm,tpl,lasso,xh tml,ssi,template"
file="Default.html" writebyteordermark="false">
<TITLE>
<MMString:loadString id="mmdocumenttypes_0" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_1" />
</description>
<dtdcontext>html</dtdcontext>
</documenttype>
<documenttype id="ASP-JS" servermodel="ASP JavaScript" internaltype="Dynamic"
winfileextension="asp" macfileextension="asp" file="Default_js.asp"
writebyteordermark="false">
<TITLE>
<MMString:loadString id="mmdocumenttypes_4" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_5" />
</description>
<dtdcontext>html</dtdcontext>
</documenttype>
<documenttype id="ASP-VB" servermodel="ASP VBScript" internaltype="Dynamic"
winfileextension="asp" macfileextension="asp" file="Default_vb.asp"
writebyteordermark="false">
<TITLE>
<MMString:loadString id="mmdocumenttypes_2" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_3" />
</description>
<dtdcontext>html</dtdcontext>
</documenttype>
<documenttype id="ColdFusion" servermodel="ColdFusion" internaltype="Dynamic"
winfileextension="cfm,cfml" macfileextension="cfm,cfml" file="Default.cfm"
writebyteordermark="false">
<TITLE>
<MMString:loadString id="mmdocumenttypes_6" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_7" />
</description>
<dtdcontext>html</dtdcontext>
</documenttype>
<documenttype id="CFC" servermodel="ColdFusion" internaltype="Dynamic"
winfileextension="cfc" macfileextension="cfc" file="Default.cfc"
writebyteordermark="false">
<TITLE>
<MMString:loadString id="mmdocumenttypes_56" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_57" />
</description>
<dtdcontext>none</dtdcontext>
</documenttype>
<documenttype id="JSP" servermodel="JSP" internaltype="Dynamic"
winfileextension="jsp,jst" macfileextension="jsp,jst" file="Default.jsp"
writebyteordermark="false">
<TITLE>
<MMString:loadString id="mmdocumenttypes_8" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_9" />
</description>
<dtdcontext>html</dtdcontext>
</documenttype>
<documenttype id="ASP.NET_VB" servermodel="ASP.NET VB" internaltype="Dynamic"
winfileextension="aspx,ascx,asmx" macfileextension="aspx,ascx"
file="Default_vb.aspx" writebyteordermark="true" newdocumentname="WebForm">
<TITLE>
<MMString:loadString id="mmdocumenttypes_12" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_13" />
</description>
<dtdcontext>html</dtdcontext>
</documenttype>
<documenttype id="ASP.NET_CSharp" servermodel="ASP.NET C#"
internaltype="Dynamic" winfileextension="aspx,ascx,asmx"
macfileextension="aspx,ascx" file="Default_cs.aspx" writebyteordermark="true"
newdocumentname="WebForm">
<TITLE>
<MMString:loadString id="mmdocumenttypes_10" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_11" />
</description>
<dtdcontext>html</dtdcontext>
</documenttype>
<documenttype id="PHP_MySQL" servermodel="PHP MySQL" internaltype="Dynamic"
winfileextension="php,php3,php4,php5" macfileextension="php,php3,php4,php5"
file="Default.php" writebyteordermark="false">
<TITLE>
<MMString:loadString id="mmdocumenttypes_14" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_15" />
</description>
<dtdcontext>html</dtdcontext>
</documenttype>
<documenttype id="JavaScript" internaltype="Text" winfileextension="js"
macfileextension="js" file="Default.js" writebyteordermark="false">
<TITLE>
<MMString:loadString id="mmdocumenttypes_16" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_17" />
</description>
</documenttype>
<documenttype id="VBScript" internaltype="Text" winfileextension="vbs"
macfileextension="vbs" file="Default.vbs" writebyteordermark="false">
<TITLE>
<MMString:loadString id="mmdocumenttypes_18" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_19" />
</description>
</documenttype>
<documenttype id="Csharp" internaltype="Text" winfileextension="cs"
macfileextension="cs" file="Default.cs" writebyteordermark="false">
<TITLE>
<MMString:loadString id="mmdocumenttypes_20" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_21" />
</description>
</documenttype>
<documenttype id="VB" internaltype="Text" winfileextension="vb"
macfileextension="vb" file="Default.vb" writebyteordermark="false">
<TITLE>
<MMString:loadString id="mmdocumenttypes_22" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_23" />
</description>
</documenttype>
<documenttype id="Java" internaltype="Text" winfileextension="java"
macfileextension="java" file="Default.java" writebyteordermark="false">
<TITLE>
<MMString:loadString id="mmdocumenttypes_24" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_25" />
</description>
</documenttype>
<documenttype id="DWTemplate" internaltype="DWTemplate"
winfileextension="dwt" macfileextension="dwt" file="Default.dwt"
writebyteordermark="false">
<TITLE>
<MMString:loadString id="mmdocumenttypes_26" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_27" />
</description>
<dtdcontext>html</dtdcontext>
</documenttype>
<documenttype id="EDML" internaltype="XML" winfileextension="edml,edm"
macfileextension="edml,edm" file="Default.edml" writebyteordermark="false">
<TITLE>
<MMString:loadString id="mmdocumenttypes_28" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_29" />
</description>
<dtdcontext>none</dtdcontext>
</documenttype>
<documenttype id="CSS" internaltype="Text" winfileextension="css"
macfileextension="css" file="Default.css" writebyteordermark="false">
<TITLE>
<MMString:loadString id="mmdocumenttypes_30" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_31" />
</description>
</documenttype>
<documenttype id="XML" internaltype="XML"
winfileextension="xml,xsd,rss,rdf,dtd,vtm,vtml,csn ,config,mxi"
macfileextension="xml,xsd,rss,rdf,dtd,vtm,vtml,csn ,config,mxi"
file="Default.xml" writebyteordermark="false">
<TITLE>
<MMString:loadString id="mmdocumenttypes_32" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_33" />
</description>
<dtdcontext>xml</dtdcontext>
</documenttype>
<documenttype id="Actionscript" internaltype="Text" winfileextension="as"
macfileextension="as" file="Default.as" writebyteordermark="false">
<TITLE>
<MMString:loadString id="mmdocumenttypes_34" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_35" />
</description>
</documenttype>
<documenttype id="Text" internaltype="Text" winfileextension="txt"
macfileextension="txt" file="Default.txt" writebyteordermark="false">
<TITLE>
<MMString:loadString id="mmdocumenttypes_36" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_37" />
</description>
</documenttype>
<documenttype id="WML" internaltype="XML" winfileextension="wml"
macfileextension="wml" file="Default.wml" writebyteordermark="false">
<TITLE>
<MMString:loadString id="mmdocumenttypes_38" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_39" />
</description>
<dtdcontext>wml</dtdcontext>
<dtdcontext>required</dtdcontext>
</documenttype>
<documenttype id="TLD" internaltype="XML" winfileextension="tld"
macfileextension="tld" file="Default.tld" writebyteordermark="false">
<TITLE>
<MMString:loadString id="mmdocumenttypes_58" />
</TITLE>
<description>
<MMString:loadString id="mmdocumenttypes_59" />
</description>
<dtdcontext>jsp_tag_library</dtdcontext>
<dtdcontext>required</dtdcontext>
</documenttype>
<documenttype id="LibraryItem" internaltype="HTML" winfileextension="lbi"
macfileextension="lbi" file="Default.lbi" writebyteordermark="false">
<TITLE>
<MMString:loadString id="mmdocumenttypes_40" />
</TITLE>
<des

Reply With Quote
  #4  
Old   
pvgajjar
 
Posts: n/a

Default Re: Stylesheet Help - 04-02-2009 , 01:30 AM



Thanks Murray !!!

It's done I made a changes in Mac file system and I was suppose to do in windows

Thank you so much

you are gr8!!!

Pritesh Gajjar
http://www.priteshgajjar.com

Reply With Quote
  #5  
Old   
pvgajjar
 
Posts: n/a

Default Re: Stylesheet Help - 04-02-2009 , 03:29 AM



Hi Murray

Now I have the only problem which is when I search any code in any particular
folder like there is 20 .template file in that folder and the problem is
dreamweaver is not reading that file.

So how can I make it search enabled ? and what are the settings for the same?

Thanks
Pritesh Gajjar
http://www.priteshgajjar.com


Reply With Quote
  #6  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: Stylesheet Help - 04-02-2009 , 06:30 AM



Sorry - I don't know how to do that.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"pvgajjar" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi Murray

Now I have the only problem which is when I search any code in any
particular
folder like there is 20 .template file in that folder and the problem is
dreamweaver is not reading that file.

So how can I make it search enabled ? and what are the settings for the
same?

Thanks
Pritesh Gajjar
http://www.priteshgajjar.com



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.