Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 05-08-2005, 11:21 PM Designing the Layout
BoardTng's Avatar
Novice Talker

Posts: 14
Trades: 0
Ok, Ill try to explain this the best I can.

Ive been doing Iframe for quite awhile now and its really all i know how to do. To the point Im using them to save me the trouble of having to update every link on every page if you guys do know what i mean. Im wondering if there is another way out there that besides Iframes (shtml) would look professional and stop me from having to do that update every page link thing. Im not too sure but if somebody can help me, please respond or instant message me.

~ BoardTng

thx.
BoardTng is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-09-2005, 07:23 AM
stoot98's Avatar
Ultra Talker

Posts: 427
Name: Stuart
Location: Glasgow, Scotland
Trades: 0
You could use another language such as PHP to pull the links from a database. Or use the include() function to include one page which has all the links on it.

I know exactly what you mean and i think the database route is the one to go down.
stoot98 is offline
Reply With Quote
View Public Profile
 
Old 05-09-2005, 07:44 AM
BoardTng's Avatar
Novice Talker

Posts: 14
Trades: 0
Is there any way I could get somebody to show me how to do the php scripting to pull the links from the database? Id appriciate it.
BoardTng is offline
Reply With Quote
View Public Profile
 
Old 05-11-2005, 08:39 AM
Novice Talker

Posts: 7
Trades: 0
you can use php includes . This way break page into parts . And each parts is loaded from a file . Modular aspect , ease to update is guaranteed . I always use this technique .
__________________
Kind advice :
Please login or register to view this content. Registration is FREE
Coder-X is offline
Reply With Quote
View Public Profile
 
Old 05-11-2005, 09:12 AM
desertland's Avatar
Skilled Talker

Posts: 86
Trades: 0
You could also use SSI to have your 'menu' code in one file, and then include that file from all the rest of your pages.

For example:
<!--#include virtual="menuCode.shtml"-->
__________________
I store my recipes online (the way nature intended) at
Please login or register to view this content. Registration is FREE
desertland is offline
Reply With Quote
View Public Profile
 
Old 05-11-2005, 04:59 PM
Jared's Avatar
Skilled Talker

Posts: 52
Location: St. Anthony, ID
Trades: 0
Why not set it in a variable? I know people that do that with CGI. I wish I knew PHP, I'd show you what I meant. This is what it looks like with a perl script:
Code:
$gallerylink = "http://www.whatever.com/gallery.html";

<<ENDHTML

<html>
<body>
<a href="$gallerylink">Click here to see my gallery</a>
</body>
</html>

ENDHTML;
Then when you need to change the link you simply change what the variable is assigned to.
Jared is offline
Reply With Quote
View Public Profile Visit Jared's homepage!
 
Old 05-12-2005, 03:48 AM
Novice Talker

Posts: 6
Trades: 0
That should work if not
HKSTurbo is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Designing the Layout
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.62332 seconds with 12 queries