1 reply [Last post]
mdsirajul
mdsirajul's picture
Offline
newbie
Bangladesh
Last seen: 9 years 5 weeks ago
Bangladesh
Timezone: GMT+6
Joined: 2011-04-28
Posts: 1
Points: 2

I am familiar with html,css and a little bit of javascript.Blogging in blogspot blogger.

Now I want to build a website profesionally in a registered domain and hosting.

Now Say my website has three column,
left side column ,and right sidebar column for navigation and ads and Links also the top menu too.
--The middle column is wider and it will be used for content.
My concern is that If I create 50 pages ,its okay with the content they will not be needed to edit or add something.

Say my side bar has This menus or links - CSS,HTML,JAVASCRIPT.Now if I like to add new item HTML5 and CSS3 then what will happen.
Should i go through all of my existing pages and then add this items in menu and side bar.
I thoughtiframe is a solution but heard tht it is no recommended.

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 21 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

You need to read up on using

You need to read up on using server includes either SSI, PHP includes or the asp versions.

Using includes means that every page does not have the same replicated content or markup. Where you have #sidebar marked up you would remove it and place in it's own file sidebar.php then where the sidebar markup was you replace with <?php include(/my/path/to/file/sidebar.php); ?> which calls in the markup to the page, this you do for every page; this way you maintain one file that all pages use and only have to change something once for all 50 files to reflect the change.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me