473,651 Members | 2,551 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Don't want to repeat navigation code on every page. What can I do?

2 New Member
I'm attempting to create a large content website and need help with my navigation.

I need to be able to keep my website organized and easy to navigate and my problem is as time goes on and I add more content I'd have to go through every page to update the navigation code to include the new page. Is there a way I can reference the navigation code for every page in just one file so it's easy to update?

Thanks
Feb 23 '15 #1
2 1432
nomad
664 Recognized Expert Contributor
Hello dz93:
You need to make a template. This will allow you to make changes to all your pages.
Feb 25 '15 #2
Brilstern
208 New Member
dz93,

Have you considered using PHP? This can allow you to create includes; which can be edited in one place and added to multiple webpages. Examples would include footers and headers on every part of your site.
Feb 25 '15 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

7
3363
by: Henry Hartley | last post by:
I've got a PHP system working on a development server (Windows 2000/IIS5/PHP 4.3.3) but it doesn't seem to be working quite right on the testing server (same except PHP 4.2.3). I upgraded the PHP on the testing server but that didn't seem to make any difference. One difference I noticed is that on the dev server, the session cookie is modified on EVERY page load. On the testing server the cookie gets created alright but it doesn't seem...
11
1921
by: The Bicycling Guitarist | last post by:
Oh lords and ladies of ciwah, I have already been told by one person that the <h1> on my home page doesn't look like proper semantic markup to them. That person suggested a <p> with style by CSS. There are many people here who are smart and helpful. I'm hoping two or more will agree in their answers. All my other pages do have a <h1>. Even if it isn't necessary to have <h1> on every page, is the <h1> used properly on...
4
1628
by: Brian Lowe | last post by:
I'm using Forms authentication with my user data in a SQL db. I have pages in the main appliaction folder accessible to anonymous users and I've set security to deny annonymous users access to pages in several sub folders (e.g. admin). I've set up a login page where users trying to access any /admin/ page are diverted to and on successful login they are redirected back to the page they requested. All is well. Everything works. I want...
3
1231
by: ManishShukla_atforum | last post by:
hi I dont want a user to view the page name on the address bar can I do that? Means user can navigate the site clicking on links, but on any page the address bar will only show the domainname/folderName/index.html --
0
1568
by: HackingPSP | last post by:
I saw a lot of requests for a program like this, so I wrote it. Yeah, my site has "PSP software by Auri" but in this case it means "Pretty Sweet Programming" :) There's both a VS2005 add-in and a standalone app (separate downloads, you don't need both). This is my second developer utility this year - my first being the Lorem Ipsum generator from a few weeks back. Download and get more info on WebPrecompiler at...
3
5097
by: JackBlack | last post by:
Hi, all! Using ASP.Net (2.0 framework) with VB.Net code-behind... Is there any way to execute a particular piece of code on each and every page load in a website, without specifically putting that same code (or user control) on each and every page? Some languages have a config file (like application.cfm for Cold Fusion) that loads on every page where one can run basic code on each page load, without adding code to each page. Is there...
5
1581
by: Ashlewis | last post by:
Hi all, I have two aspx pages: Default.aspx with its code behind page of Default.aspx.vb Home.aspx with its code behind page of Home.aspx.vb The Default page in effect is just a template, the Home page will be the same but with some extra functionailty. I dont want to have to copy the code from the Default.aspx.vb to the Home.aspx.vb page since I assume there is a more efficient way. Ive tried to inherit the Default code into the Home...
5
1537
oranoos3000
by: oranoos3000 | last post by:
hi I want to repeat executing a seri of the code in page in interval periodic time without use from infinite loop and i prefer that page is not refreshed only a seri of the code is execute. this codes execute repeatedly How can i carry out this work? thanks a lot
1
1719
by: spyka | last post by:
I have a page named _Main.cgi_ where in I have a horizontal menu bar with UserList logs and so on like the Menu above Questions Tags Users etc. Whenever I click the Userlist I get navigated to another page where I have a grid. In this page also I want that Menu bar which was in _Main.cgi_, and so on. It should get repeated to every page.
0
973
by: zoe godiyal | last post by:
hello, plz help me out i working on html so the problem is in my main page there is a slider and sum text on my slider ,so i have up to 50 pages that i want to put slider so guide me is der any type of easy method that i can use same slider in my other page,so i every time i don't have to change whole code in every page, i need sum type of code that i put in my main page and it will automatic gets change in every pages
0
8349
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8275
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8795
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
7296
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6157
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4143
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4281
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2696
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1585
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.