Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Add A Blank Page 
 
I want to add a blank page: http://www.icyphoenix.com/viewtopic...&p=11376#p11376

But I have this error:

Code: [Download] [Hide] [Select]
Could not query posts table

DEBUG MODE

SQL Error : 1146 Table 'Sql16333_1.CONSTANT_WITH_THE_NAME_OF_THE_TABLE' doesn't exist

SELECT column_name FROM CONSTANT_WITH_THE_NAME_OF_THE_TABLE WHERE column_operator_value

Line : 26
File : _blankpage.php

 



 
Last edited by Gianni PB on Thu 13 Dec, 2007 15:55; 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: Add A Blank Page 
 
That's an old tutorial, the best way to add pages it's using CMS's power
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Add A Blank Page 
 
I know, but I don't like it....
 



 
Gianni PBSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Add A Blank Page 
 
So you can try to use this

Code: [Download] [Hide]
  1. <?php  
  2. define('IN_PHPBB', true);  
  3.  
  4. $phpbb_root_path = './'; // <--  
  5. include($phpbb_root_path . 'extension.inc');  
  6. include($phpbb_root_path . 'common.'.$phpEx);  
  7.  
  8. $userdata = session_pagestart($user_ip, PAGE_INDEX);  
  9. init_userprefs($userdata);  
  10.  
  11. include($phpbb_root_path . 'includes/page_header.'.$phpEx);  
  12. ?>  
  13.  
  14. html code here  
  15.  
  16. <?  
  17. include($phpbb_root_path . 'includes/page_tail.'.$phpEx);  
  18. ?> 


Save it as a .php file, and place it on the root of tour forum
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Add A Blank Page 
 
yes yes thanks...but I want to use template. How can I do it?
 



 
Gianni PBSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Add A Blank Page 
 
Gianni PB wrote: [View Post]
yes yes thanks...but I want to use template. How can I do it?


You can use template using Cms or this way, style it's parsed since page_header it's included
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Add A Blank Page 
 
if i use CMS, my pages will save on DB?
how does it work?
 



 
Gianni PBSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Add A Blank Page 
 
yes , inside db
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Add A Blank Page 
 
i have to add 500 pages....I think my db will not very happy...

is there an other way to add pages with template inside a table?
 



 
Last edited by Gianni PB on Wed 12 Dec, 2007 16:36; edited 1 time in total 
Gianni PBSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Add A Blank Page 
 
Zuker wrote: [View Post]
So you can try to use this

Code: [Download] [Hide]
  1. <?php  
  2. define('IN_PHPBB', true);  
  3.  
  4. $phpbb_root_path = './'; // <--  
  5. include($phpbb_root_path . 'extension.inc');  
  6. include($phpbb_root_path . 'common.'.$phpEx);  
  7.  
  8. $userdata = session_pagestart($user_ip, PAGE_INDEX);  
  9. init_userprefs($userdata);  
  10.  
  11. include($phpbb_root_path . 'includes/page_header.'.$phpEx);  
  12. ?>  
  13.  
  14. html code here  
  15.  
  16. <?  
  17. include($phpbb_root_path . 'includes/page_tail.'.$phpEx);  
  18. ?> 


Save it as a .php file, and place it on the root of tour forum



ok, i'll use this..thanks!
 



 
Last edited by Gianni PB on Thu 13 Dec, 2007 16:04; edited 1 time in total 
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