Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Adobe Software > Dreamweaver

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-05-2008, 04:31 PM
quma
 
Posts: n/a
Problems because of templates?

Can that be right? My website was working fine with a login based on php and
MySQL and I had an image changing using *.jpg. Then I found out about the use
of templates. So I designed a template and based my sites pages on that - now
nothing is working :0(
Can that be right? And can I use templates without having locked areas? The
template thing is great in terms of updating the design and I actually don't
need the option of making non-editable areas.

I would really appreciate some good advice here.
:0)
Lisbeth

Reply With Quote
  #2 (permalink)  
Old 08-05-2008, 04:50 PM
Alan
 
Posts: n/a
Re: Problems because of templates?



> Can that be right? And can I use templates without having locked areas? The
> template thing is great in terms of updating the design and I actually don't
> need the option of making non-editable areas.


If there are no locked areas, there's no point in using a Template.



--
Alan
Adobe Community Expert, dreamweaver

http://www.adobe.com/communities/experts/



Reply With Quote
  #3 (permalink)  
Old 08-05-2008, 04:58 PM
Win Day
 
Posts: n/a
Re: Problems because of templates?

On Tue, 5 Aug 2008 15:31:29 +0000 (UTC), "quma"
<webforumsuser@macromedia.com> wrote:

>Can that be right? My website was working fine with a login based on php and
>MySQL and I had an image changing using *.jpg. Then I found out about the use
>of templates. So I designed a template and based my sites pages on that - now
>nothing is working :0(
> Can that be right? And can I use templates without having locked areas? The
>template thing is great in terms of updating the design and I actually don't
>need the option of making non-editable areas.
>
> I would really appreciate some good advice here.
> :0)
> Lisbeth


If you don't think you need non-editable areas, then you don't
understand how templates work.

When you create a template, it's the NON-EDITABLE areas that are
common to all pages. When you update THOSE AREAS AND THOSE AREAS ONLY
in the template file, the changes propagate to all the child pages.

Changes made in the template to EDITABLE areas will NOT propagate to
the child pages.

Win
--
Win Day
Wild Rose Websites www.wildrosewebsites.com
windayNOSPAM@wildrosewebsites.com
Reply With Quote
  #4 (permalink)  
Old 08-05-2008, 07:14 PM
quma
 
Posts: n/a
Re: Problems because of templates?

Tak you for your replys.
As far as i have understood templates, there are two things they are usefull
for:
1. You can make a "dummy proove" homepage where the person who is editing the
page, only have access to edit in the regions you have made editable.
2. You can make the design as a template and make the rest of the pages from
that template, just with a different content of course. When you then want to
make changes to the design, you just edit the template and then update the
design of the other pages.
Have I misunderstood that?
The main php programming is before the head of the page based on a template -
could that cause problems to the php code?

:0/
Lisbeth

Reply With Quote
  #5 (permalink)  
Old 08-05-2008, 08:35 PM
quma
 
Posts: n/a
Re: Problems because of templates?

Ok, I now see I have definitely not made my template-planning structured
enough, but I still need to understand part 2 right:

>Next I create server-side include files containing all class 2 >elements and

place them on the template as needed. Note - >some of the class 2 elements may
be "section-specific elements", >and their placement on the template will be
subject to the next >item

Do you meen, next you create pages with the php code and save them as nested
templates or on the same main template... No sorry, I don't get it... Could you
descripe that in another way or you know of any step by step tutorial on that
topic? Pardon my newbieness :0)


Reply With Quote
  #6 (permalink)  
Old 08-06-2008, 08:22 AM
quma
 
Posts: n/a
Re: Problems because of templates?

OK - now SSI rings a bell to me :0)
But how about if a site needs to have a restricted area (php and MySQL),
you'll need a login page, some pages that are only viewable when authorised and
a logout funktion on one of these pages.
How to put that into a page created from a template?
On my php template I made a maincontent div tag that was editable inside the
body. Then I tried to make the login page build of that template. No problem
placing the login field inside the maincontent and I could make DW put the
right behaviours and php code on the top of the page. But it didn't work and
since I couldn't find the error elseware I "blamed" the template.
Would that be the right way to do it or would you use SSI in this situation?

:0)
Lisbeth

Reply With Quote
  #7 (permalink)  
Old 08-07-2008, 08:29 AM
quma
 
Posts: n/a
Re: Problems because of templates?

Well - again I can just say Dreamweaver (and Adobe support) is worth every penny it costs.
Thanks ;0) Liz
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Adobe Software > Dreamweaver


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:33 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Debt Help | Gardening | Credit Card Offers | Mortgage | Gas Suppliers



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114