Modify layer in a document made up with model

I made a site without tables (all tag DIV), I have saved the
page in a model, I selected one layer in a model and mark the layer
(not his contained) in a modifiable area. I saved a page. After I
create a new document from model.. when I try to modify a layer
(move, resize) I can't because the code is blocked. in a livedoc I
read that is possible. My dreamweaver version is 8.02 please help
me.
I also tried whin new simple page with 3 layers (head - body
- footer)... but the problem it's the same

If you have this -
<div id="layer1"><!-- TemplateBeginEditable
name="whatever" -->...
You will not be able to drag that layer in design view on any
child page.
Why? because the *layer* is not editable. Its contents are,
but not the
layer itself.
Nevertheless, you will still be able to edit that layer's
position in the
CSS that is applied to the page - just not by dragging it in
design view.
But - there are some flaws in your 'going in' methods
(assuming I understand
your post). Using layers the way you have is not optimal. A
page that is
build from multiple layers will surely produce unexpected
results when the
visitor resizes the text display in their browser, and
dragging things
around in Design view is just a bad practice - with tables or
with layers.
The trick is to learn enough HTML and CSS that you no longer
need to do
this.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"ruffonibus" <[email protected]> wrote in
message
news:[email protected]...
>I made a site without tables (all tag DIV), I have saved
the page in a
>model, I
> selected one layer in a model and mark the layer (not
his contained) in a
> modifiable area. I saved a page. After I create a new
document from
> model..
> when I try to modify a layer (move, resize) I can't
because the code is
> blocked. in a livedoc I read that is possible. My
dreamweaver version is
> 8.02
> please help me.
> I also tried whin new simple page with 3 layers (head -
body - footer)...
> but
> the problem it's the same
>
> <!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/Senza.dwt"
codeOutsideHTMLIsLocked="false" -->
> <head>
> <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
> <!-- InstanceBeginEditable name="doctitle" -->
> <title>sample</title>
> <!-- InstanceEndEditable -->
> <style type="text/css">
> <!--
> #head {
> position:absolute;
> left:28px;
> top:6px;
> width:697px;
> height:131px;
> z-index:1;
> }
> #body {
> position:absolute;
> left:29px;
> top:137px;
> width:694px;
> height:88px;
> z-index:2;
> }
> #footer {
> position:absolute;
> left:28px;
> top:227px;
> width:694px;
> height:86px;
> z-index:3;
> }
> -->
> </style>
> <!-- InstanceBeginEditable name="head" --><!--
InstanceEndEditable -->
> </head>
>
> <body>
> <div id="head"></div>
> <div id="body"></div>
> <!-- InstanceBeginEditable name="EditRegion3" -->
> <div id="Layer3"></div>
> <!-- InstanceEndEditable -->
> </body>
> <!-- InstanceEnd --></html>
>

