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.

HTML Forum


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



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Closed Thread
Old 04-15-2010, 08:09 AM A bit stuck
Banned

Posts: 12
Name: John
Trades: 0
Hi All,

I have done something stupid...lol apart from make this long post.

I have agreed to clone a friend’s site to be used on another site of his, basically because it has the functions he wants.

The problem I have come across is the site was built in FrontPage 5 about 5 years ago, it is a mixture of html and php and it uses iframes...lol

He has provided me with an html template he purchased from themeforest, but I’m finding a few issues.

The template he wants uses divs so I was thinking ok all the php pages that open in the iframe I can get to open in the selected div, ok not a problem I used Ajax to get that to work, now it calls the pages fine, well some of them.

When the main index.html opens I need it to call and open up a php file that supplies a random advert from the database, Only way I can get it to semi work is to rename it to index.php and use includes, but then I get this error

Code:
Warning:  Cannot modify header information - headers already  sent by
So then I thought for the ease of it I’ll clone the site as is iframe included..lol as I know everything works, so I put the header and drop down menu inside top.htm, but now the drop downs fall behind the iframe...grrrrrrrrrrrrr
So now I'm at the point of just realising I actually know nothing about web design..lol

So what would you guys recommend...

#1 Cloning the site as is and get help fitting a design around it

#2 using a premade template and fitting the shed loads of pages into it

#3 you guys suggest something easier...lol

Bare in mind I don't know php at all so maybe the php code is out of date etc.

I hope you guys can be of help...

Last edited by reeps; 04-15-2010 at 08:17 AM..
reeps is offline
View Public Profile
 
 
Register now for full access!
Old 04-15-2010, 02:55 PM Re: A bit stuck
TripleMoons's Avatar
Webmaster Talker

Posts: 619
Name: Stephanie Kunder
Location: Hanover, PA
Trades: 0
Eww, FrontPage...

I would just take the template he selected and insert all of the content from the old site into the new site. Better to have it coded correctly (hopefully the template is coded correctly) then mess with a poorly coded site.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

TripleMoons is offline
View Public Profile Visit TripleMoons's homepage!
 
Old 04-17-2010, 06:37 AM Re: A bit stuck
Banned

Posts: 12
Name: John
Trades: 0
Quote:
Originally Posted by TripleMoons View Post
Eww, FrontPage...

I would just take the template he selected and insert all of the content from the old site into the new site. Better to have it coded correctly (hopefully the template is coded correctly) then mess with a poorly coded site.

That was my original choice, but my problem is as said getiing that php page to open in the left_column div when the site loads, if i rename the page to php it gives me errors
reeps is offline
View Public Profile
 
Old 04-17-2010, 09:09 AM Re: A bit stuck
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Headers have to be sent BEFORE any character is sent to the user agent.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
View Public Profile Visit chrishirst's homepage!
 
Old 04-18-2010, 04:22 AM Re: A bit stuck
Super Talker

Posts: 143
Trades: 0
I think you can do it with Div Tags.
itbuzz is offline
View Public Profile
 
Closed Thread     « Reply to A bit stuck
 

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.68788 seconds with 12 queries