Can't add spry widget to page created from dreamweaver template

Please help! I have created a template in Dreamweaver and
from that template I have created an html page. I want to add
different tabbed and/or accordion spry widgets to multiple pages
however I keep getting an error when I try to add a widget to an
editable region. I can add the widgets to the dwt file, but I do
not want the same widget on all pages created from that template.
Please advise!
Thanks
cycleguy

If that's all that's on the child page you are in trouble.
Anyhow, it appears to me that the template has not been
properly created
since I do not also see an editable region around the
<title> tag in your
code. Please read my previous post and follow the
instructions.
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
==================
"cycleguy" <[email protected]> wrote in
message
news:fu01pk$s7k$[email protected]..
> Thank you for your reply.
> I started with one of the built-in templates offered in
Dreamweaver then
> added
> additional div's and formatting then saved it as a dwt
file and created my
> html
> page from that template. I did not start the page from
scratch. Below is
> my
> source code from the child page.
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
> "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="
http://www.w3.org/1999/xhtml"><!--
InstanceBegin
> template="/Templates/DankaConnectionPortalTemplate.dwt"
> codeOutsideHTMLIsLocked="false" -->
> <head>
> <meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
> <title>Untitled Document</title>
> <style type="text/css">
> <!--
> body {
>

Similar Messages

  • Meta Tag Placement in pages created from a template

    I am updating a site and want to make sure that I place my meta tags correctly in individual pages created from a template. Can you tell me if my placement is correct?
    Below is code I added to my template:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- TemplateEndEditable -->
    <!-- #BeginEditable "metatags" --> <!-- #EndEditable -->
    <style type="text/css">
    <!--
    body {
    Here is what a page I created looks like after adding the meta tags:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/2011 Main .dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Long Island, NY, 11550 Music Dance  Art &amp; Drama Lessons</title>
    <!-- InstanceEndEditable -->
    <!-- #BeginEditable "metatags" -->
    <meta name="keywords" content="piano lessons, guitar lessons, drum lessons, flute lessons, violin lessons, afterschool performing arts, voice lessons, singing, saxophone, trumpet">
    <meta name="description" content="Information about Young Musician Institute's Afternoon Arts Program for piano, guitar, drums, violin, viola, trumpet, saxophone and cello">
    <!-- #EndEditable -->
    <style type="text/css">
    <!--
    body {
    As usually, Begin and end editable sections are grayed out, and the meta tag names are blue according to my scheme so I think I am doing it correctly, however, I want to be sure before submitting it to google incorrectly. Can you tell me if I am correct?
    Thank you

    for clarification, are you saying that I could have put them on the line after:
    <title>Long Island, NY, 11550 Music Dance  Art &amp; Drama Lessons</title>
    Yep.
    Second, adding these meta tags actually did help the ranking of this company. They were not listed before I did this on their old site. They were on page 1 of their category hours after I did this for them.
    I think it's just coincidence.  However, for sure it wasn't the keywords that did that, since those are just ignored (the meta keywords contents, not the meta description contents).
    what are the search engines looking for? I want to make sure to design with those things in mind.
    They are looking for semantic content on the page.  That means the contents of tags like <title>, <h1>, <h2>, <h3>.  That also means (derived) keywords contained in content 'above the fold', and in filenames, in links, in title and alt attributes.  In other words, search engines want to rank your pages based on *real* meaning of the contents of the page, not on some arbitrary listing of keywords that you place in a meta keyword tag.
    Search engines also pay lots of attention to INCOMING links from other well ranked sites....

  • Why do links in the template change location to 'file:///'...on the pages created from the template?

    Im not sure what I am doing wrong but I am building a portfolio site from a template that I downloaded online.
    The site is working and I am slowly converting it from the template content to the content that I want.
    As I will be editing the site and adding more pages I decided to try and add the Header, footer and main navigation bar as a template with another gallery container and navigation as an option on the template.
    I thought that it was working fine untill I noticed that the links on the pages created using the template are showing as follows,
    instead of the links that were in the template that show as,
    Is this something that will change when I upload the site with the template or have I done something wrong making the links?

    Usually this happens when you don't use a proper Site Definition, or if you have files outside your defined site folder.
    Have you defined your site properly?
    http://tv.adobe.com/watch/learn-dreamweaver-cs5/gs01-defining-a-new-site/

  • Why is the formatting missing from my html page created from a template?

    Hi All!
    Hope you can help me.
    I've created a new template in dreamweaver - all good. When I preview the template page in a browser everything looks perfect.
    But when I create a new html page from that template, even though the page looks perfect in design view, all the formatting is missing when I preview it in a browser.
    The site settings were relative to the site root and I've changed that to be relative to the document (not sure if that should make a difference). Either way, it hasn't changed anything.
    Any ideas?

    The site settings were relative to the site root
    If you have not enabled "Preview using temporary files" in your PREFERENCES then site root relative links will fail on preview. Why? Because site root relative links *always* begin with "/", and when the browser sees that, it (since it knows nothing about Dreamweaver sites) correctly looks for the path starting from the root of your hard drive, not the root of the DW site. When you enable preview using temp files, before handing the file to the browser, DW obligingly converts all root relative links to document relative links (which *will* work on preview) but to do that it must create a temporary file (there are other things that happen as well, like external files being embedded in the code for the preview, but that is not relevant to this discussion). The reason a temp file is created is so that these changes don't affect your saved file.
    So, if you want to use site root relative links, and do previews of your pages, you must enable the temporary files in preview. There is really no downside to doing this except that you may occasionally see a curious file named xzys139(.html in your local file list - this is a temporary file that was handed to the browser for preview, and for whatever reason was not deleted. In fact, this can save your bacon sometimes because it gives you a 'backup' of that page to which you can revert in the event of something catastrophic.
    In the larger picture, there is no benefit to using site root relative links UNLESS you are also using server-side includes. It will make your life a bit simpler if you do not use them.
    Finally, having made those links in your template file with the site root relative option enabled, changing that option to document relative will only affect NEW links, not existing ones. This is why Ken asked to see the link in your template - it's because he knows that even though you have made the option change, that old link will not be affected and will therefore fail on preview (assuming you have not enabled the temp file thing).

  • Can't add spry in a template-based page

    Hi,
    I am working with DW CS3 and building content for a page created from a template. I made sure i clicked in editable place before inserting the spry
    but DW keeps feeding back an error message asking to unlock the head tag or adding the spry directly in the template (which i dont want).
    How do i unlock the head tag? How would the change affect the template? Is there a possible way around (in case it's any risky)?
    Thank you

    Lemme rephrase more appropriatly: Is it a safe operation to unlock the head tag in a template?
    Then the last but not least question: how do i unlock the head tag.
    Thanks

  • Pages created from template not formatted in FireFox browser

    Using Dreamweaver CS5 I redesigned a web site with all pages now created from a master template.  The result is that the site displays properly in IE, but not in FireFox.  See the www.lbtscic.com site.  It checked out OK in the Browser Lab for all browsers, but shows as mostly unformatted in the latest FireFox .
    A side problem is that changes in the master template do NOT show up in the pages created from that template.  When I make a change in the template the details show that it checked all the appropriate pages, but changed none.  Need Help!
    Bob Roberts

    The linked page looks the same to me in IE9/Safari5.1/FF3.6.23, and it looks broken in all of them - the content region is wider than the banner image.
    Here are seven common mistakes that will result in changes not propagating from Template to child -
    1.  Rename the Templates folder
    2.  Move the Templates folder to some other folder level in the site other than root level
    3.  Move a template out of the Templates folder.
    4.  Make changes to an editable region of the Template (which will not propagate)
    5.  Assume that Template changes will be effected by just uploading the changed Template file to the server without also uploading the changed local files
    6.  Corrupt the site cache so that the link between Template and child page is broken
    7.  Improperly create your child pages by simply opening the Template, adding page specific content, and resaving the Template with an *.html extension rather than its *.dwt extension. (you can tell if this is the case by looking at the code on a child page - if you see anything like <!-- TemplateBeginEditable... then this is what you have done).  If you *have done this*, then recreate the child pages (in DW) using FILE | New > Page from Template, select the Template and click CREATE.
    The 6th problem can be repaired by using SITE | Advanced > Recreate Site Cache, and the six others can be fixed by just not doing them.  Have you done any of those?

  • Add Spry Widgets to Dreamweaver Insert Bar Spry Group

    Hi. I'm trying to work out how to add Spry widgets to
    Dreamweaver's
    Insert bar.
    I downloaded Spry for Ajax 1.6 and copied the the contents of
    the
    SpryTooltip Folder.
    I did a search in Adobe Dreamweaver's program folder for
    everything Spry.
    I pasted SpryTooltip everywhere in Dreamweaver that Spry
    references
    exist. I even created a .png icon for Spry ToolTip in:
    Adobe Dreamweaver CS3\configuration\Objects\Spry
    I opened Dreamweaver and there it was in my insert bar! My
    icon for Spry
    tooltip!
    I tried to insert it into a blank age and got the message:
    "Trigger
    event missing" or something like that.
    I'm sure there must be a way to add these new widgets to
    Dreamweaver's
    insert bar in the Spry group.
    Can someone please tell me how to do it. Starting with
    SpryTooltip.
    and...
    I might as well go ahead and ask how to add new Spry Effects
    to
    Dreamweaver's behavior panel as well. Let's say "Pulsate" for
    an example.
    PS. I've already asked this at the Spry Forum. No one has
    replied yet.
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=602&threadid =1312010&enterthread=y
    Thank you!
    Dameon

    hey,
    I am a newbie to Spry too. I asked a similar question in the
    Spry Forum.
    It seems that you can not get the widgets into the Insert Bar
    or on theBehavioral Panel.
    To get the widgets to work, you only have the option to link
    to them from your spry folder.
    Spry is exciting, yet, it is still a new method, so the
    WYSIWYG interface thing is still developing. Unfortunaly, if you
    want to use Spry, you need to get dirty with the code stufff.
    So, I too, use Spry sparingly.....
    Hope that helps.

  • Add Spry Widgets to Dreamweaver Insert Bar

    Hi. I'm trying to work out how to add Spry widgets to
    Dreamweaver's Insert bar.
    I downloaded Spry for Ajax 1.6 and copied the the contents of
    the SpryTooltip Folder.
    I did a search in Adobe Dreamweaver's program folder for
    everything Spry.
    I pasted SpryTooltip everywhere in Dreamweaver that Spry
    references exist. I even created a .png icon for Spry ToolTip in:
    Adobe Dreamweaver CS3\configuration\Objects\Spry
    I opened Dreamweaver and there it was in my insert bar! My
    icon for Spry tooltip!
    I tried to insert it into a blank age and got the message:
    "Trigger event missing" or something like that.
    I'm sure there must be a way to add these new widgets to
    Dreamweaver's insert bar in the Spry group.
    Can someone please tell me how to do it. Starting with
    SpryTooltip.
    Thank you!
    Dameon

    For the dreamweaver related questions, i think u have more
    luck ( & faster awnser) asking it in the Dreamweaver forum
    selection that can be found here;
    http://www.adobe.com/cfusion/webforums/forum/index.cfm?forumid=12

  • How can I add an existing cfm page to a project?

    CFB3 Question: How can I add an existing cfm page to a project? I created a project and copied a file into the project folder but I can't seem to find a way to add the cfm file into the project.

    @Carl - Well heck, yes I did... But after reading your response I went back and tried right-clicking on and refreshing different things and what worked was right-clicking on the project name in the Navigator window and then clicking on refresh in that context menu.
    Thank you Carl!

  • Can't add new Widgets to Dashboard on main user account

    I recently switched to a new MacBook Air and after the initial intstallation used migration assistent to move my old data to the MacBook Air. All works fine except the Dashboard. With the old useraccount (which is my main account) I can't add new widgets to the dashboard. When I download and install a new widget I can see it in the /user/library/widgets section, I can see it in the widget list in the dashboard but when I click on it or drag it up to the dashboard it closes the dashboard again.
    I tried adding a new user and in works fine in that new account.
    Here's what I did to try and solve it sofar:
    1. Repaired permissions
    2. Deleted the two .plist's in user/library/preferences
    3. Deleted the Cache in user/library/cache
    4. Checked the folder permissions in /user/library/widget and compared that with the newuser/library/widget
    5. Downloaded the 10.6.6. combo update and reinstalled
    This behaviour is with every new widget I tried to install.
    I tried to find similar behaviour using google but so far no luck. Any suggestions?

    You have hosed preferences in the main user account. Create a new admin user account, log into it, backup the bad account's folder, delete the bad account, selecting the save data option, recreate the bad account using the same username/password combo, log out and back into the recreated original account. If the problem's solved, open the saved data dmg file in /Users/Deleted Users/, open the /Library/Preferences/ folder from the saved data, open the current /Users/restored account/Library/Preferences/ folder, and slowly copy plist files from the saved data folder to the current one that don't exist in it. Log out and back in to ensure there's no conflict and things still work correctly. Resolving conflicts or identifying corrupt plist files is a laborious process. Good luck.
    See http://discussions.apple.com/thread.jspa?messageID=4703015 for more details on this process.

  • HT1535 so I've done all that and I still can't add a playlist I've created in iTunes to the iPod...?

    I've followed the instructions to tell the iPod that I want to manage music and video manually, but I still can't add a playlist I've created in iTunes to the iPod...

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there are also links to backup and recovery advice should it be needed.
    tt2

  • How can I add a language on pages (Greek) to check the spelling when that language is not on the list?

    how can I add a language on pages (Greek) to check the spelling when that language is not on the list?
    I can see other languages available for spelling check, but not Greek and I dont see how to add it.
    I have added the Greek keyboard on the Mac, so I can write in Greek , but I dont know how to check the spelling in Greek on pages

    You can try to add a 3rd party spellchecker
    http://milaraki.com/blog/2010/11/greek-spelling-at-pages-how-to/

  • Can you add a watermark to pages and if so how?

    Can you add a watermark to pages and if so how?

    Hi Grant,
    See Page 63 of the  Pages'09 User Guide. (Download from the Pages Help Menu)
    Using  Master  Objects  (Repeated  Background  Images)
    You may want to add watermarks, logos, or other background images that appear in the same spot on every page of your word processing documents. These repeated graphics are called master  objects.
    Regards,
    Ian.

  • Can I add or edit Keywords and captions from within the Map module?

    I frequently find a need to edit or add to the caption while reviewing  and geotagging photos in the Map module.  Constantly toggling between modules is inconvenient.  Is there a way to add/edit captions or keywords while working in the Map module  (or view the map module while working in the Library?
    Thanks!
    Steve

    thank you
          From: Modesto Vega <[email protected]>
    To: Steve Murray <[email protected]>
    Sent: Thursday, January 29, 2015 3:27 PM
    Subject:  Can I add or edit Keywords and captions from within the Map module?
    Can I add or edit Keywords and captions from within the Map module?
    created by Modesto Vega in Photoshop Lightroom - View the full discussionYou should be able to change the title, the caption, the sublocation, the city, the state/province, the country, the ISO country code, the altitude, the direction, and a few other fields. However, you cannot add keywords. It would be real nice if Adobe could add this to the Map module. If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7145077#7145077 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7145077#7145077 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Photoshop Lightroom by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Can not add a picture to the JFrame from an ActionListener class

    As topic says, I can not add a picture to the JFrame from an ActionListener class which is a class inside the JFrame class.
    I have a Map.java class where I load an image with ImageIcon chosen with JFileChooser.
    I my window class (main class), I have following:
    class OpenImage_Listener implements ActionListener
         public void actionPerformed(ActionEvent e)
              int ans = open.showOpenDialog(MainProgram.this);     // "open" is the JFileChooser reference
              if(ans == open.APPROVE_OPTION)
                   File file = open.getSelectedFile();                    
                   MainProgram.this.add(new Map(file.getName()), BorderLayout.CENTER);     // this line does not work - it does not add the choosen picture on the window,
                            //but if I add the picture outside this listener class and inside the MainProgram constructor, the picture apperas, but then I cannot use the JFileChooser.
                            showMessageDialog(MainProgram.this, fil.getName() ,"It works", INFORMATION_MESSAGE);  // this popup works, and thereby the ActionListener also works.
    }So why can�t I add a picture to the window from the above listener class?

    The SSCCE:
    Ok, I think I solved it with the picture, but now I cannot add new components after adding the picture.
    Look at the comment in the actionlistener class:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    public class Test extends JFrame{
         JButton b = new JButton("Open");
         JFileChooser jfc = new JFileChooser(System.getProperty("user.dir"));
         Picture pane;
         Test(){
              super("Main Program");
              setLayout(new BorderLayout());
              JPanel north = new JPanel();
              add(north, BorderLayout.NORTH);
              north.add(b);
              b.addActionListener(new Listener());
              setVisible(true);
              setSize(500,500);
              pane = new Picture("");
              add(pane, BorderLayout.CENTER);
         class Listener implements ActionListener {
              public void actionPerformed(ActionEvent e){
                   int ans = jfc.showOpenDialog(Test.this);
                   if(ans == jfc.APPROVE_OPTION)
                        File file = jfc.getSelectedFile();
                        Test.this.add(new Picture(file.getName()), BorderLayout.CENTER);
                        pane.add(new JButton("NEW BUTTON")); // Why does this button not appear on the window???
                        pane.repaint();
                        pane.revalidate();
         public static void main(String[] args)
              Test t = new Test();
    class Picture extends JPanel
         Image pic;
         String filename;
         Picture(String filename)
              setLayout(null);
              this.filename = filename;
              pic = Toolkit.getDefaultToolkit().getImage(filename);
            protected void paintComponent(Graphics g)
                super.paintComponent(g);
                g.drawImage(pic,0,0,getWidth(),getHeight(),this);
                revalidate();
    }

Maybe you are looking for