Edit optional region in template
I need to edit an optional region in a template so that by
default the value is "false" for the given region.
So to do this I:
- select the region
- in the 'Properties' window CLICK 'edit'
- select the 'basic' tab
- UNCHECK the 'show by defailt' box
- CLICK 'OK'
Unfortunately this does nothing. The template does not seem
to have been altered at all. If I go back in to edit the same
region the box, which I DEFINITELY unchecked, is CHECKED again.
Anyone able to offer some insight, please?
Ideas and thoughts welcome.
Cheers
H
this doc really helped
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16347
as it highlights the fact that you can go into the code in
the <head> tag and change the following (for example) case of
'true' to 'false':
<!-- BEGIN SECTION SELECT OPTIONAL AREAS TAGS-->
<!-- TemplateParam
name="nav-primary-selected-undergraduate" type="boolean"
value="true" -->
Not sure why the 'edit' option in DW wasn't working
<!-- END OPTIONAL AREAS TAGS-->
Similar Messages
-
Editing uneditable regions on template using CS4
I am updating an existing website using CS4.(I'm new at this) I went into the template made changes & saved it. None of the changes show up on the web pages. The update dialog box did not show up when I saved the changes. When I went into the Asset file under templates there were none showing up. But the template file is under the local files. Obviously I'm missing something. Please help.
I'll save the original poster some trouble.
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 thanits *.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?
Or, read this -
http://www.adobe.com/go/dd83ba8b -
Unable to edit header regions of template
I have just recently taken over the whole editing etc, publishiing , admin of some websties. i have purchased contribute CS5. I was previously using Contrbute 4, which allowed me to edit the whole of the pages'header, body etc..' however, whereas the consultant adminsitrator allowed me to edit the header regions, I now do not seem to be able to do this in CS5. Is it because the administrator has done something to stop me or am I missing some vital bit of info. I can edit the content. The old administrator is acting as if I never could do this and says I need to use Dreamweaver, which I dont have and didnt need it before, I have open the index page in dreamweaver and I still find that I am unable to edit the header and it appears to be try to access an included file, it is trying to access Templates/base.dwt trouble is this does not exist among the files, any idea's why this might be so or is there some trick to editing the headers now that I am missing, cheers in addvance
dustinHi Dustin,
You can edit the existing template in the Dreamweaver as for you requirement, by creating connection to that site in Dreamweaver.
While saving the template, Dreamweaver will prompt you, asking for updating the pages using this template. You can update all the pages using that template. So then changes you did in the template will be reflected in those pages.
For example, if you place the Header part in Editable region and save the changes and update in all the pages, then when you edit those pages, the header part will be editable.
Hope this helps you. -
Editable/Uneditable Region (Template)
Hi,
I am using dreamweaver to design my personal website. I need some help please.
I created a template and designed some pages based on it. I have two editable regions in the template. I want to change one of them to uneditable.
Could you please tell me how to do it?
Thank you for your help.
RayHi,
here is an ADOBE tuorial, where you will find some hints how to "Insert a non-editable optional region" or "Insert an editable optional region":
http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WScbb6b82af5544594822510a94ae8d65-7aa9a .html#WScbb6b82af5544594822510a94ae8d65-7aa8a.
And "make an editable tag attribute uneditable":
http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WScbb6b82af5544594822510a94ae8d65-7aa2a .html
The links are a little bit long, hope you will see them!
Hans-G. -
POSITION OF IMAGE IN TEMPLATE OPTIONAL REGION
Hi,
I am new to Dreamweaver and have designed a template with a
table on my page. Each of 4 template areas are either editable or
optional regions. In one optional region I have an image. I have
defined the table to be aligned to the top of the table cell, but
when the template is applied to the other pages, the image is in
the middle vertically. I also have it set to be centered
horizintally, but it stays to the left.
What am I doing wrong?
Any help would be appreciated.Post a link to the page, please.
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
==================
"tlctara" <[email protected]> wrote in
message
news:fvsme0$l0d$[email protected]..
>
> Hi,
> I am new to Dreamweaver and have designed a template
with a table on my
> page.
> Each of 4 template areas are either editable or optional
regions. In one
> optional region I have an image. I have defined the
table to be aligned
> to the
> top of the table cell, but when the template is applied
to the other
> pages, the
> image is in the middle vertically. I also have it set to
be centered
> horizintally, but it stays to the left.
> What am I doing wrong?
> Any help would be appreciated.
>
> -
Editable attribute within optional region?
If I make an optional region in my template, and within it
make some attributes editable, will this work ok?
thanksShould, yes.
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
==================
"jdldn" <[email protected]> wrote in message
news:ge9j14$oj0$[email protected]..
> If I make an optional region in my template, and within
it make some
> attributes editable, will this work ok?
> thanks -
I am teaching a course in Dreamweaver 2014.1.1
We are setting up templates in fluid grids.
We need to make regions editable.
The LIVE view replaced the DESIGN view and does not have certain options accessible anymore.
I can't find the command to access the dropdown panel to make a region editable.
The Template tab at top, and the make editable options subtab, will not come open in fluid grid template mode.
Does anyone have a way to do this?I was under the impression that the February update (2014.1.1) released a few days ago had fixed these problems. I urge you to file an official bug report below.
https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
My advice for now is to stay away from Fluid Grid Layouts. But if that's not an option, I'll show you a trick for getting Design View back. Open the Fluid Grid CSS file and add an X as shown below. This tricks DW into thinking it's a normal layout.
Dreamweaver Fluid Grid Properties
dw-num-cols-mobile: X 4;
dw-num-cols-tablet: 8;
dw-num-cols-desktop: 12;
dw-gutter-percentage: 25;
=====================================
Once saved, you should see Design View as an option.
Nancy O. -
Can't Delete Non-Editable Region in Template?
Well, I can in existing templates but if I create a new one from an existing page using "Save as Template", when I try to delete a non-editable region in the template, DW won't let me. I don't know why. Aaaargh!
It's my understanding I should be able to edit anything in a template. I've tried existing DW and restarting. I've tried using other pages as a basis for the template. Every template I create won't let me delete non-editable regions. I'm highlighting the non-editable region and pressing the delete key. I can't delete.burro_mail wrote:
Not sure DW is doing what you describe...
But I am certain you could remove the region in code view.
Even if you are a WYSIWYG-er and not a big code-head, it should be pretty easy to remove the region markers and everything between them...
Trust me, it is. I'm wondering if the problem is associated with the fact that the source page that I saved as a template was based on a template? I just noticed that this new template refers to another template. I'm thinking that means the other template is controlling what I'm trying to do in the current template.
That's it. I just tried saving a template under a different name (still retaining the correct template file extension) but did not do the save as template. Now I can completely edit that template. So you if you save a page that is controled by a template, as a template, that new template is controlled by the previous template.
I've got a headache now. -
How can we add multiple editable region in template
Hi,
My issue is when I am going to create a new template I want to add multiple editable region in template and I want to use those editable region per page wise so that in page editor I will add different text for each page for those editable region.
I can use incontxt editor to change those area for different pages although is it possible to use online editor to add different text for different pages.
I also have a plan to solve the issue ... that is also not working.
Plan is .. if we can use tag (not the default one in template), want to use different tag like {tag_headding},{tag_sidebarcontent} in template so that we can use those tag in template and fill the field in the page online editor, so when differnt page we will create we will fill those field for those tag and that will show in the front view of the site.
Please help me. I am really stuck on this issue.
Thanks in advance.
ProjjwalHi Projjwal,
Yes, if you look at many of the commercial BC templates available the way they are getting around it is with Content Holders and multiple templates.
Now I know you will say that multiple templates is high maintenance ..... not if you use Content holders for both recurring content and unique content.
Think of Conent Holders as 'Includes' ... I have been doing it this way with templates that I build from scratch as well. Easier than you think.
And that way the client can change content such as footer information or whatever that appears on all pages without editing the template itself.
Only drawback is that if you are using Design View in Dreamweaver the content holders don't render. But other than that Content Holders are awesome.
Brad -
How to delete editable regions and template?
Hi everybody,
I posted this question earlier in the web discussions area, being unaware of a forum specific to Dreamweaver. Sorry for posting in two different places.
For the past week, I have been learning Dreamweaver CS4 from an online tutorial. I got to the place where I generated a template (index.dwt) from the main page (index.html) and created some editable regions on it. At that point, I realized that I had done all the steps by rote and did not actually absorb what I was doing. I wanted to delete the template in order to repeat the steps and gain a better understanding of the process. When I tried to delete the editable regions (modify-templates-remove editable regions), I was unable to do so because "remove editable regions" was greyed out. Nor was I able to delete the html code. I tried to delete the template itself, but when I did that, the index.html page retained those editable regions! Can anyone tell me if there is a way to get back to the place I was in before creating the template?
Thank you for any assistance.All you need to do is detach the index.html file from the template. Then you can delete the template and start all over.
Go to the Modify menu --> Templates --> Detach from Template -
Creating DW templates - Repeating Optional Region?
Hello Again:
I know that it isn't always the best to pose abstract questions on forums, but I am wondering if anyone can tell if/how one can create an optional region within a repeating region of a DW template?
The specific conundrum I seem to face that if a region has two divs within it (one with and one without a textbox surrounding it, for example) and if the user of the template chooses to repeat the section, how can they delete the second div within the repeated region (deleting through the modify tempate option) without deleting all the previous instances of the div as well.
If there is a way to do this, I would appreciate some guidance.
Thanks in advance.
Steve Webster.Yes, and first my apologies, as I could have provided the example first of all. If you go to http://socls.org/testing/immigration-refugee_law.html I can perhaps explain my objective better. On that page you see a series of text boxes one with a gradient background and a second with a only a outline in red. For the moment ignore the text boxes that are rendered side by side and assume that the 1st two horizontal text boxes are all that I want to repeat throughout the page.
I want to place the two of those full width text boxes within a repeating region (or turn them into a repeating region). However if the webmaster needs to add content but doesn't need a pair of text boxes, or otherwise gets to the end of her content sections and doesn't need a final red outlined box, then I would want that the last red outlined box to be optional, without however deleting previous instances. Sometimes content can't be organized so neatly as to finish with an even number of "content sets".
I think the bigger problem is, as I understand it, that you can't create two "divs" (in this case text boxes) and have each repeating independently, and allow each to be moved up and down as though they were passing through another text box/div that also constitutes a repeating region. The only way to have the pattern to repeat is to "pair" them as a single unit (Or perhaps I have misunderstood how the repeating action works ?!?) I have tried treating them as independent repeating regions and it doesn't seem to work in the manner I would like. If you tie them together in this way, then the only way to end with an uneven number of text boxes is to make one optional. But it seems that if you make the second in the pair optional, then by "turning it off", you end up turning all off.
At least that is how it seems to work.
You may be right that the design is too complicated to work as a template in this fashion.
Or, perhaps I am fundamentally mistaken on the architecture of the repeat concept.
Thanks again for your patience and persistence
Steve. -
Reformatting editable region on template.
I have several pages created off a template that has an editable region. I want to reformat the editable region in the template, such as adding a new DIV, creating borders on it, and adding an image placeholder.
When I do this, the pages created from the template don't change also.
If I remove the editable region from the template, put in the format changes, then put the editable region back in, then all the pages I had created earlier lose their content.
Is there a way to do these format changes, make them flow through to the dependent pages and not lose the content on those pages?
Thanks,
AronAron,
To "reformat" an editable area on a template, create the div and structure OUTSIDE the editable area. That is, "wrap" the editable area in a div and apply style via CSS. The image placeholder is something you can place in the template, but it will not update on pages that have already been created from the template. The new div will be applied on all pages, because it will not be in the editable region.
Beth -
Template Optional region - BODY TAG
Hi,
Is it possible to make a optional region inside the BODY TAG?
I want place following line inside the body tag (but not on
all pages!!):
onload="load()" onunload="GUnload()" ...(code for Google
Maps).
I tried insert the optional region but DW doesn't seem to
accept it...is there another way around?
Hope someone can help:-)
mg04> Is it possible to make a optional region inside the BODY
TAG?
No.
However, read DW's F1 Help about using Editable Attributes.
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
==================
"mg04.dk" <[email protected]> wrote in
message
news:gd307v$m2p$[email protected]..
> Hi,
>
> Is it possible to make a optional region inside the BODY
TAG?
>
> I want place following line inside the body tag (but not
on all pages!!):
> onload="load()" onunload="GUnload()" ...(code for Google
Maps).
>
> I tried insert the optional region but DW doesn't seem
to accept it...is
> there
> another way around?
>
> Hope someone can help:-)
>
> mg04
> -
Change tr bgcolor based on optional region
Hello, dear DW wizards,
I would like to automatically change the background color of a table row based upon wether an optional region is visible in a document or not.
I created an optional region in a template and set its default state to show. In another region I made the tr tag of a table row editable. The default bgcolor for that row is red.
If the optional region in an html file based on this template is hidden, the bgcolor of the table row should automatically change to blue.
Is this possible with conditional expressions? I find no detailed info on the programming and don't know Javascript (which DW expression language is similar to).
Thanks for you help
BernhardYour best bet with questions like this is to post your code so we can see exactly what is happening. Nevertheless, the 'guess' answer to your question is "yes" you can do such things with conditional expressions. You would make the color for the <tr> test the template parameter that controls the visibility of the optional region:
<tr style="background-color:@@(param==true ? #AAAAAA : #BBBBBB)@@" -
Hinding code with Optional Regions
I am getting an error:
HERE
I know why, it is because I have to use: <body
onload="load()" onunload="GUnload()"> in the line:
<body class="thrColFixHdr"
onload="P7_TMclass();P7_TMopen();load()"
onunload="GUnload()","P7_TMclass();P7_TMopen();MM_preloadImages('images/layout-images/clo se-tabs-over.gif')">
This is used to display a google map in my 'Location' page
but this is the only place I need that code and where the map does
not exist (all other pages) I get the error.
Is there any way of hiding part of that code in my template?
I have tried to have two versions of the line with and
without the map code in 'Optional Regions' but no luck.
Some expert advice greatly appreciated.
Cheers,
Richard> 1. If I add: <!-- TemplateParam name="MapScript"
type="boolean"
> value="false"
> --> to my template and make it true on the page with
the google map I get
> the
> Load() error on all other pages.
Yes - well, this is a problem with a template controlled
page. The body tag
is NOT editable. You *can* use an editable attribute on the
body tag for
the onload attribute, which would allow you to access the
values associated
with that attribute on each child page, but it's all-or-none
in the sense
that you would have to add the full text of that attribute on
each child
page (adding or subtracting the 'load()' call).
Are you using server scripting on these pages?
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
==================
"RICH POW" <[email protected]> wrote in
message
news:ful2gl$lqf$[email protected]..
> Thanks for the reply...
>
> I'm in a bit of a vicious circle here.
>
> 1. If I add: <!-- TemplateParam name="MapScript"
type="boolean"
> value="false"
> --> to my template and make it true on the page with
the google map I get
> the
> Load() error on all other pages.
>
> 2. If I leave the script in I get a Null Value error on
all pages except
> the
> google map page.
>
> Do you know a way I can include that map just on that
page?
> Do you know how I can add the whole page with SSI or add
the <body
> onload="load()" onunload="GUnload()"> to the body tag
with an option
> region?
>
> Here is the map in it's simplest form:
>
http://adelantedesign.co.uk/websites/adelante/googlemap.html
>
> Thanks again for your time.
>
> Richard
>
Maybe you are looking for
-
I am trying to save a mp3 file but firefox does not allow me to save it...it allows me to play the file but not download and asave it to my computer. How do I enable Firefox to save mp3 files on my computer?
-
How do I get all of my playlists to synch to my devices?
I signed up with iTunes match and got all of my music into the cloud. On my laptop, I have my music in folders then in playlists. I have a couple of folders that don't have all of the palylists available on my devices. I've turned off iTunes match, t
-
Can a Stored Procedure be called from a Rule (not using Scripted JDBC Adap)
Hello smart people, Question: Can a stored procedure be called from a Rule without using the Scripted JDBC Resource Adapter? What's Desired: The project has very strong sql developers and average at best Java developers. We have been successful at im
-
We have a micky mouse stored procedure to check the link to a remote Oracle database before attempting to transfer data between the two. create or replace function isFredAvailable return boolean /* Figures out whether FRED is available or not. */ is
-
Appleworks 6- Seeking help!!
I have just completed some artwork on the drawing document page, which has text to one side and a web imported photo image to the other. My problem has been with another web template (thought bubble) which I added to place over the rest. Although I w