SOLVED New Blank Page


Subject: New Blank Page
Hi!
How can I make a blank page without using .tpl files?

with the previous release, I used: includes/page_header.php and includes/page_tail.php

Last edited by Gianni PB on Thu 02 Aug, 2012 18:48; edited 1 time in total
Subject: Re: New Blank Page
Not exactly sure what you are trying to do :(

But the file name would have to be a php file - myFile.php etc. Then you would have to echo the mark-up something like this.

Code: [Download] [Hide] [Select]
<?php

echo '<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="bgextra">
<div align="center">
<a href="blah/index.php?">Some tag or image</a>
</div>
</td>
</tr>
</table>
';

?>




If you have other apostrophes in whatever you add then you would need to comment them out like so.


Code: [Download] [Hide] [Select]
<?php

echo '<table width=\'100%\' cellpadding=\'0\' cellspacing=\'0\' border=\'0\'>
<tr>
<td class=\'bgextra\'>
<div align=\'center\'>
<a href=\'blah/index.php?\'>Some tag or image</a>
</div>
</td>
</tr>
</table>
';

?>


As I said - Not exactly sure what you are trying to do?

Last edited by mort on Thu 02 Aug, 2012 13:32; edited 1 time in total
Profile PM  
Subject: Re: New Blank Page
Hi,

now it's 2 functions :
Code: [Download] [Hide]
  1. function page_header($title = '', $parse_template = false) 

Code: [Download] [Hide]
  1. function page_footer($exit = true, $template_to_parse = 'body', $parse_template = false) 

Profile PM  
Subject: Re: New Blank Page
Informpro wrote: [View Post]
Hi,

now it's 2 functions :
Code: [Download] [Hide]
  1. function page_header($title = '', $parse_template = false) 

Code: [Download] [Hide]
  1. function page_footer($exit = true, $template_to_parse = 'body', $parse_template = false) 



How can I call them?


here it's my previous request: http://www.icyphoenix.com/viewtopic.php?t=3227 :mricy:

Subject: Re: New Blank Page
I don't think having 500 pages is a good idea anyway ... What are they "about" ?

Profile PM  
Subject: Re: New Blank Page
Informpro wrote: [View Post]
I don't think having 500 pages is a good idea anyway ... What are they "about" ?


today there are 5.500 pages :mricy:

I don't know how I can call these 2 functions in my blank page.
I tried to use:

page_header($title = '', $parse_template = false);


but it doesn't work

Subject: Re: New Blank Page
I don't know why you have so many pages... but you can achieve the same result in several ways.

Try to check this tutorial: CUSTOMIZATION - Create A Custom Page In Icy Phoenix 2.0

Subject: Re: [SOLVED] New Blank Page
thank you MG 8)

Subject: Re: [SOLVED] New Blank Page
It works, but now I have a little problem with special characters, look at: www.salsapuglia.com/discografie/ale...juangabriel.php


esempio2.jpg
Description:  
Filesize: 77.29 KB
Viewed: 200 Time(s)

esempio2.jpg


Subject: Re: [SOLVED] New Blank Page
Save your page with encoding: UTF8 (without BOM).

Profile PM  
Subject: Re: New Blank Page
thanks...solved


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.0889s (PHP: 22% SQL: 78%)
SQL queries: 14 - Debug Off - GZIP Enabled