Flash Games

 FAQ   Search   Members   Groups   User Control Panel      Login 

It is currently Wed Dec 03, 2008 12:06 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Question about a Sidebar
PostPosted: Sun Aug 03, 2008 4:43 am 
Offline

Joined: Sun Aug 03, 2008 4:25 am
Posts: 3
I have a website with a sidebar that containz links to all tha pagez with videoz you can download. Tha thing iz, that I everytime I put up a new video, I have to go and change each page of my site so that tha link to tha new page iz on tha sidebar. I don't know much about HTML, but I'm tryna figure out a way to make it so I can have maybe somethin like a file called 'sidebar.html', and place that in my pagez somehow, and then I will only have to update tha sidebar file.

Please excuse my ignorance of HTML -- maybe my idea doezn't make sense.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 03, 2008 1:42 pm 
Offline
50+ Club
User avatar

Joined: Wed Jul 30, 2008 11:48 pm
Posts: 97
Location: Marikina City, Philippines
haiya! HOw about using a frameset? hahah! But they told me that using frameset is not SE friendly. Well, i've been searching on how to fix my problem with my site for about 3days I think. haha!

_________________
"Failure is the key to success, so try and try until you succeed."


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 04, 2008 3:50 am 
Offline

Joined: Sun Aug 03, 2008 4:25 am
Posts: 3
Thank you. I will see if I can do that. And sorry, but what's SE?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 04, 2008 4:26 am 
Online
1000+ Club
User avatar

Joined: Thu May 31, 2007 4:28 pm
Posts: 1065
Location: Belfast, Northen Ireland
SE is search engine. If your server supports PHP you can use PHP includes. So you will need to change the file extensions of all the pages you want the sidebar on to .php instead of .htm or .html or whatever it is. Now make a file sidebar.php and put your sidebar inside it. Then on all the other pages where you want the sidebar to go put <?php include("sidebar.php"); ?> then all you need to do is edit sidebar.php

_________________
Yummy Articles


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 04, 2008 8:36 am 
Offline

Joined: Sun Aug 03, 2008 4:25 am
Posts: 3
Thank you both very much.
Johnathan -- I took your advice, and it works fine. And I made a PHP include for my menu too. Thank you.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 04, 2008 12:39 pm 
Online
1000+ Club
User avatar

Joined: Thu May 31, 2007 4:28 pm
Posts: 1065
Location: Belfast, Northen Ireland
Glad I could help :D.

_________________
Yummy Articles


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 04, 2008 5:24 pm 
Offline
50+ Club
User avatar

Joined: Wed Jul 30, 2008 11:48 pm
Posts: 97
Location: Marikina City, Philippines
Thanks for that Jonathan! I know what to do now. harhar!

_________________
"Failure is the key to success, so try and try until you succeed."


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group - Flash Games
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User:
Pass:
Log me on automatically each visit: