Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Breadcrumbs And New Standard Page 
 
Hi

Can someone please help me identify where i am going wrong ?

I have created a Standard Page in CMS

page_1

As you can see i have ticked the Breadcrumbs checkbox and setting are as

page_2

how do i get them to appear on my page like this ( albums page )

 3

Also on any page that i have created a standard page for i cannot get the logout button to display the text of logout, but its fine in all other pages, ie album, forum, index etc ( Last button in the clip above and below )

 4

my page start code is as shown

Code: [Download] [Hide] [Select]

define('IN_ICYPHOENIX', true);
if (!defined('IP_ROOT_PATH')) define('IP_ROOT_PATH', './');
if (!defined('PHP_EXT')) define('PHP_EXT', substr(strrchr(__FILE__, '.'), 1));
include(IP_ROOT_PATH . 'common.' . PHP_EXT);

include(IP_ROOT_PATH . '/ticklists/ticksummaryconfig.'.PHP_EXT);

$sortby = $_REQUEST["REGION_FILTER"];

// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
// End session management


$cms_page['page_id'] = 'leaderboard';
$cms_page['page_nav'] = (!empty($cms_config_layouts[$cms_page['page_id']]['page_nav']) ? true : false);
$cms_page['global_blocks'] = (!empty($cms_config_layouts[$cms_page['page_id']]['global_blocks']) ? true : false);
$cms_auth_level = (isset($cms_config_layouts[$cms_page['page_id']]['view']) ? $cms_config_layouts[$cms_page['page_id']]['view'] : AUTH_ALL);
check_page_auth($cms_page['page_id'], $cms_auth_level);



Appreciate any help
 



 
AndyGpySend 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: Breadcrumbs And New Standard Page 
 
Quote:
Also on any page that i have created a standard page for i cannot get the logout button to display the text of logout


The problem for that would be in the .tpl file - zip me a copy of the template files...
 



 
mortSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Breadcrumbs And New Standard Page 
 
Can you try moving this part include(IP_ROOT_PATH . '/ticklists/ticksummaryconfig.'.PHP_EXT); after the check_page_auth function?
 




____________
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: Breadcrumbs And New Standard Page 
 
If i do that the lest of page wont load as it contains login details to a dbase outwith ip database
 



 
AndyGpySend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Breadcrumbs And New Standard Page 
 
I have just made a test with the GIT version:

Created a file called leaderboard.php

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

define('IN_ICYPHOENIX', true);
if (!defined('IP_ROOT_PATH')) define('IP_ROOT_PATH', './');
if (!defined('PHP_EXT')) define('PHP_EXT', substr(strrchr(__FILE__, '.'), 1));
include(IP_ROOT_PATH . 'common.' . PHP_EXT);

// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
// End session management

$cms_page['page_id'] = 'leaderboard';
$cms_page['page_nav'] = (!empty($cms_config_layouts[$cms_page['page_id']]['page_nav']) ? true : false);
$cms_page['global_blocks'] = (!empty($cms_config_layouts[$cms_page['page_id']]['global_blocks']) ? true : false);
$cms_auth_level = (isset($cms_config_layouts[$cms_page['page_id']]['view']) ? $cms_config_layouts[$cms_page['page_id']]['view'] : AUTH_ALL);
check_page_auth($cms_page['page_id'], $cms_auth_level);

message_die(GENERAL_MESSAGE, 'GREAT!!!');

?>


Added the page into Standard Pages section in CMS.

ip_leaderboard_01

ip_leaderboard_02

For me everything is working properly...
 




____________
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 [SOLVED] Re: Breadcrumbs And New Standard Page 
 
I replaced this at bottom of script

        //$template->pparse('body');

    with    

full_page_generation($template_to_parse, $meta_content['page_title'], $meta_content['description'], $meta_content['keywords']);        

and assigned $template_to_parse at top of script to leaderboard.tpl, now working.

Im learning loads as i playing with this.

Also included the meta fields now working fine
 



 
AndyGpySend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Breadcrumbs And New Standard Page 
 
AndyGpy wrote: [View Post]
I'm learning loads as i playing with this.


You may have to learn how to re-code the database queries for your mods too. Mysql will be dead with the next release of php.
 



 
mortSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Breadcrumbs And New Standard Page 
 
No, that's not true. First off, it's mysql that gets killed, not mysqli (which uses the mysqlnd).

Second off, since we have a SQL abstraction class, user code shouldn't have to change one bit :-).
 




____________
IcyPhoenix ADR RPGEzArena (modded phpBB2+ADR)
 
InformproSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Breadcrumbs And New Standard Page 
 
So are you saying that phpBB and IP'x are a one-off (On their own), and it comes to using their own special format to address and manipulate the database and not something standard like everyone else uses?
 

 
 



 
mortSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Breadcrumbs And New Standard Page 
 
No, that's not what I'm saying. I'm saying phpBB and IP are using a "gateway" or "proxy" between their code and the database.

Otherwise phpBB wouldn't be able to support so many DB layers (mysql, postgresql, oracle, etc)
 




____________
IcyPhoenix ADR RPGEzArena (modded phpBB2+ADR)
 
InformproSend private message  
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