remove header and footer

All the topics other than the two goes here.
  • Ads

remove header and footer

Postby xmccay » Wed Nov 04, 2009 4:55 am

Hi,

May I know how can I remove the header, footer and background of the page in dolphin if I just want to show the web site content in a plain page. I tried to comment out ob_start and it was not working. Commented out header and error displayed.

Please advise. Thanks.
xmccay
Jr. Member
Jr. Member
 
Posts: 195
Joined: Sat Nov 01, 2008 3:42 pm

Re: remove header and footer

Postby Administrator » Wed Nov 04, 2009 4:03 pm

In the folder templates/tmpl_uni/

find the _header.html and _footer.html

You can change there.
Regards,
Praveen
Administrator
Administrator
Administrator
 
Posts: 1069
Joined: Mon Aug 25, 2008 7:18 am
Location: India

Re: remove header and footer

Postby xmccay » Wed Nov 04, 2009 4:15 pm

but I only want a page to show the content without the header and footer not all pages. How should I go about without editing the main template ?
xmccay
Jr. Member
Jr. Member
 
Posts: 195
Joined: Sat Nov 01, 2008 3:42 pm

Re: remove header and footer

Postby Administrator » Thu Nov 05, 2009 4:27 am

You have to edit the templating function.

There is another easy way. With php you can get the output before sending to the user browser. Then you can extract it by the function substr.
Regards,
Praveen
Administrator
Administrator
Administrator
 
Posts: 1069
Joined: Mon Aug 25, 2008 7:18 am
Location: India

  • Ads

Return to Dolphin General Help

Who is online

Users browsing this forum: No registered users and 1 guest

cron