| Coding Forum Problems with your code? Let's hear about it. |
10-01-2007, 04:30 PM
|
#1 (permalink)
|
|
Inactive
Join Date: 06-20-07
Posts: 55
Latest Blog: None
|
please help me edit one page and have all pages changed
hi, im tryin to get it so i can edit just one page and have all other pages edit too
it is a pain in the neck to have to go through EVERY SINGLE page and edit every single link on the nav bars or the banner or anything else.
i'm basically trying to do the SSI includes thing but it says that there is an error when trying to preform this function. PHP includes won't work anyway.
i'm sure there must be ANOTHER way to do to this because im sure not all of the huge sites in the world use either SSI or PHP includes...
so, can you please help? my site is http://xbox360-forums.com/xboxattacker for reference and i think i have done a good job today this is what it looked like before today http://xboxattacker.freehostia.com
Thanks!
|
|
|
10-01-2007, 05:14 PM
|
#2 (permalink)
|
|
Junior Member
Join Date: 04-30-07
Posts: 23
Latest Blog: None
|
Are you on a free host ?
PHP and SSI includes are the most popular way to get the effect you want.
|
|
|
10-01-2007, 05:19 PM
|
#3 (permalink)
|
|
Inactive
Join Date: 06-20-07
Posts: 55
Latest Blog: None
|
No, it actually isn't a free host. Could it be I'm doing it wrong? Here is the index code... I pretty much want to use SSI for everything except the content (text/paragraph.) So, for the banner, copyright banner, both navbars, etc.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Xbox 360 Cheats, Guides, News, and Forum by XboxAttacker</title>
<link href="css/xacss.css" media="screen" rel="stylesheet" type="text/css" />
<LINK REL="SHORTCUT ICON" HREF="/images/favicon.ico">
</head>
<body>
<div class="PageLayoutManager">
<div class="PageHeaderManager">
<div class="HeaderWrapper">
<table id="PageTopMenuWrapper_Table" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="HeaderContentWrapper_Cell">
<div class="PageHeaderManager">
<div class="PageHeaderLeftContentManager">
<div class="LeftContentWrapper">
</div>
</div>
</td>
</tr>
<tr>
<td class="TopMenuWrapper_Cell">
<!-- PAGE TOP MENU CONTENT -->
<div class="TopMenuWrapper">
<!-- Begin Top Navigation -->
<div class="BeginNavigationImage">
</div>
<div class="TopMenuItem">
<a class="TopMenuListItemLink" hre###f="games"><strike>Xbox 360 Games List</strike></a></div>
<div class="TopMenuItem">
<a class="TopMenuListItemLink" hre###f="contact"><strike>Contact XA Staff</strike></a></div>
<div class="TopMenuItem">
<a class="TopMenuListItemLink" href="http://txboxr.newsit.es">The Xbox Resource</a></div>
<div class="TopMenuItem">
<a class="TopMenuListItemLink" href="http://xbox360-forums.com">Xbox360-Forums</a>
</div>
<div class="TopMenuItem">
<a class="TopMenuListItemLink" href="/xboxattacker/">XboxAttacker Home</a>
</div>
<div class="EndNavigationImage">
</div>
<!-- End Top Navigation -->
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="PageContentManager">
<!-- Begin Left Navigation -->
<div class="PageLeftSidebar">
<!-- The Sidebar Menu -->
<div class="SidebarWrapper">
<!-- BEGIN FIRST MENU -->
<div class="SidebarHeaderXA">
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" href="#">Forum</a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" href="http://txboxr.newsit.es">txboxr</a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Staff Team</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Contact XA</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Downloads</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Search</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>XA Chatroom</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Community</strike></a></div>
</div>
<!-- BEGIN SECOND MENU -->
<div class="SidebarHeaderG">
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Games List</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>New Releases</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Upcoming Games</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Previews</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Reviews</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Walkthroughs</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Cheats</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Achievements</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Screenshots</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Game Videos</strike></a></div>
</div>
<!-- BEGIN THIRD MENU -->
<div class="SidebarHeaderS">
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Xbox 360 Hardware</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Xbox 360 Core</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Xbox 360 Pro</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Xbox 360 Elite</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Halo 3 Edition</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Xbox 360 Accessories</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Hardware Reviews</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Manufacturers</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Pictures</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Hardware Videos</strike></a></div>
</div>
<!-- BEGIN FOOTER IMAGE -->
<div class="SidebarFooter">
</div>
</div>
</div>
<!-- END FOOTER IMAGE -->
<!-- Begin Content -->
<div class="MainPageContent">
<div class="MainContentWrapper">
<span class="ContentText"><HR width="100%"><big><big>Latest Xbox 360 Game Updates</big></big><br><br>
<a href="#"><img src="http://img73.imageshack.us/img73/9025/0wdsb2jhbc8vcguabxgagaavz6.jpg"</img></a> <a href="#"><img src="http://img409.imageshack.us/img409/1566/1mdsb2jhbc9ecgqngwefvl5gs1.jpg"</img></a> <a href="#"><img src="http://img405.imageshack.us/img405/8269/0mdsb2jhbc9ecgr8ggmfwsows0.jpg"</img></a> <a href="#"><img src="http://img409.imageshack.us/img409/3714/12dsb2jhbc9ecgunggmfwsltn9.jpg"</img></a> <a href="#"><img src="http://img337.imageshack.us/img337/1905/0wdsb2jhbc9ecgumggqfwstuk4.jpg"</img></a> <a href="#"><img src="http://img409.imageshack.us/img409/966/0wdsb2jhbc9ecgqlg3qfwssoj7.jpg"</img></a> <a href="#"><img src="http://img232.imageshack.us/img232/592/0gdsb2jhbc9ecgulggafwstzq6.jpg"</img></a> <a href="#"><img src="http://img409.imageshack.us/img409/8243/02dsb2jhbc9ecgunggmfwstaf8.jpg"</img></a> <a href="#"><img src="http://img409.imageshack.us/img409/7762/02dsb2jhbc9ecgr8ggmfwstsl5.jpg"</img></a><HR width="100%"><br>
<img src="images/jokericon.PNG" align="left"><span class="ContentText"><big><big>Welcome to XboxAttacker</big></big><br>
<small>Wednesday, July 25, 2007 - 6:21 PM EST</small><br><i>by Foxx</i><br><b>[<a href="#">Comment This</a>]</b><br>
<p><b>Alright, so this is the first official post on the home page. This moment may go down in history when we become the biggest Xbox 360 site on the net. (Not!)</p>
<p>Anyway, this is really just a test to see what the news for the future will look like on the home page. A lot of changes will be made so don't think this crappy format is here to stay. I will keep you updated on the site progress, but most important, proceed to add the Xbox 360 content to the site. That <i>is</i> why you're here, right?</p>
<p>In the mean time you can visit <a href="/">our forum</a> and chat about anything you'd like.</b></p>
<HR width="100%">
</div>
</div>
<!-- End Content -->
|
|
|
10-01-2007, 05:19 PM
|
#4 (permalink)
|
|
Inactive
Join Date: 06-20-07
Posts: 55
Latest Blog: None
|
Code:
<!-- Begin Right Sidebar -->
<div class="PageRightSidebar">
<div class="RightSidebarWrapper">
<!-- The Sidebar Menu -->
<div class="SidebarWrapper">
<!-- BEGIN FIRST MENU -->
<div class="SidebarHeaderPT">
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Bioshock</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Call of Duty 4</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Forza Motorsport 2</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Gears of War</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Grand Theft Auto IV</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Halo 3</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Mass Effect</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Too Human</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Two Worlds</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Shadowrun</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>skate.</strike></a></div>
</div>
<!-- BEGIN SECOND MENU -->
<div class="SidebarHeaderLA">
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Bioshock</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>DiRT</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Forza Motorsport 2</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Gears of War</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>G.R.A.W. 2</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Halo 3</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Rainbow Six: Vegas</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>skate.</strike></a></div>
</div>
<div class="SidebarMenuItem">
<div class="SidebarLinkWrapper">
<a class="SidebarItemLink" hre###f="#"><strike>Two Worlds</strike></a></div>
</div>
<!-- BEGIN THIRD MENU -->
<div class="SidebarHeaderWP">
</div>
<div class="SidebarMenuItemPoll">
<div class="SidebarLinkWrapper">
<b>Did Halo 3 really</b>
</div>
<div class="SidebarLinkWrapper">
<b>really live up to</b>
</div>
<div class="SidebarLinkWrapper">
<b>all of the hype?</b>
</div><br>
<div class="SidebarLinkWrapper">
<b>A:</b> Yes, it's great.
</div><br>
<div class="SidebarLinkWrapper">
<b>B:</b> No, it's crap.
</div><br><br>
<div class="SidebarLinkWrapper">
<a href="#"><b>View Results Here</b></a>
</div>
</div><br><br><br><br><br><br>
<!-- BEGIN FOOTER IMAGE -->
<div class="SidebarFooter">
</div>
</div>
<!-- END FOOTER IMAGE -->
</div>
</div>
<!-- End Right Sidebar -->
</div>
</div>
<div class="PageLayoutManager">
<div class="PageHeaderManager">
<div class="FooterWrapper">
<table id="PageTopMenuWrapper_Table" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td class="HeaderContentWrapper_Cell">
<div class="PageHeaderManager">
<div class="PageHeaderLeftContentManager">
<div class="LeftContentWrapper">
</div>
</div>
</td>
</tr>
</body>
</html>
|
|
|
10-01-2007, 05:22 PM
|
#5 (permalink)
|
|
Inactive
Join Date: 06-20-07
Posts: 55
Latest Blog: None
|
I tried, first, to do it with those 5 links on the bottom right of that top banner. This is what I did on index.shtml:
Code:
<tr>
<td class="TopMenuWrapper_Cell">
<!-- PAGE TOP MENU CONTENT -->
<div class="TopMenuWrapper">
<SSI CODE WHATEVER IT IS I PUT HERE>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
I then added
Code:
<tr>
<td class="TopMenuWrapper_Cell">
<!-- PAGE TOP MENU CONTENT -->
<div class="TopMenuWrapper">
<!-- Begin Top Navigation -->
<div class="BeginNavigationImage">
</div>
<div class="TopMenuItem">
<a class="TopMenuListItemLink" hre###f="games"><strike>Xbox 360 Games List</strike></a></div>
<div class="TopMenuItem">
<a class="TopMenuListItemLink" hre###f="contact"><strike>Contact XA Staff</strike></a></div>
<div class="TopMenuItem">
<a class="TopMenuListItemLink" href="http://txboxr.newsit.es">The Xbox Resource</a></div>
<div class="TopMenuItem">
<a class="TopMenuListItemLink" href="http://xbox360-forums.com">Xbox360-Forums</a>
</div>
<div class="TopMenuItem">
<a class="TopMenuListItemLink" href="/xboxattacker/">XboxAttacker Home</a>
</div>
<div class="EndNavigationImage">
</div>
<!-- End Top Navigation -->
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
to a .txt file.
|
|
|
10-02-2007, 12:32 AM
|
#7 (permalink)
|
|
Contributing Member
Join Date: 09-03-07
Location: England
Posts: 358
Latest Blog: None
|
Personally I'm a big fan of master pages and asp, what about converting!? Master pages really are top dog my friend and if you've experimented with the orcas beta 2 (Visual Studio 2008 Beta 2) then you would know master pages and nested master pages really really are the way forward and Visual Studio 2008 is a must!
Biast i know but i don't care because i love it 
__________________
Price is what you pay... Value is what you get.
|
|
|
10-02-2007, 11:42 AM
|
#8 (permalink)
|
|
v7n Mentor
Join Date: 04-13-07
Location: Romania (atm)
Posts: 2,846
|
Long time no see, X!
I have to agree with Boogle on this one. ASP.NET can do the job. Better than HTML though...
I suggest you too to consider converting your site to asp.net... 
|
|
|
10-02-2007, 04:00 PM
|
#9 (permalink)
|
|
v7n Mentor
Join Date: 11-22-06
Location: Phoenix, AZ
Posts: 1,784
Latest Blog: None
|
The other option to consider is Dreamweaver templates. Don't know if you have Dreamweaver but if so, check out their templates. Its a very similar idea to the ASP master pages but you won't have to convert to ASP. Good luck.
__________________
Experimenting
|
|
|
10-02-2007, 05:41 PM
|
#10 (permalink)
|
|
Inactive
Join Date: 06-20-07
Posts: 55
Latest Blog: None
|
Thanks... ok. So, ASP, what exactly do I do or download to convert?
|
|
|
10-03-2007, 01:22 AM
|
#11 (permalink)
|
|
Contributing Member
Join Date: 09-03-07
Location: England
Posts: 358
Latest Blog: None
|
Basically you couldo with Visual Studio 2005, it's not free and although i don' condone it,it's been around a long time now and you could probably get it somewhere :-s
Then visual studio will do the rest for you if you can follow the instructions!
P.S. Dreamweaver templates are another option but it's like going back in time, you might as well get with the newer better techs.. Just mho,
Boog's
__________________
Price is what you pay... Value is what you get.
|
|
|
10-03-2007, 08:46 AM
|
#12 (permalink)
|
|
v7n Mentor
Join Date: 04-13-07
Location: Romania (atm)
Posts: 2,846
|
A small note:
Be sure that your webhost supports ASP.NET web sites!
You'd probably be forced to buy an other hosting package...
|
|
|
10-03-2007, 08:48 AM
|
#13 (permalink)
|
|
Contributing Member
Join Date: 09-03-07
Location: England
Posts: 358
Latest Blog: None
|
Good point Tristan- if your site's only html atm, then it's probably on a Linux server and might need migrating to a ASP server, which should cost you nothing but for the enabling of ASP and such like, it could be an extra fee/month if you're paying for hosting- Not loads though...
Boog's
__________________
Price is what you pay... Value is what you get.
|
|
|
10-03-2007, 08:53 AM
|
#14 (permalink)
|
|
v7n Mentor
Join Date: 04-13-07
Location: Romania (atm)
Posts: 2,846
|
@ Boogle: It's Costin not Tristan 
|
|
|
10-06-2007, 06:59 AM
|
#15 (permalink)
|
|
Contributing Member
Join Date: 09-03-07
Location: England
Posts: 358
Latest Blog: None
|
lol, temporary dyslexia! :-s
__________________
Price is what you pay... Value is what you get.
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 10:35 PM.
© Copyright 2008 V7 Inc
|