|
It is currently Thu Jan 08, 2009 1:43 pm
|
View unanswered posts | View active topics
|
Page 1 of 1
|
[ 7 posts ] |
|
| Author |
Message |
|
JM-13
|
Post subject: Question about a Sidebar Posted: Sun Aug 03, 2008 4:43 am |
|
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 |
|
 |
|
chubzyko
|
Post subject: Posted: Sun Aug 03, 2008 1:42 pm |
|
 |
| 100+ Club |
 |
Joined: Wed Jul 30, 2008 11:48 pm Posts: 103 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 |
|
 |
|
JM-13
|
Post subject: Posted: Mon Aug 04, 2008 3:50 am |
|
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 |
|
 |
|
Johnathan
|
Post subject: Posted: Mon Aug 04, 2008 4:26 am |
|
 |
| 1000+ Club |
Joined: Thu May 31, 2007 4:28 pm Posts: 1126 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 |
|
 |
|
JM-13
|
Post subject: Posted: Mon Aug 04, 2008 8:36 am |
|
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 |
|
 |
|
Johnathan
|
Post subject: Posted: Mon Aug 04, 2008 12:39 pm |
|
 |
| 1000+ Club |
Joined: Thu May 31, 2007 4:28 pm Posts: 1126 Location: Belfast, Northen Ireland
|
|
| Top |
|
 |
|
chubzyko
|
Post subject: Posted: Mon Aug 04, 2008 5:24 pm |
|
 |
| 100+ Club |
 |
Joined: Wed Jul 30, 2008 11:48 pm Posts: 103 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 |
|
 |
|
Page 1 of 1
|
[ 7 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 5 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
|
|
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:
|
|
|