Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

How to repeat the header, menu and footer on each page with DW?

New Here ,
Jul 20, 2021 Jul 20, 2021

Hello,

I am new to DW and I would like to keep the same header, menu and footer identical on each page, in fact only the content (body) of the page should change.

 

Should we copy on each new page (the header, nav, footer, ...) parts !!! : -0 or is there a simpler and faster way on DW directly to be able to do it ??

 

Rem: I believe there is an include command (but if I understand correctly then I have to use some PHP: - ((which I would like to avoid ..)

 

thank you so much

 

TOPICS
How to
4.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 23, 2021 Jul 23, 2021

Most likely senile as well. It cant be any clearer, you'll even have to unblock the content as it contains 'possibly inappropriate content':


https://context.reverso.net/translation/french-english/Va+te+faire+foutre 


Not convinced yet, well here's another


https://www.urbandictionary.com/define.php?term=va%20te%20faire%20foutre 

 

You know exactly what you were posting and its intended meaning, to be offence and abusive and in French, I wonder why I'm sure Birnou can look after himself.

 

 

So if I say it's best to distance oneself from those that drink alcohol, that's a basis for being racist?


Now you are accusing be of being a racist just for implying Id rather distance myself from people who cant speak plain English. Id rather distance myself from football hooligans, Id rather distance myself from drug takers........ that makes me a racist in your view........you really are trawling new depths to find a way out of this but youre just looking more and more desperate.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 23, 2021 Jul 23, 2021
quoteNow you are accusing be of being a racist
By @osgood_

well... is this friendly words ?

quote

Now at least thats plain English, oh wait being as though your French you dont like the English, right, maybe there lies your problem. I dont know, try having a conversation in plain English for once, so at least a greater percentage can understand what it is you are desperately trying to communicate, otherwise your opinions are wasted on yourself.

By @osgood_

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 23, 2021 Jul 23, 2021
quote
quoteNow you are accusing be of being a racist
By @osgood_

well... is this friendly words ?

quote

Now at least thats plain English, oh wait being as though your French you dont like the English, right, maybe there lies your problem. I dont know, try having a conversation in plain English for once, so at least a greater percentage can understand what it is you are desperately trying to communicate, otherwise your opinions are wasted on yourself.

By @osgood_

 


By @B i r n o u

 

 

Its not racist, not abusive in my opinion and certainly not obscene, informing you to FO!

 

You know as well as I do the English/French or French/English have a history. Macron tried desperately to block Brexit, now France are part of the EU trying any tactics available to block deliveries from UK in/out of the EU because of the wrong color ink on a piece of paper, taking sandwiches away from UK lorry drivers because they werent made in the EU, escorting migrant boats to UK shores...... out of pettiness...........

 

Its not your fault directly but you have to take some of the concequences. I dont understand a lot of what you post unfortuantely but then again you have admitted yourself its sometimes not easy to translate from you Mother tongue into English. Unfortuantely its mostly an English 'speaking' forum. Why I dont know that seems to be the 'universal' language of choice.

 

Now 'do one', 'FO' lol, just a joke!

 

 

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 24, 2021 Jul 24, 2021
quote

You know as well as I do the English/French or French/English have a history. Macron tried desperately to block Brexit... [[ SNIPPED ...]]

By @osgood_

 

come on... what are Macron and the EU doing in this thread ???? we might as well go back to the conflicts of opinion between the Plantagenets and the Valois... don't you think...

after all, we're , I suppose big boys.. sin't it... and should by this simple fact assume what we are...

 

Conerning the inevitable language barriers, I think, but we could ask the other participants of this forum...that I never had too much trouble to make myself understood, as well as to understand the others, except when the bad faith interferes in the conversation, or that the remarks become slangy and sometimes doubtful

 

although this forum is for the purpose of internationalization of the content, written in English (in fact in American)... Adobe is making every effort to allow everyone to participate, to be understood, and to understand... but the biggest effort, I understand, must start with those who speak this language natively...

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 24, 2021 Jul 24, 2021
quote
quote

You know as well as I do the English/French or French/English have a history. Macron tried desperately to block Brexit... [[ SNIPPED ...]]

By @osgood_

 

come on... what are Macron and the EU doing in this thread ???? we might as well go back to the conflicts of opinion between the Plantagenets and the Valois... don't you think...

after all, we're , I suppose big boys.. sin't it... and should by this simple fact assume what we are...

 

Conerning the inevitable language barriers, I think, but we could ask the other participants of this forum...that I never had too much trouble to make myself understood, as well as to understand the others, except when the bad faith interferes in the conversation, or that the remarks become slangy and sometimes doubtful

 

although this forum is for the purpose of internationalization of the content, written in English (in fact in American)... Adobe is making every effort to allow everyone to participate, to be understood, and to understand... but the biggest effort, I understand, must start with those who speak this language natively...

 


By @B i r n o u

 

I agree with you, politics should be put aside but unfortunately politics heavily define who we are as a country, race and culture, so its hard to completely dis-entangle them. I'm only putting out there what is widely known and accepted, whilst others chose to probably sensibily ignore it and look through rose colored tinted glasses. Polls have been conducted on the matter if you care to search. 

 

Considering English is NOT your first language you are doing a splendid job and as I say in another response to Ben, its often I can't understand those whose first language IS English. The problem arising is that it's sometimes 'broken English' a loose interpretation, which can cloud the meaning of what is being communicated to the point where it is not possibile, for me at least, to give a response. Then if you don't receive a response you often think you are being ignored and post again seemingly asking if your post was 'recieved'. Yes, but maybe not understood and the majority of contributors just move on or  don't like to infornm you, out of fear of insulting you or someone like Ben condeming them as a racist, while I'll just say 'Hey mate communicate in plain English if you want a response', maybe to the point, but not racist.

 

 

 

 

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 23, 2021 Jul 23, 2021
quote

Most likely senile as well. It cant be any clearer, you'll even have to unblock the content as it contains 'possibly inappropriate content':


https://context.reverso.net/translation/french-english/Va+te+faire+foutre 


Not convinced yet, well here's another


https://www.urbandictionary.com/define.php?term=va%20te%20faire%20foutre 

 

By @osgood_

 

So you prefer to accept the literal translation of a term which is quite acceptable in France and has a different semantic meaning?

 

quote

So if I say it's best to distance oneself from those that drink alcohol, that's a basis for being racist?


By @osgood_

 

Where did that rubbish come from? Again typical of your irrationalism.

 

quote

Now you are accusing be of being a racist just for implying Id rather distance myself from people who cant speak plain English. 


By @osgood_

 

There was no implication, it was a straight out comment.That comment was the reason why I used a French term thinking that racist biggots would not bother to find the true meaning. At least you got the gist of the French term and yes, it was intended to be abusive and offensive. This is me attempting to bring home that racism needs to be stamped out.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 24, 2021 Jul 24, 2021
quote
quote

So you prefer to accept the literal translation of a term which is quite acceptable in France and has a different semantic meaning?

 

 

Let's not kids ourself here, you know exactly what that term means and implies, especially when its deleivered from you to me. It's as plain as a crystal clear ball.

 

quote

 

Where did that rubbish come from? Again typical of your irrationalism.

 

quote

 

Look, if I say 'I really dislike French people because they are specifically French, or German because they are specifically German or Chinese because they are specifically Chinese and deserve no place on this Planet - that would be racist, no?

 

If I say I prefer to not engage with people who don't or fail to explain themselves in plain English, in my opinion,  that is not being racist that's a decison NOT out of dislike or disrespect for them or where they come from  but out of my own inability to understand them. Its a waste of my time and theirs so what's the point, seriously? Lets face it I have difficulty in understanding some posters in this forum and other forums whose Mother tongue is English, that's not being racist, that's a fact and many a time responses from the likes of you and others have been 'We CANT understand what it is you are saying, please explain more clearly and someone may be able to help with your issues' is that then being racist, according to you, obviously yes.

 

If I was in a predominately Russian speaking forum and could only speak English and participated trying to respond in a 'Broken Russian' I would expect to be informed, at some point, I'm difficult to understand or only Russian can be spoken in this forum (beleive me that happens in a lot on youTube chats, you're message is 'deleted' by moderators. Is that racist, I personally would not think so, harsh, maybe - sensible, could be, on account that the majority in the forum would NOT know if you where being insulting, offensive or just plain fail to understand you. You either just roll with it and are sensible enough to know its not an intended racist insult, or go to another forum which is more suited.

 

quote

 

There was no implication, it was a straight out comment.That comment was the reason why I used a French term thinking that racist biggots would not bother to find the true meaning. At least you got the gist of the French term and yes, it was intended to be abusive and offensive. This is me attempting to bring home that racism needs to be stamped out.


By @BenPleysier

 

Correct IF their had been any racism involved but you seem to have become compeletly obsessed with racism and dont truly understand when someone is being racist and when they are not. Putting differences aside let me asure you and anyone else who may be tuning into this forum debate - no way am I a racist - and its offensive that you are suggesting I am one when there are no grounds to do so or you are completley mis-interpreting my posts.

 

So now youre flip-flopping, your usual approach, first denying the term you chose to use was not offensive and now admiting it was intended to be abusive and offensive. I guess I'll also have to make allowance for age-related deterioration of the cranial matter as well as those that are unclear in their responses.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 24, 2021 Jul 24, 2021
quote

I guess I'll also have to make allowance for age-related deterioration of the cranial matter as well as those that are unclear in their responses.


By @osgood_

 

Great. And I will make allowances for those with NPD. Case closed.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 24, 2021 Jul 24, 2021
quote
quote

I guess I'll also have to make allowance for age-related deterioration of the cranial matter as well as those that are unclear in their responses.


By @osgood_

 

Great. And I will make allowances for those with NPD. Case closed.


By @BenPleysier

 

In your own words, which you posted, fill in the missing letters (that's if you can remember that far back),  and seem to think abuse and offensive language is acceptable: 'Go  _ _ _ _  yourself'.

 

I'm surprised Adobe thinks it acceptable too. I requested for the vulgar language to be removed but its still posted, so I guess its ok to throw obscenities around in this forum if you disgaree with anothers views and opinions.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 21, 2021 Jul 21, 2021
quote

If you could supposedly deepdive and have a good understanding of the galatic metamorphosis, the biological process and structure which combine the translated under-thyroid gland combined with a truncated synonym which could over-ride the refined performance of the well documented domino effect it might be a decent enough choice - apart from that its all quite simple, really.

By @osgood_

 

the fundamental difference, between the allegory you made concerning a possible sub-thyroid metabolism and the impact with a possible domino effect, and mine concerning the possible recursive use of a POJO class... is that... yours doesn't mean anything, but is just a bunch of words... while mine tries to demonstrate the impossibility to reach a polymorphism which could have been of interest, concerning the use of a Template instead of another technology.

And there lay all the subtlety. But if I understood quite well, you have a PHP background developer... and PHP doesn't use any POJO reference, but POPO. ISn't it ?

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 22, 2021 Jul 22, 2021

However you are trying to avoid the real issue or disguise it, use smoke and mirror analogy, which l cant be sure even you begin to understand, certainly noone else will, for you to suggest that DWT templates would be considered by any developer other than an amatuer/beginner is frankly hilarious, but thanks for the good laugh. Now at least thats plain English, oh wait being as though your French you dont like the English, right, maybe there lies your problem. I dont know, try having a conversation in plain English for once, so at least a greater percentage can understand what it is you are desperately trying to communicate, otherwise your opinions are wasted on yourself.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 22, 2021 Jul 22, 2021

it's true that I like to look more stupid than I already am... but the analogies I brought about the use of Templates is totally founded... probably poorly presented or explained

 

please, let me put it differently,

 

the use of a Template can be conceived as a data bank in which we draw the structuring of our pages and our contents according to certain variables skilfully distributed by the Child Pages (hence my reference to POJO classes)

 

on that purpose, I've been fighting for several years already to get ARRAYs as a format for some Template variables... watch the FR bugbase since Macromedia...

 

Anyway, when using Template in DW,  and in any case, a Child page can therefore, through its own variables, act on a Master template and, as a pure fact, a Master template also acts on child pages (reflexive)., and that.... whatever the nested structure (recursive)...

 

then all Child Pages will anyway react on the same call from the Master page (Polymorphism)... So I agree that Template are an old way of balancing Dynamic structure and content...

 

So, I don't try to avoid any issue...

 

I say and say again, it is still a usefull tool for those who knows how to use it, understand the limit, and try to preserve common sense in their use.

 

look, I have a current project, still running, that is online for internal hospital network, where, on a simple click any user can get the all web site copied on a USB key to be used in an emergency campaign due to any necessity whatsoever, off the server, off the technical specifications... simply used from a browser by the average person... or sent to any reader capable of reading HTML (this includes all electronic readers) so I say again... thanks to the DW Templates

 

I never said, that DW Templates are above any others approach... whatch my thread and comments... I just said that in some case, they are a usefull tool, and that is the case of the OP as Ben mention it too...

 

that said, I'll put under the context of the language barrier, culture, and border line joke...

quote

oh wait being as though your French you dont like the English, right, maybe there lies your problem.

By @osgood_

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 22, 2021 Jul 22, 2021

As l said already, if as you claim the use of DWT templates had anything which another workflow could not encompass or do better developers would be storming back to DW in there droves but its not happening, infact the opposite is happening they are abandoning ship so ask yourself the question, 'how effective/useful are DWT templates.

 

l dont see much if any evidence of their wide spread usage in a professional capacity or even amatuer these days and its not because they are some closely kept secret from the professional world its because there are better methods which are more transportable and not a niche workflow.

 

If a website landed on your desk that was build with DWT templates and you didnt have access to the DWT files already you are at a major disadvantage. You would have to try and rebuild the master template/s assuming you even knew the process or strip out the templates/s code and rebuilt using a more widely accepted workflow such as includes, be it php or javascript.

 

Infact l have seen no use of DWT templates for some time even in this forum. Years ago there would have been copious examples of code posted which deployed them, that should tell you something.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 25, 2021 Jul 25, 2021
LATEST

Have to disagree with your latter comments in this post. The example as well I cringed (sorry) because that sounded horrible and really old.

Considering what you have availible with servers and platforms out there and the automations availible or even simple setups with javascript based servers even and the options and many being free to boot - In 2020 somoene in their small company only doing something like this... OK... Will leave them too it but for a hospital or other organisation ? eek 😞

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 22, 2021 Jul 22, 2021

here, this time, it is you who is evading, or stealing, the initial point, by cleverly dismissing the initial question and the proposal that was made to the OP

 

in France we say "Noyer le poisson" ....

 

the initial question from the OP, is very clear... how to use recurring elements across pages, from DW and if possible without using PHP.

 

The immediate question was ... is this a low volume site, with no connection to dynamic data, and with a relatively low update frequency... if yesss... the proposal made by Ben is very well founded and sensible.

 

then, it went off the rails, until now, in a humor, let's say allegorical, which now takes a turn of aggressive pushy.

 

Noone said that DWT are the way that every developer should go... but in that case (than in probably others one, I gave a real example), DWT can be used... and that should fit the needs of the OP, no more, no less... now free to you to make it a matter of State, or of ego... I often confuse the two 😉

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 22, 2021 Jul 22, 2021
quote

here, this time, it is you who is evading, or stealing, the initial point, by cleverly dismissing the initial question and the proposal that was made to the OP

 

in France we say "Noyer le poisson" ....

 

the initial question from the OP, is very clear... how to use recurring elements across pages, from DW and if possible without using PHP.

 

The immediate question was ... is this a low volume site, with no connection to dynamic data, and with a relatively low update frequency... if yesss... the proposal made by Ben is very well founded and sensible.

 

then, it went off the rails, until now, in a humor, let's say allegorical, which now takes a turn of aggressive pushy.

 

Noone said that DWT are the way that every developer should go... but in that case (than in probably others one, I gave a real example), DWT can be used... and that should fit the needs of the OP, no more, no less... now free to you to make it a matter of State, or of ego... I often confuse the two 😉


By @B i r n o u

 

 

The OP never came back, as in most cases in this forum, so unfortunately we shall never know the answer to many of the initial questions posed.

 

The thread then went on to discuss DWT templates in general with somewhat blinkered views as to why they were not being used in a more generic fashion throughout the web-development industry. Well there are reasons, one obviously being DW is not considered to generally be a highly regarded tool by professional web-developers, that's something Adobe needs to work on and not least the many negative issues involved when using DWT templates, of which I have already covered in this thread and experienced myself, others have not or did not point out the pit-falls when making suggestions, so its a nice balance to open the eyes to more 'ignorant' developers in the hope they dont follow in the same footsteps that I trod in the past by regretting the workflow chosen. Ultimately its up to them but at least I think they can understand what I'm actually implying in my responses.

 

I also provide a better alternative by using javascript if they didnt want to set up a local development environment for php, however that's only a 15 minute set up process and then you have a real solid foundation for years to come.

 

There is no aggressiveness in pointing out weaknesses in a workflow, its the only way a decision can be made.

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 20, 2021 Jul 20, 2021

Hi @Phil5E57,

First, a couple of question to think about.

1. How big will your site be  -- under 10 pages, under 50 pages, more than 50 pages?

2. How often will you be updating your site?

3. Will your site be static HTML pages or dynamically driven with content pulled from databases?

 

=============

OPTION 1 (BEST):

Server-side includes (SSI).  Very flexible.  Works with small, medium and large sites, static or dynamic.  In the long-run, this method will save you the most time with the least amount of trouble.  Works with any code editor.  Edit one file, save & upload to server.  That's it.  All the magic happens on the server.

https://alt-web.blogspot.com/2015/07/server-side-includes-with-php.html

 

OPTION 2:

Dreamweaver Templates.  Semi-flexible.  A proprietary feature requiring more time and more trouble to update your site than SSIs. DW Templates only work in Dreamweaver on your local site files. You must republish your entire site to server each time you update.  Suitable for small  - medium sites.  On larger sites, Template.dwt files can become corrupted.  Keep reliable template backups on your server just in case.

https://helpx.adobe.com/dreamweaver/using/dreamweaver-templates.html

 

OPTION 3:

Library Items.   Least-flexible.  As with DW Templates above, a proprietary feature requiring more time and more trouble to update your site.  Library Items only work in Dreamweaver local site files and only inside the <body> tag.  You must republish your entire site each time you update. Suitable for small  - medium sites only.  Library Items can be glitchy and are often prone to failure. You may need to re-create them from time-to-time.

https://helpx.adobe.com/in/dreamweaver/using/library-items.html

 

[This discussion is locked. If you still have questions, please start a new topic. Thank you.]

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines