Click to See Complete Forum and Search --> : hyperlink in every page


javed007
06-09-2005, 09:13 AM
hi, is there any way that I could change the hyperlink url on the buttons and the the url of the same type of buttons should change in all other pages.
I am using microsft frontpage

scragar
06-09-2005, 09:15 AM
the best method would be to have writen it origionaly usesing SSI's, but if you've writen it already then no, there isn't(not with front page anyway :( )

javed007
06-09-2005, 09:31 AM
what is SSI?

scragar
06-09-2005, 09:33 AM
server side includes.

it means you have say one page will your menu on, then that html is used in all your other pages so if you have to change a link then you need only edit one page.

javed007
06-09-2005, 02:50 PM
so is SSI in frontpage or seperate software
how do I use it

felgall
06-09-2005, 03:54 PM
SSI is on the server (provided that your server supports it). You simply code SSI include statements to use it.

javed007
06-09-2005, 04:08 PM
my server has .htcess so it means it support it so how do u use it then

BonRouge
06-10-2005, 04:52 AM
http://bonrouge.com/br.php?page=faq#includes

javed007
06-10-2005, 06:10 AM
can any 1 make 1 example for me because I am very confuse, if I do that where would I put the sample how and how wold I change the url and the others will change
please thank you
cstrikerock@hotmail.com

the tree
06-10-2005, 06:14 AM
Where you want you link to be, you put the code.<!--#include virtual="thelink.inc" -->You might need to use a .shtml file extension depending on your servers set up. Then put the link into thelink.inc and voila.

javed007
06-13-2005, 07:59 AM
the server support cpanel but I still dont get the SSI
there must a source and distination you are saying to put the code where I want the link but where is the source, what if I want to change the url

BonRouge
06-13-2005, 10:33 AM
the server support cpanel but I still dont get the SSI
there must a source and distination you are saying to put the code where I want the link but where is the source, what if I want to change the url
I would love to help, but I have no idea what you're on about. Would it be possible to rephrase your question in English?

javed007
06-14-2005, 09:15 AM
well in plain english

I dont understand this SSI, if I want to chnage the link in the main page it should change the same link in other pages, but when I put this link in the main page "<!--#include virtual="thelink.inc" -->" if I want to chnage the link how is it going to change the link in other pages so there must be other code like distination if the source is change then the distination change like master slave

the tree
06-14-2005, 09:33 AM
You'll have to put the include wherever you want to put the link, manually. Then you can change thelink.inc as much as you like.

javed007
06-15-2005, 06:53 AM
so if I chnage thelink.inc from any of the pages all the others in other pages will change or is it from any of the .txt page

BonRouge
06-15-2005, 07:49 AM
I would recommend using php - your server probably supports it - most good hosts support php.

It's a similar idea but is a bit more flexible and gives you more scope to improve your site in the future (with php). I posted a link above to my explanation, which I thought was OK, but you seemed confused afterwards...

Erm...

1. Take your menu (the html) and put it on a clean page. I mean really clean - nothing else should be on that page. Then save it as menu.html.
2. Put this on every page where you want your menu to appear - in the place where your menu html would normally be. <?php include 'menu.html'; ?>
3. Save every page that you put this link on with a php extension - e.g. 'index.htm' would become 'index.php'.
4. That's it.

Oh... first, maybe you should make sure that your server does actually support php.

I hope this helps.

javed007
06-15-2005, 02:44 PM
yes it works thanx god but there is one problem I dont see the menu in the frontpage it only shows when its uploded in the host server. how can make pages and write articals exactra all other web staff if I dont see the menu, I know it sound waired is there any solution to that

BonRouge
06-15-2005, 03:06 PM
I'm sorry, I have real trouble understanding you...

javed007
06-15-2005, 03:15 PM
I have edited it but let me explain again, it only works if it is uploded in the server, but how will I know where the menu is in other pages so I can create other pages. it proves very complicated to me