Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > VodaHost Talk & News > Wish List & Idea Bin

Notices

Wish List & Idea Bin Share your thoughts and ideas about how we can make VodaHost or BlueVoda better. We value your input.

Closed Thread
 
Thread Tools
  #1  
Old 10-03-2007, 01:18 PM
Staff Sergeant
 
Join Date: Aug 2007
Location: Montroy, Valencia, Spain
Posts: 45
Smile A Single Page Template for All Pages with Global Corrections and Additions.

I'm new to web building and BV. BV was one of my key determinants in joining this programme and I have not been disappointed I can tell you!

However, I would love to be able to set-up a page at the start of a build which would contain all of the static elements such as banner, header, footer, menus etc. I would then use this for all my pages and add the other content as needs be. THEN when I need to change or add anything I just do it the once on my template and it changes all web pages globally.

Bit long winded but I don't know the 'technical speak' yet!

Now I know that Navaldesign has a brilliant work-around in place but I suggest it would be better if we didn't need it?

John
www.clanfootball.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #2  
Old 10-03-2007, 01:34 PM
Collectors-info's Avatar
General
 
Join Date: Feb 2006
Location: London (UK)
Posts: 7,535
Default Re: A Single Page Template for All Pages with Global Corrections and Additions.

Hi, would be nice if a common menu this was built into BV. But Navals way is actually so much more flexible on what it will do if you want to use these areas for? Let’s say a rotation on advertising, or news in specific areas/directories of the site.
__________________
Regards Chris,
Sites are view in FF & IE, with res @ 1024 x 768 on 19” screens.

Barnet walks
How to ask for help on the forum. - VH prices. - BV Tutorials. - Using PIXresizer - Image/Photo Tips -
Collectables, Collecting


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old 10-03-2007, 02:16 PM
Staff Sergeant
 
Join Date: Aug 2007
Location: Montroy, Valencia, Spain
Posts: 45
Smile Re: A Single Page Template for All Pages with Global Corrections and Additions.

Thanks Chris!

As I say, I am new at this and don't have the full understanding of all the issues. Could you please enlarge on the theme of ad rotations etc. that you quoted and how this plays out against the approach I suggested and Naval´s approach. i.e. the pros and cons I guess?

Sorry to be so slow, but I will catch up!

John
www.clanfootball.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old 10-03-2007, 02:45 PM
Collectors-info's Avatar
General
 
Join Date: Feb 2006
Location: London (UK)
Posts: 7,535
Default Re: A Single Page Template for All Pages with Global Corrections and Additions.

It was just a case that if you had an area of your site that dealt with a specific subject, IE: cars. & each of these areas was about 20 pages. You could set up you php template just for this area & rotate the adds just relating to fords & another area for Toyota. It will make targeting a bit more accurate & better for the visitor.
Could also be the same for a holiday site in the way you could set up weather links for certain destinations.
__________________
Regards Chris,
Sites are view in FF & IE, with res @ 1024 x 768 on 19” screens.

Barnet walks
How to ask for help on the forum. - VH prices. - BV Tutorials. - Using PIXresizer - Image/Photo Tips -
Collectables, Collecting


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old 10-03-2007, 02:55 PM
Staff Sergeant
 
Join Date: Aug 2007
Location: Montroy, Valencia, Spain
Posts: 45
Default Re: A Single Page Template for All Pages with Global Corrections and Additions.

Thanks.

I get you now!

John
www.clanfootball.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old 10-03-2007, 06:53 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,052
Default Re: A Single Page Template for All Pages with Global Corrections and Additions.

Please note that the php method that i have posted here will allow for much more than having a simple template or menu or banner added in the page.

In fact, i could have simply explained how to include a page, without need to make use of a function definition. You can simply create a simple page, (even simple html, not necessarily php as in my tutorial) and call it in all your pages using a simple php command as

<? include('template.html') ?>

The reason i made it as a function, is that, an advanced user can also create, from a single template page ,using parameters, many different templates (i.e. customize, for each page, the background, the banner color (if it contained in a table that can be coloured), the hyperlink style, and many other elements. So a single template page can autocreate many different lloking templates.

A command like
<?
include ('template.php');
template($param1, $param2, $param3 ....etc.);
?>

would be enough at this point to create all those different templates according to the parameters values in the above code.

This is far more flexibility that simply having a single static page included as template.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old 10-03-2007, 11:52 PM
Staff Sergeant
 
Join Date: Aug 2007
Location: Montroy, Valencia, Spain
Posts: 45
Thumbs up Re: A Single Page Template for All Pages with Global Corrections and Additions.

Thanks very much for this.

I'm with you now and have a much better understanding of the real benefits of your solution. I'm going to look very closely at this and perhaps use it on my site before it gets too large - as in fact Chris suggested when he critiqued my site but at the time I really didn't understand the full implications.

John
www.clanfootball.com/ connecting fans around the world
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

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



All times are GMT +1. The time now is 06:01 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

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 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203