| Pages: [1] |
|
|
Author |
Topic: Same snippet (Read 188 times) |
maritimesweather
Posts: 20

|
Say for example I wanted to use Snippetmaster to control the "header" and "footer" for multiple pages on a website, how would I snippet these? If I put a snippet called "footer" surrounding the footer, this would only control one page, would I need to use a different name for each footer of each page or would the same named snippet control all the footers?
Gosh, hope that made some sense 
|
Bob
|
|
|
admin
Forum Administrator

Posts: 2755
SnippetMaster Author
|
Hello,
Ok, just so I understand what you are asking... you want to have a single SNIPPET work with multiple pages? (ie: You want your snippet HTML to be included on multiple pages?)
If so, then this really has nothing to do with Snippetmaster. You can do what you're asking, by using PHP include or Server Side Include (SSI).. (So basically, any HTML in the "included" file would then be displayed in the webpage that "calls" the included file.)
...and then you can use Snippetmaster to edit the HTML in your PHP or SSI included file.
Here's a link that might help:
http://www.snippetmaster.com/forums/index.php/topic,1804.0.html
Let me know if you have any questions.
|
|
|
|
|
maritimesweather
Posts: 20

|
I never thought of that, yes that makes perfect sense, thank you.
|
Bob
|
|
|
|
|
Pages: [1]
|
|
|
|