Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post 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 
Gianni PBSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post 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 
mortSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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) 

 



 
InformproSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 



 
Gianni PBSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: New Blank Page 
 
I don't think having 500 pages is a good idea anyway ... What are they "about" ?
 



 
InformproSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 



 
Gianni PBSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [SOLVED] New Blank Page 
 
thank you MG
 



 
Gianni PBSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post 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: 89 Time(s)

esempio2.jpg


 



 
Gianni PBSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: [SOLVED] New Blank Page 
 
Save your page with encoding: UTF8 (without BOM).
 



 
InformproSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: New Blank Page 
 
thanks...solved
 



 
Gianni PBSend private messageVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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


  

 

  cron