New Blank Page »  Show posts from    to     

Icy Phoenix


Old Support Topics - New Blank Page



Gianni PB [ Thu 02 Aug, 2012 11:32 ]
Post 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


mort [ Thu 02 Aug, 2012 13:18 ]
Post 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: [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: [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?


Informpro [ Thu 02 Aug, 2012 13:27 ]
Post subject: Re: New Blank Page
Hi,

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

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


Gianni PB [ Thu 02 Aug, 2012 18:57 ]
Post subject: Re: New Blank Page
Informpro wrote: [View Post]
Hi,

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

Code: [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


Informpro [ Thu 02 Aug, 2012 19:06 ]
Post subject: Re: New Blank Page
I don't think having 500 pages is a good idea anyway ... What are they "about" ?


Gianni PB [ Thu 02 Aug, 2012 19:20 ]
Post 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

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


Mighty Gorgon [ Thu 02 Aug, 2012 22:52 ]
Post 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


Gianni PB [ Fri 03 Aug, 2012 09:07 ]
Post subject: Re: [SOLVED] New Blank Page
thank you MG


Gianni PB [ Sat 04 Aug, 2012 10:51 ]
Post 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


Informpro [ Sat 04 Aug, 2012 17:30 ]
Post subject: Re: [SOLVED] New Blank Page
Save your page with encoding: UTF8 (without BOM).


Gianni PB [ Thu 09 Aug, 2012 16:41 ]
Post subject: Re: New Blank Page
thanks...solved




Powered by Icy Phoenix