Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post Change Header Image For Custom Pages 
 
Hi all.
I have one question: how to change overall header image for custom page that I created through CMS? I created new physical page, called fkomarska.php (below), it's 3 column page. How do I get upper main logo (sitelogo_small.png) changed, but only for this page? How could I tell fkomarska.php to load some other image in header, while everything else stays untouched (icy theme, layout, etc)? Is it possible?

Thanks

fkomarska.zip
Description: My current fkomarska.php 
Download
Filename: fkomarska.zip
Filesize: 2.16 KB
Downloaded: 137 Time(s)

 




____________
Omarska online
 
omarskaSend 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: Change Header Image For Custom Pages 
 
I think that it's not possible to do that at the moment
 




____________
? Zuker - EDDB - LPM - Sharefields
 
ZukerSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Change Header Image For Custom Pages 
 
OK, Zuker, thanks for quick reply.

One more question: is it possible (and how) to put news block on this page (fkomarska.php), and then show news different from the main news on the portal (index.php), but with same behaviour, showed post by post. Maybe I should somehow specify one forum to take news from? Or add something similar to "show on portal" checkbox? Or create news category which will not be shown on main index, but will be shown on fkomarska.php news block? Any solution would be great.
I guess there is something to do with posting.php, or I should define some new kind of block, but I don't know what.

Can you help me one more time?

Thanks
 




____________
Omarska online
 
omarskaSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Change Header Image For Custom Pages 
 
omarska wrote: [View Post]
Hi all.
I have one question: how to change overall header image for custom page that I created through CMS? I created new physical page, called fkomarska.php (below), it's 3 column page. How do I get upper main logo (sitelogo_small.png) changed, but only for this page? How could I tell fkomarska.php to load some other image in header, while everything else stays untouched (icy theme, layout, etc)? Is it possible?

Thanks


I think it is possible if you know exactly which topic or which forum you want this page to appear.

If I understood you right you want different banner for that page for example this is what I did when I wanted different banner for different forum in Page_header.php. But I had to revert back the code as when any topic in that forum is opened main banner appeared instead of the one I want.

// Parse and show the overall header.
include($phpbb_root_path . 'includes/functions_rate.'.$phpEx);
if ( isset($_GET[POST_FORUM_URL]) )
{
 $tmp_forum_id = intval($_GET[POST_FORUM_URL]);
}
    if ($tmp_forum_id == 1)
    {
    $template->set_filenames(array(
        'overall_header' => ( empty($gen_simple_header) ) ? 'instrumental_header.tpl' : 'simple_header.tpl')
    );
    }
    else if ($tmp_forum_id == 2)
    {
    $template->set_filenames(array(
        'overall_header' => ( empty($gen_simple_header) ) ? 'vocal_header.tpl' : 'simple_header.tpl')
    );
    }
                else
    {
        $template->set_filenames(array(
        'overall_header' => ( empty($gen_simple_header) ) ? 'overall_header.tpl' : 'simple_header.tpl')
    );
    }
}
//
// Generate logged in/logged out status
//

You can find more in this topic
http://www.icyphoenix.com/viewtopic.php?t=1088&start=0

And if I understood you wrong please apologize.
 



 
charadesSend private message  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  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