| | |
Loading External Pages
![]() |
•
•
Join Date: Jun 2005
Posts: 8
Reputation:
Solved Threads: 0
I have been assigned the task of redesigning an intranet sight. I have some major obstacles and I am not sure how to proceed.
What I have is a main page designed with menus and CSS formatting.
The major problem is that I am not allowed to change the code on the existing pages. These legacy pages need to be loaded dynamically into my template. The legacy pages are multiple links deep.
I need to know how to insert these pages into my template and keep theme there no matter how deep the user navigates.
I am not permitted to use PHP or frames of any kind including iFrames. CGI & PERL were suggested but I am not very familiar with what they offer. Any suggestions on how to tackle this problem will be appreciated.
What I have is a main page designed with menus and CSS formatting.
The major problem is that I am not allowed to change the code on the existing pages. These legacy pages need to be loaded dynamically into my template. The legacy pages are multiple links deep.
I need to know how to insert these pages into my template and keep theme there no matter how deep the user navigates.
I am not permitted to use PHP or frames of any kind including iFrames. CGI & PERL were suggested but I am not very familiar with what they offer. Any suggestions on how to tackle this problem will be appreciated.
Since you cant change the existing html pages, every time a user clicks on a link in your template, it links to the html page directly, and not through your template.
Avoiding this cannot be one with a server side scripting language anyways.
It depends on the server you are using. You will have to force the server to run your template each time a link, above your template directly is clicked. Then read the url, and include the html page in your template.
Forcing the server to run your template first is server dependant.
If on apache you can use mod rewrite, or forcetype directives. theres alot on the topics on the net.
Your problem is similar to creating search engine friendly urls on dynamic pages.
So one of the existing solutions may work.
Avoiding this cannot be one with a server side scripting language anyways.
It depends on the server you are using. You will have to force the server to run your template each time a link, above your template directly is clicked. Then read the url, and include the html page in your template.
Forcing the server to run your template first is server dependant.
If on apache you can use mod rewrite, or forcetype directives. theres alot on the topics on the net.
Your problem is similar to creating search engine friendly urls on dynamic pages.
So one of the existing solutions may work.
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
•
•
Join Date: Apr 2007
Posts: 10
Reputation:
Solved Threads: 0
Digital-ether,
Your post is very interesting, and is exactly what im looking for.. but im not sure, i've got the code right.
what i have is:
that should theoretical copy the line into the line array (data[]). In another function i have:
which should return the client code, out of my line array at line position 0. But, it's returning a null value...
do you have any ideas why this may be happeneing, not just digital-ether, but anyone.... please let me know, my grade depends on it.
Thanks,
Lance Wassing
Your post is very interesting, and is exactly what im looking for.. but im not sure, i've got the code right.
what i have is:
FILE * db;
char str[680];
db = fopen("Applications\\ffdbs\\client001.ffdb", "rt+");
//if(db == NULL) exit(1);
int pos = 0;
while(!feof(db))
{
fgets(str, 690, db);
strcpy(data[pos].c_str(),str);
pos = pos +1;
}
fclose(db);that should theoretical copy the line into the line array (data[]). In another function i have:
FrmClient->ClientCode->Text = data[0].SubString(3,6);
do you have any ideas why this may be happeneing, not just digital-ether, but anyone.... please let me know, my grade depends on it.
Thanks,
Lance Wassing
•
•
Join Date: Nov 2007
Posts: 18
Reputation:
Solved Threads: 0
Since you cant change the existing html pages, every time a user clicks on a link in your template, it links to the html page directly, and not through your template.
Avoiding this cannot be one with a server side scripting language anyways.
It depends on the server you are using. You will have to force the server to run your template each time a link, above your template directly is clicked. Then read the url, and include the html page in your template.
Forcing the server to run your template first is server dependant.
If on apache you can use mod rewrite, or forcetype directives. theres alot on the topics on the net.
Avoiding this cannot be one with a server side scripting language anyways.
It depends on the server you are using. You will have to force the server to run your template each time a link, above your template directly is clicked. Then read the url, and include the html page in your template.
Forcing the server to run your template first is server dependant.
If on apache you can use mod rewrite, or forcetype directives. theres alot on the topics on the net.
![]() |
Similar Threads
- Internet Problems, im connected but i cant access web pages. (Web Browsers)
- Loading External Pages (Site Layout and Usability)
- Doorway Pages (Search Engine Optimization)
- Problem loading 'geocities' pages on my machine (Web Browsers)
- whaddya think??? (Geeks' Lounge)
Other Threads in the IT Professionals' Lounge Forum
- Previous Thread: India running out of skilled IT workers
- Next Thread: Website loading speed
| Thread Tools | Search this Thread |
1gbit advertising advice amazon answers archive british broadband business businessprocesses career carrier censorship cern china cio collectiveintelligence connectivity consumer consumers corporateearnings datatransfer debtcollectors dictionary digg digital ebay ecommerce email employment environment facebook food government grid high-definition hottub infodelivery infotech intel internet interview ipod isp japan kindle lhc library malware marketing mit moonfruit news onlineshopping piracy piratebay pope porn program questions r&d religion remoteworking research retail security sex shopping simple skype smallbusiness smb sms socialmedia socialnetworking software softwareengineer spam speed spending startrek statistics stocks study stumbleupon survey tabletpc technology touch-screen touchscreen twitter uk videoinprint voips web webdeveloper windows words






