SnippetMaster Support Forums
Return to main website
 
January 12, 2010, 04:57:21 PM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
January 12, 2010, 04:57:21 PM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Same snippet « previous next »
Pages: [1] Print
Author Topic: Same snippet  (Read 188 times)
maritimesweather

Posts: 20


WWW
[-] Same snippet
« on: November 08, 2009, 06:31:01 PM »

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 Confused
Report to moderator   Logged

Bob
admin
Forum Administrator
*
Posts: 2755

SnippetMaster Author


WWW
[-] Re: Same snippet
« Reply #1 on: November 08, 2009, 06:38:09 PM »

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.  Smile

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.
Report to moderator   Logged
maritimesweather

Posts: 20


WWW
[-] Re: Same snippet
« Reply #2 on: November 08, 2009, 06:49:33 PM »

I never thought of that, yes that makes perfect sense, thank you.
Report to moderator   Logged

Bob
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  General Discussion & Support  |  Topic: Same snippet « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!