I have an Editable Region in a template and want to remove it

When I have an Editable Region in a template and want to
remove it, and from all child-pages, what to do[mx 2004] ? The
below code if is in logout.php how is get included in a file ?
I use:
<!--#include file="../customeradmin/logout_links.php"
-->
but isset($_SESSION["email"] does not working .... well ?
[code]<?php
if (isset($_SESSION["email"])) {
?>
<link href="/css-styles.css" rel="stylesheet"
type="text/css"><body class="text_normal">
<span class="text_normal">LOGGED IN(<a
class="text_normal"
href="/php_files/logout.php">Customer-LogOut</a>)</span>  
<?php
?><br />
<?php
if (isset($_SESSION["email-affiliates"])) {
?>
LOGGED IN(<a class="text_normal"
href="/php_files/affout.php">Affiliate-LogOut</a>)
<?php
?>
[/code]

Click in the editable region in the Template file. Right
click on the
mmeditable tag you see on the tag selection and choose Remove
Tag from the
menu. Save the Template.
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
==================
"123polis123" <[email protected]> wrote in
message
news:gf7pu8$p69$[email protected]..
> When I have an Editable Region in a template and want to
remove it, and
> from
> all child-pages, what to do[mx 2004] ? The below code if
is in logout.php
> how
> is get included in a file ?
>
> I use:
> <!--#include file="../customeradmin/logout_links.php"
-->
> but isset($_SESSION["email"] does not working .... well
>
> [code]<?php
> if (isset($_SESSION["email"])) {
> ?>
> <link href="/css-styles.css" rel="stylesheet"
type="text/css"><body
> class="text_normal">
> <span class="text_normal">LOGGED IN(<a
class="text_normal"
>
href="/php_files/logout.php">Customer-LogOut</a>)</span>  
> <?php
> }
> ?><br />
> <?php
> if (isset($_SESSION["email-affiliates"])) {
> ?>
> LOGGED IN(<a class="text_normal"
>
href="/php_files/affout.php">Affiliate-LogOut</a>)
> <?php
> }
> ?>
> [/code]
>
>
>

Similar Messages

  • Is there a way to remove an iphone from my icloud account? I have 2 iphones on my icloud account and want to remove one of them. Can I remove it without having the device in my possesion?

    Is there a way I can remove an iphone from my icloud account without having the device in my possesion?

    Go to Settings > iCloud, and sign out of the Apple ID there, then sign in with a different Apple ID.

  • Inputting a list into an alternative to inputting it into an editable region in a template

    Hello all,
    I did ask this question yesterday but only got partial feedback so I'm hoping someone can help as I can't find the answer anywhere.
    I'm hoping you can help me.
    I am creating an online clothing shop website and am having trouble.
    I have created a main template from scratch that reflects in the mens and womens pages, and the contact, about etc pages with all headers, logos, footer, a spry menu etc. I made these pages from the main template via new - Page from template etc so any changes I made to the header, logo etc will easily reflect in all of these pages.
    This part is all fine.
    This is my issue - in the main template I have an editable region so that I can input different content ie. 'about' info on the 'about' page, and product info on the mens / womens pages etc.
    Basically in each page Mens / Womens I need category pages - tops, shirts etc. These are all in the drop down spry menu but I also want them as a list in the mens and womens pages.
    From the template I created the mens and womens pages and have now saved these as a template as there will be around 10 categories for each mens and womens (tops, shirts etc) that I want to be able to replect any changes, ie. in the 'mens template' instead of having to do it in each category page - as this will take a long time.
    The problem is that I put the list in the editable region in the mens template, but I now know any changes I make wont be relfected in the category pages I have made from the mens template as this is an editable region.
    How can I make a category list in the mens template page that will be reflected in each category page?
    I'm really stuck and have no idea how to do this, I'd appreciate any help.
    Thankyou in advance

    I don't recommend using multiple or nested Templates.  There are much better ways to do what you want without going down this very slippery slope.
    Use Server-Side Includes alone or with your main Template.
    Build a Dynamic Site with databases and server-side programming.
    E-commerce Solutions:
    Cartweaver (extension for Dreamweaver)
    http://www.cartweaver.com/
    Web Assist
    http://www.webassist.com/support/ecommerce-options.php
    Building an e-comm site with DW & PHP (video training) 
    http://www.lynda.com/Web-Interactive-Web-Design-Projects-tutorials/Building-eCommerce-Web- Site-Using-Dreamweaver-PHP/83091-2.html?utm_medium=affiliate&utm_source=ldc_affiliate&utm_ content=524&utm_campaign=CD4386&bid=524&aid=CD4386&opt=
    Nancy O.

  • Error adding editable region in nested template Header

    I have a base template for the website (establishing basic
    menus), and a secondary template using that base template, which
    establishes a common table layout for one part of the site. Having
    created the PHP to drive the page, I need to lock down that
    secondary nested region - otherwise any edit I make to my secondary
    &quot;table-defining&quot; template is not passed through
    to the final pages using the secondary template. I have
    successfully created a secondary editable region in each part of
    the &lt;body&gt; area, and sure enough, it locks down text
    outside the secondary editable region just as DW help says it
    should. So far so good.
    Now the problem - I cannot create a region inside the
    &lt;head&gt; editable region to lock down that region too.
    Normally one would want keywords and so on to be variable from page
    to page, but as I am filling variable keywords from a database, it
    makes sense to lock down the &lt;head&gt; too. Does anyone
    know why that generates an error &quot;cannot create an
    optional region here&quot;? Is there anything that can be done
    about it?

    Posts are hard to read when they are all crammed together
    like yours. Try
    making some paragraphs!
    Nevertheless, I think I understand what you are saying., but
    honestly, I
    just wouldn't do it that way. Anymore, my templates are just
    one editable
    region in the body, and a bunch of server-side includes. I
    find nested
    templates much too complex, and troublesome to work with, and
    have really
    never found a scenario where I could do things with them that
    I could not do
    more easily with other methods.
    > However, I have an Editable
    > region with the HTML Head area, and DW does not permit
    me to add a
    > 'secondary-template Editable Region' within it to lock
    it down.
    Is it only you working on the site? Who are you trying to
    'lock down'? If
    it's only you, I'd forget about this. Invariably the things
    like this that
    you think are a good idea come back later to bite you.
    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
    ==================
    "suddensurprise" <[email protected]> wrote
    in message
    news:[email protected]...
    > Murray 'ACE' wanted to understand why I am using nested
    templates.
    >
    Primary
    > Template or 'base layout' I have a primary template
    which establishes
    > the
    > top, left and bottom borders for the site. These contain
    Spry menus - if
    > I
    > change the menu on the primary template, all pages will
    be updated. The
    > primary template has a 'work area box' which is where
    the page content
    > goes for
    > each different page.
    Secondary or 'nested' template Next I have a
    > secondary template, or nested template. It starts with
    the primary
    > template
    > but this time the 'work area box' is set up with a
    product table and
    > various
    > fixed column headings. The table is filled from
    different database
    > records
    > using PHP and MySQL. Therefore the secondary or 'nested'
    template
    > establishes
    > a common format for the product table. For example, a
    change to a heading
    > in
    > the secondary template is updated into all pages using
    it. And to
    > reiterate, a
    > change to the Spry menu bar on the primary template will
    update the
    > secondary
    > template and all pages created from that template.
    Similarly, I have
    > several
    > other secondary templates, all created from the primary
    template, all
    > setting
    > standard sections of the website so that multiple pages
    can be updated at
    > once
    > via a single template change.
    Note: the code in the secondary
    > template
    > needs to be 'locked' so that edits within it are passed
    on to its slave
    > pages.
    > This is done by creating an empty Editable region at the
    beginning of the
    > 'work
    > area box' I talked about.
    Other Approaches? If anyone knows a
    > better
    > way of enabling site edits to be passed consistently
    down into different
    > standard-section blocks of the website, I would welcome
    your input.
    >
    The
    > Problem Now to reiterate the problem with which I
    started this thread.
    > In
    > a secondary template it works fine creating a second
    Editable Region
    > within the
    > Body of the HTML document - the rest of the code in that
    'primary template
    > editable region' is now locked out as is required.
    However, I have an
    > Editable
    > region with the HTML Head area, and DW does not permit
    me to add a
    > 'secondary-template Editable Region' within it to lock
    it down. I am
    > wondering
    > if anyone in the Community knows why or can suggest a
    solution. Regards
    > Richard
    >

  • How to make metatags "Editable" region in my template?

    How can I make my metatags "editable" regions in my template?
    I tried doing it as shown below . . . but when trying to update the individual pages from the template, I get an error message that looks like its trying to tell me something is missing from the <!-- TemplateBeginEditable -->  instruction.
    Can anyone help?
    I appreciate it!
    <head>
    <!-- TemplateBeginEditable -->
    <meta name="keywords" content="cat, dog, apple, banana">
    <meta name="description" content="My Description will go here.">
    <title>My Title will go here</title>
    <!-- TemplateEndEditable --><!-- InstanceBeginEditable -->
    <title>undefined</title>
    <!-- InstanceEndEditable -->

    Thanks for your response, David
    Well, I've tried to implement your instructions on the template (see below for EXACT code).   But on all the "child" pages, I am ONLY still allowed to edit the "Title" tag.  Everything else is still GRAYED-OUT (unable to edit).
    What did I do wrong?
    - Jim
    <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">
    <head>
    <!-- TemplateBeginEditable name="head" -->
    <meta name="keywords" content="resume,resume service,resume writer,resume assistance,resume assistant">
    <meta name="description" content="Professionally-written Resumes ready in 60 minutes! Great quality & friendly service.  Just $49.95. Lowest prices! Our 19th year. Work with a real person on the phone. Hassle-free (no forms to fill out like our competition). Guaranteed Job-Winning Resumes. Open 7 days til 12 Midnight.">
    <title>Best c Resumes - Ready in 1 Hour!</title>
    <style>
    <!--
    a            {
    color: #0000FF
    -->
    </style>
    <link rel="File-List" href="../u4/17YUvRBD_files/filelist.xml">
    <meta name="Microsoft Theme" content="blends 011">
    <!-- TemplateEndEditable -->
    </head>

  • I have Pages 09.  I have created custom templates and want to delete them.  How do I delete a template I have created in Pages 09?

    I have Pages 09.  I have created custom templates and want to delete them.  How do I delete a template I have created in Pages 09?

    Pages stores those you created & saved as templates in (your account) > Library > Application Support > iWork > Pages > Templates > My Templates. The door to the user's Library is hidden in Lion but it is easy to open. In Finder, hold down the Option key while clicking on the Go menu & your users Library will appear about halfway down the list.

  • I connected my external hard drive to my new imac to put all of the information from my macbook onto it. i have been working on the macbook now and want to reconnect the external hard drive so my imac is updated with the work. How is that done?

    I connected my external hard drive to my new imac to put all of the information from my macbook onto it. I have been working on the macbook now and want to reconnect the external hard drive so my imac is updated with the work. How is that done? or is it possible?

    As I said, I don't use Time Machine, so it'd be best to wait for an "expert" answer, but, with my very limited knowledge, I'd say: probably not - so, for now, I'd suggest you read up on Time Machine:
    http://web.me.com/pondini/Time_Machine/Home.html
    http://support.apple.com/kb/index?page=search&src=support_site.home.search&local e=en_US&q=time%20machine
    And, you might be attracting more knowledgeable answers if you were to post this question in the Time Machine Forum (part of the Snow Leopard forums).

  • I have reinstalled snow leopard 10.6.8 and want to restore my i photos from time machine. can not find iphoto libary in time machine, can"t not find home-pict. iphoto lib.  in time machine

    i have reinstalled snow leopard 10.6.8,  and want to restore my i photos from time machine. Can not find i-photo libary in time machine, can't not find > home-pict. iphoto lib.  in time machine. Please help.

    On my HD it does not say ,restore, in yourname -pict. Iphoto lib.,
    On the time machine, it , yourname etc, oes not show up at all.
    Only right side of TM, your name etc. does not show.

  • I have photoshop C6 on my MAC Pro and want to install it on my new MAC desktop.  I sent the files with AirDrop but photoshop wont open I get an error message that it cant find the Library.  Any thoughts?

    I have photoshop C6 on my MAC Pro and want to install it on my new MAC desktop.  I sent the files with AirDrop but photoshop wont open I get an error message that it cant find the Library.  Any thoughts?

    download the installation files and install using your serial number or adobe id,
    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  12 | 11, 10 | 9,8,7
    Lightroom:  5.5 (win), 5.5 (mac) | 5.4 (win), 5.4 (mac) | 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • I have downloaded cds into my itunes library and want to load them ont my ipod touch.  it is only transferring music that i have purchased.  How come?

    I have downloaded cds into my itunes library and want to load them ont my ipod touch.  it is only transferring music that i have purchased.  I did not have this problem with my iphone or my old ipod touch.  How come?

    Do they play in iTunes on the computer?
    Did you use the iTunes import feature?
    http://support.apple.com/kb/PH12486
    What is the format of the songs? Select a song and right click and select Get Info and go to the Summary tab

  • I have moved from the US to Norway, and want to change my apple ID to the Norwegian appstore. However, I am not allowed ot change from the US store before I use up my balance, which is 0.17 dollar. The problem is that nothing costs 0.17 dollar.Please help

    I have moved from the US to Norway, and want to change my apple ID to the Norwegian appstore. However, I am not allowed ot change from the US store before I use up my balance, which is 0.17 dollar. The problem is that nothing costs 0.17 dollar and I do no longer have an american visa card, only Norwegian. Is there any way I can erase the credit on my account so I can change the appstore country? Or osmething I can use this credit on? Thank you very much

    Try contacting the store support staff at: http://www.apple.com/emea/support/itunes/contact.html they are usually pretty good at sorting out these issues.

  • I have two iPhones on my apple account and need to remove one how do I do this? Thanks

    I have two iPhones on my apple account and need to remove one how do I do this? Thanks

    If you are using two iPhones on the same Apple Account by using the same Apple ID you can remove one by following the following:
    Choose Settings > Store and tap Sign out
    The apps and such should remain. If you want to clear all of that you can do the following:
    The Erase all Content and Settings feature under Settings/General/Reset will remove your content and settings. 
    iOS: Understanding 'Erase All Content and Settings'
    http://support.apple.com/kb/ht2110

  • HT204053 I have one icloud id on my mac and want to share with an ipad with a different icloud id.  if I create a new id for both of us will this work?  My concern is losing data on either device.

    I have one icloud id on my mac and want to share photos, calendars, etc with an ipad with a different icloud id.  if I create a new id for both of us will this work?  My concern is losing data on either device. (the mac book pro is new, but has all of the retrieved data from my previous mac book pro)

    You will lose data from whichever was the 2nd to last to sync .
    Don't do it.

  • HT201272 I have deleted a song from my library and want to re-download it.  When I access my purchased items in the iTunes store, the song has the 'purchased' button next to it and won't let me re-download. Any suggestions for things to try?

    I have deleted a song from my library and want to re-download it.  When I access my purchased items in the iTunes store, the song has the 'purchased' button next to it and won't let me re-download. Any suggestions for things to try?

    While you can redownload most past purchases without charge, you can't redownload movies without paying again.  See Downloading past purchases from the App Store, iBookstore, and iTunes Store: http://support.apple.com/kb/HT2519

  • I have an imac running 10.6.8, and want to update to Yosemite, but am unable to. What can I do?

    I have an imac running 10.6.8, and want to update to Yosemite, but am unable to. What can I do?

    hi alan i run a business on ebay selling photos and negs. i recently installed yosemite and it locked my entire library on iphoto. when i try to download the app to free it from ishop it tells me there is a fault with the app and my  iphoto is frozen. i am basically out of work and finding it very hard to find someone who can help me unlock it.. look at the things being said about this yosemite  locking this.....freezing that... be very careful if you need your business for your livelyhood. the actual performance is really good.....better display ...much faster and well presented but is it worth having parts of your compy put out of action i possibly think not. i am new to this community so hopefully someone reading this may be able to advise us both.....paul

Maybe you are looking for

  • Restore backup pieces from tape to disk

    Hello, I want to restore the backup pieces from tape to disk.   Is there any way of getting those bacup pieces to disk.  I have contacted storage team, that they can't copy the files, only through rman utility the files can be used. I just need to re

  • Anyone figure out the time zone issue?

    Hey Everyone, I've read about this on some other forums and there seems to be no resolution, nor acknowledgement by VZW or HTC that this is an issue (unless I missed it) I am in Arizona, and when the time is set to network time, it goes back and fort

  • How to stop ActionListener... HELP!

    Hi all! I have a function in my imaging application which adds "stamps" to the image. This functions adds a picture as a stamp to any location on the image loaded into my app. The stamp functions works perfectly, as the user can add the stamp picture

  • How Replication works ?

    Hi All, How ORacle Replication works? Does it sending statement to Mview site and later MView site execute it. OR It send the data for a statement from Master site to Mview site. Example - A delete of records in the Master Site , how will it replicat

  • DNS / BIND  - Can I configure primary and standby forwarders?

    Hi all, I have on Solaris 10 (x86) a DNS server (BIND 9.3.6-P1) that relies exclusively on two "forwarders": 155.28.144.13and 154.23.134.32. The configuration is as follow: # cat /etc/named.conf acl "CSClan" { 192.168.4.0/24; 192.168.7.0/24; }; //CSC