Similar Messages

  • I have a document made up of separate PDF files which reside in a folder and are linked to each other via hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I link from one PDF file to another and use the "Previous View" button

    I have a document made up of separate PDF files which reside in a folder and are linked to each other via hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I link from one PDF file to another and use the "Previous View" button to navigate back to my starting point the bookmarks are replaced by "page thumbnails". Is there anyway to stop this from happening?

    Hi Pusman,
    While setting up the links, if you choose to open the file in a new window then you won't face this issue, then you can simply switch to the previous file and bookmark view will remain as it is.
    Does that helps with your query?
    Regards,
    Rahul

  • Can i safely trash Iwork '08 since i have already Installed Iwork '11 or will i loose my documents made with pages and numbers '08???

    can i safely trash Iwork '08 since i have already Installed Iwork '11 or will i loose my documents made with pages and numbers '08???

    You can have multiple versions installed simultaneously.  It won't hurt to delete the '08 apps, because the '09 apps will convert '08 to '09, but there is no reason to do the deletion.
    You say that you have iWork '11.  If that's true, it's really big news.  More likely, you have iWork '09.
    Jerry

  • How to copy-paste frames from one document to other with there respective layers intact?

    Hi All,
         I am facing an issue while copy paste frames from one document to other. I have a 3 frames in first documents each one on different layer. First document has 3 layers. The second document too have 3 layers , I am copying frames from first document to scrapdata using 'ICopyCmdData ' and 'kCopyCmdBoss'. I have 'Paste Remembers Layers' menu 'Checked' on Layer panel. I am using following function to copy frames to scrapdata.
    bool16 copyStencilsFromTheTemplateDocumentIntoScrapData(PMString & templateFilePath)
         bool16 result = kFalse;
        do
            SDKLayoutHelper sdklhelp;
            PMString filePathItemsToBeCopiedFrom(templateFilePath);  //("c:\\test\\aa.indt");
            IDFile templateIDFile(filePathItemsToBeCopiedFrom);
            UIDRef templateDocUIDRef = sdklhelp.OpenDocument(templateIDFile);
            if(templateDocUIDRef == UIDRef ::gNull)                 
                break;
            ErrorCode err = sdklhelp.OpenLayoutWindow(templateDocUIDRef);
            if(err == kFailure)                 
                break;
            InterfacePtr<IDocument> templatedoc(templateDocUIDRef,UseDefaultIID());
            if(templatedoc == nil)               
                break;
            InterfacePtr<ISpreadList>templateSpreadUIDList(templatedoc,UseDefaultIID());
            if(templateSpreadUIDList == nil)                  
                break;
            IDataBase * templateDocDatabase = templateDocUIDRef.GetDataBase();
            if(templateDocDatabase == nil)                  
                break;
            UIDRef templateDocFirstSpreadUIDRef(templateDocDatabase, templateSpreadUIDList->GetNthSpreadUID(0));
            InterfacePtr<ISpread> templateSpread(templateDocFirstSpreadUIDRef, IID_ISPREAD);
            if(templateSpread == nil)                 
                break;
            UIDList templateFrameUIDList(templateDocDatabase);
            if(templateSpread->GetNthPageUID(0)== kInvalidUID)                  
                break;      
            templateSpread->GetItemsOnPage(0,&templateFrameUIDList,kFalse,kTrue);  
            InterfacePtr<ICommand> copyStencilsCMD(CmdUtils::CreateCommand(kCopyCmdBoss));
            if(copyStencilsCMD == nil)                
                break;
            InterfacePtr<ICopyCmdData> cmdData(copyStencilsCMD, IID_ICOPYCMDDATA);
            if(cmdData == nil)                 
                break;
            // Copy cmd will own this list
            UIDList* listCopy = new UIDList(templateFrameUIDList);
            InterfacePtr<IClipboardController> clipboardController(gSession,UseDefaultIID());
            if(clipboardController == nil)              
                break;
            ErrorCode status = clipboardController->PrepareForCopy();
            if(status == kFailure)                  
                break;
            InterfacePtr<IDataExchangeHandler> scrapHandler(clipboardController->QueryHandler(kPageItemFlavor));
            if(scrapHandler == nil)                 
                break;
            clipboardController->SetActiveScrapHandler(scrapHandler);
            InterfacePtr<IPageItemScrapData> scrapData(scrapHandler, UseDefaultIID());
            if(scrapData== nil)                
                break;
            UIDRef parent = scrapData->GetRootNode();
            cmdData->Set(copyStencilsCMD, listCopy, parent, scrapHandler);
            if(templateFrameUIDList.Length() == 0)       
                return kFalse;      
            else      
                status = CmdUtils::ProcessCommand(copyStencilsCMD);    
            if(status != kFailure)
              result = kTrue;
            sdklhelp.CloseDocument(templateDocUIDRef,kFalse,K2::kSuppressUI, kFalse);
        }while(kFalse);
        return result;
    After this I need to close first document. Now I am opening the second document from indt file which has same number of layers as first document. I am trying to paste frames from scrap data to second document using '' 'ICopyCmdData ' and 'kPasteCmdBoss' as shown in follwoing function
    bool16 pasteTheItemsFromScrapDataOntoOpenDocument(UIDRef &documentDocUIDRef )
        bool16 result = kFalse;
        do
               InterfacePtr<IClipboardController> clipboardController(gSession,UseDefaultIID());
                if(clipboardController == nil)
                    break;
               InterfacePtr<IDataExchangeHandler> scrapHandler(clipboardController->QueryHandler(kPageItemFlavor));
               if(scrapHandler == nil)               
                    break;
               InterfacePtr<IPageItemScrapData> scrapData(scrapHandler, UseDefaultIID());
                if(scrapData == nil)
                   break;
                     //This will give the list of items present on the scrap
                UIDList* scrapContents = scrapData->CreateUIDList();
                if (scrapContents->Length() >= 1)
                    InterfacePtr<IDocument> dataToBeSprayedDocument(documentDocUIDRef,UseDefaultIID());
                    if(dataToBeSprayedDocument == nil)
                       break;
                    InterfacePtr<ISpreadList>dataToBeSprayedDocumentSpreadList(dataToBeSprayedDocument,UseDef aultIID());
                    if(dataToBeSprayedDocumentSpreadList == nil)
                         break;
                    IDataBase * dataToBeSprayedDocDatabase = documentDocUIDRef.GetDataBase();
                    if(dataToBeSprayedDocDatabase == nil)
                         break;    
                    UIDRef spreadUIDRef(dataToBeSprayedDocDatabase, dataToBeSprayedDocumentSpreadList->GetNthSpreadUID(0));               
                    SDKLayoutHelper sdklhelp;
                    UIDRef parentLayerUIDRef = sdklhelp.GetSpreadLayerRef(spreadUIDRef);
                    InterfacePtr<IPageItemScrapData> localScrapData(scrapHandler, UseDefaultIID());
                    if(localScrapData == nil)
                        break;
                    if(parentLayerUIDRef.GetUID() == kInvalidUID)
                        break;
                    InterfacePtr<ICommand> pasteToClipBoardCMD (CmdUtils::CreateCommand(kPasteCmdBoss));
                    if(pasteToClipBoardCMD == nil)
                        break;
                    InterfacePtr<ICopyCmdData> cmdData(pasteToClipBoardCMD, UseDefaultIID());
                    if(cmdData == nil)
                        break;
                    if(scrapContents == nil)
                        break;               
                    PMPoint offset(0.0, 0.0);
                    cmdData->SetOffset(offset);
                    cmdData->Set(pasteToClipBoardCMD, scrapContents, parentLayerUIDRef );
                    ErrorCode status = CmdUtils::ProcessCommand(pasteToClipBoardCMD);
                    if(status == kSuccess)
                        CA("result = kTrue");
                        result = kTrue;
                }//end if (scrapContents->Length() >= 1)       
        }while(kFalse);
        return result;
         Here in above function its required to set Parent Layer UIDRef and because of this all frames are getting paste in one layer.
    Is there any way we can paste frame in there respective layers?
         Also I need to work this code with CS4 server and desktop indesign.
    Thanks in advance,
    Rahul Dalvi

    Try,
    // dstDoc must be FrontDocument
    InterfacePtr<ILayoutControlData> layoutData(Utils<ILayoutUIUtils>()->QueryFrontLayoutData());
    InterfacePtr<ICommand> createMasterFromMasterCmd(CmdUtils::CreateCommand(kCreateMasterFromMasterCmdBoss));
    createMasterFromMasterCmd->SetItemList(UIDList(srcMasterSpreadUIDRef));
    InterfacePtr<ILayoutCmdData> layoutCmdData(createMasterFromMasterCmd, UseDefaultIID());
    layoutCmdData->Set(::GetUIDRef(layoutData->GetDocument()), layoutData);
    CmdUtils::ProcessCommand(createMasterFromMasterCmd);

  • How to Modify a Landed Cost Document

    is it possible to modify the landed cost document after journal entry is posted.
    We would like to add a new landed cost component to the document after the journal entry was posted.
    Is there a way to add a new component / cost to the document after the journal entry is posted.

    As far as i know, you can't. Once the journal for the relevant landed costs is posted SBO automaticaly closes the landed costs document. Interviening with this is interviening SAP logic. Higly not advised.

  • How do I delete a document made in Numbers 08?

    How do i delete a document made in numbers 08

    Click on the item in the Dock with the smiling face, click on Documents in the sidebar or navigate to the location where you put the document, select it, press the Command and Delete keys, and choose Empty Trash from the Finder menu.
    (30686)

  • Image in header disappears when document is opened with iPad Pages

    I'm trying to create company templates for standard files that can be both accessed from my Mac and iPad via iCloud. Howerver, I can't get the iPad version to include the image that was added within the Mac version and saved to iCloud.
    Here is what's happening:
    1. Make new document with Mac version of Pages
    2. Insert an image in the headder (company logo in PDF format but I've also tried EPS & PNG as well)
    3. Save documnet to iCloud
    4. Open document from iCloud with iPad version of Pages
    5. Image disappears (to clarify, the image is shown in the thumbnail view on the iPad but disappears once opened)
    If I don't make any changes to the document on the iPad and reoppen it on the Mac the image is still there. However, if I make any changes to the document with the iPad and then open the modified file on the Mac the image remains missing.

    I have never heard that inserting an image into a header is a bad thing; can you please explain why you say it's never a good thing to do?
    As far as I know, this is a very common method and is the only way that I'm aware of to create a header with a company logo that will repeat on subsequent pages within the document. By making the image a background image, you lose this ability and the image will only show on the first page of the document.
    To answer your suggestion, yes, making the image a background image will make it visible on the iPad however this is not the issue, as images within the body of the document do not have the disappearing issue that I'm experiencing with images in the header.
    If inserting images in the header is bad thing, do you have another method that you could share that would achieve the same result; that is an image (logo) that will automatically repeat on every subsequent page that is added to a document?

  • Import Error: The document was created with an unsupported version of Word.

    This is the message I get when opening up a Word doc from a cross-country client:
    *Import Error*
    The document was created with an unsupported version of Word.
    Unfortunately, he's out of touch for the next week so I have no idea which version he is using...although a look using BBEdit reveals this in the footer of the doc: Microsoft Word for Windows.
    Is there a list of supported and unsupported versions of Word, so I can be prepared for my next encounter with this message?
    Message was edited by: Alan Bucknam

    If you can open it up, is the formatting of great importance, or is it just the information you need? If its info, copy from BBEdit and paste into your Pages doc. Sometimes you can open it in text edit and then save as a different format. (I think its text edit, one of the OSX word processors opens word docs ok.)
    Sorry, this also appears as a problem in Numbers (believe it or not, its also a problem with Office 2007 for windows too). The explanation gets a bit complicated, but there are so many variations of how a M$ document is created. (not all docs are made by M$ products remember, but exported from other programs on different systems, even if it says "Word for windows").
    Because of the varied amount of things that can be wrong (that M$ products seem to overlook, or fill in the gaps that would normally cause an error), there is no hard list of non-compatible versions.
    This is just as we ( a bunch of nerds here and around the web), have found out from experimenting with different versions and such.
    hope this helps and hope the copy paste or save as works for you.

  • Storage of a document via Word97 with a parser

    Hi,
    The storage of a document via Word97 is always impossible when
    there is a parser on the document (.doc associated with my
    custom parser)
    There is always a message "Impossible to record the file
    O:\toto.doc is not a valid file name".
    There is the same problem with wordpad for the txt files: the
    message is a little different: "impossible to modify this file
    taking into account the definite rights of access. To ask your
    administrator network to modify this parameter. "
    The parser works very good with interface HTTP and Explorateur
    Windows with copy / paste.
    We've tried with the simplest parser.
    We have the same result: impossible via storing via Word or
    Wordpad but the parser works fine with copy/paste or with
    interface HTTP.
    We don't understand... Thanks for your answers
    Have a good day !

    Preview>Preferences>Signatures.

  • Is it possible to lock a layer within a document and password protect that specific layer?

    Is it possible to lock a layer within a document and password protect that specific layer?

    As stated, no way to do exactly what you want, but an option might be to turn OFF Visibility for that Layer, if you do not want it seen, and then Flatten, and do a Save_As.
    If you do want that Layer seen, but not able to be edited, then Flatten, with Visibility ON, and Save_As.
    The question is, do you want the recipient to see that Layer, or not?
    Next, Do they need to be able to edit all other Layers, but just not that one?
    Last, what type of Layer is it?
    Good luck,
    Hunt

  • By default new document/templates start with above, How I change to be Strict 1.0 XHTML ?

    by default new document/templates start with above, How I change to be Strict 1.0 XHTML ?
    Tell me for Dw MX2004 & CS4 ?
    If I start with Transitional 1.0 XHTML and want to change to Strict 1.0 XHTML the only way is modify code or make a new doc ?

    Using CS4, there are a few ways to do it:
    1.  when creating a new document - you can select the doc type preference.
    2.  In your preferences, you can set up which document type will be opened when you select a new document.
    3.  If you start with one doctype and want to convert it to another use:

  • How to open documents by default with Pages 4 ( "Change All", "Open With" info option)?

    Hello I installed Pages 5, which I don't like.
    So I would like to open all my documents by default with Pages 4. However, I can't get the system to fix this default. In the "Info" panel of the Finder, under "Open With", I can set Pages 4 as a default app for one single document, but when I ask to "Change All" documents and use Pages 4, the system refuses to use the setting I select, and keeps reverting to Pages 5. Any suggestion, short of uninstalling Pages 5? Although I don't like it, I need to use it sporadically, so I don't want to uninstall it.
    Thanks.
    l.

    As far as I know, there is not any built-in way to do this. Perhaps an add-on can modify how the "star" works or add a new button for this function?
    Until then, you'll have to continue changing the pop-up list:
    * when bookmarking a page, double-click the star, and change "Unsorted Bookmarks" to "Bookmarks Toolbar" and then click Done
    * when bookmarking a page, press Ctrl+d or right-click the page > click the star on the context menu, and change "Bookmarks Menu" to "Bookmarks Toolbar" and then click Done
    Some users like to drag the padlock or globe from the left end of the address bar to the Bookmarks Toolbar, but if you always want the new bookmark added at the end, then this is not efficient.

  • How to make preflight profile witch find out if exist in document spot color with name "CutContour", if not show allert,  I try many combinations but nothing works

    How to make preflight profile witch find out if exist in document spot color with name "CutContour", if not show allert,  I try many combinations but nothing works

    Thanks very much for your help, but I'm still overlooking something. I double checked to make sure that I did not have a hidden .txt file extention. I then decided to abandon the lock on preferences idea until I get it working. I converted my mozilla.cfg file back to plain text. I made sure I do not have an extra blank line at the end of each file. The syntax looks good, as far as I can tell. I'll copy and paste what I have so far. Did I have the file locations correct posted above? Also, if you feel i can delete some lines of text in my mozilla.cfg file I'll be happy to do so.
    mozilla.cfg
    <pre><nowiki>//
    pref("privacy.sanitize.sanitizeOnShutdown", true);
    pref("privacy.sanitize.promptOnSanitize", false);
    pref("browser.rights.override", true);
    pref(“app.update.auto”, false);
    pref(“extensions.blocklist.enabled”, false);
    pref(“extensions.shownselectionUI”, true);
    pref(“browser.shell.checkDefaultBrowser”, false);
    pref(“toolkit.telemetry.enabled”, false);
    pref(“toolkit.telemetry.prompted”, 2);
    pref(“toolkit.telemetry.rejected”, true);
    pref(“app.update.auto”, false);
    pref(“browser.download.useDownloadDir”, true);
    pref(“browser.search.update”, false);
    pref(“signon.autofillForms”, false);
    pref(“signon.rememberSignons”, false);
    pref(“browser.download.manager.scanWhenDone”, true);
    pref(“browser.formfill.enable”, false);
    pref(“xpinstall.enabled”, true);</nowiki></pre>
    channel-prefs.js
    pref("app.update.channel", "release");
    override.ini
    [XRE]
    EnableProfileMigrator=false
    all-lmc.js
    pref("general.config.filename", "mozilla.cfg");
    defaultPref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=http://bbc.co.uk");
    Again, thank you very much for your time. Do I create my own browserconfig.properties, and firefox.js? Also, I forgot to mention I'm running Windows 8.

  • Cannot open any Pages documents made prior to upgrading to Yosemie. Pages does not appear in the iCloud list in system preferences.

    Upgraded to Yosemite. Upgraded Pages to latest version. Uninstalled older versions of pages (made with iWork '09). Now I cannot open any Pages documents made prior to upgrading. I keep getting the same redundant message: "You need a newer version of Pages to open this document. You can download the latest version of Pages from the Mac App Store." Not sure if this is relevant, but Pages does not show up in the iCloud list in systems preferences.

    Ok, I found pages on the iCloud drive. But the behavior of Pages is still the same, problem unchanged.

  • I am trying to use an external 3g modem made by Huawei model e173s-6 and when I do connect it on my usb port the macbook pro just do not recognize it. I own a 2012 model with mountain lion 10.8.2 . What should I do ?

    I am trying to use an external 3g modem made by Huawei model e173s-6 and when I do connect it on my usb port the macbook pro just do not recognize it. I own a 2012 model with mountain lion 10.8.2 . What should I do ?

    I still don't know what happened to my test Aperture Library after the update to 3.4...Not only were my previews lost, but so were the original images!  Needless to say, I haven't bothered to update the main library on the Mac Pro because I don't want to deal with this level of uncertainty (even with backups in place).

Maybe you are looking for

  • SQLLDR TRUNCATE and SQL TRUNCATE Difference

    Could any one let me know what is difference between truncate used by control file of the SQL Loader and TRUNCATE command used by SQL? Is there any impact or difference of these both over the data files. Thanks

  • HD Space Savings with Snow Leopard?  What Savings?

    After installing Snow Leopard over the latest Leopard my available disk space has DECREASED by over 70 Gb! This is completely contrary to everything i have read. I cannot find where this space went. I used the same install options as before. Anyone e

  • How can I take pictures of my Safari screen?

    I am needing to send pictures of my Safari screen to my employer to resolve some other issues. How do I take pictures of the various screens that I need to bring up and then send the pictures off to my employer? Thanks for your input. Ralph

  • Having problem with the development environment

    I have trouble with my development environment where I can't see the top portion of the screen. I'm using windows 8 and just download Edge Animate (2014) yesterday.. I uninstall and install the product again and still having the problem.

  • Extending duration of scaled image?

    In CS6, I key frame a 5 second image so it scales small. After it scales I decide to keep it on screen longer. What is the best way to extend the duration of the image after it has been keyframed? Thanks.