Calendar Question - Icy Phoenix .27c


Goto page 1, 2  Next

Subject: Calendar Question - Icy Phoenix .27c
Is there a way to add the Calendar header from the Forum, to the Portal page? I tried doing it through the CMS, but that calendar is not the same.

Icy Phoenix version: .27c

Profile PM  
Subject: Re: Calendar Question
Nobody knows how to do this?

Profile PM  
Inactive User
Subject: Re: Calendar Question
Yeah! Kinda' lonely in here - ain't it? :shock:

I can't help you with it, I'm just letting you know that at least someone has read it, and will have shot at helping to solve it if the CMS experts remain conspicuous by their absence for too much longer.

:(

Edit:

I told a lie! :oops:

I had nothing better to do so I thought I'd have a look at it. :mryellow:

It's NOT CMS anyway - It's template driven. ;)

This location should also suit all templates for IPv.1.27 etc, but it is based on the "Default ice" theme.

Code: [Download] [Hide] [Select]
##########################################################

Open: overall_header_(Your Theme).tpl

Find:

<!-- BEGIN switch_importal -->
{PORTAL_HEADER}


Before Add:


<?php
if (basename($_SERVER['SCRIPT_NAME'], '.' . php) == 'index')
{
?>
<table width="100%" class="" cellpadding="0" cellspacing="1">
<tr>
<td>
{CALENDAR_BOX}
</td>
</tr>
</table>
<?php
}
?>


#########################################################

Subject: Re: Calendar Question
Could you please rename the topic title to " Calendar Question IP .27" so everybody know´s the version of IP we´re talking about.

Subject: Re: Calendar Question - Icy Phoenix .27c
Fixed topic title and post.

- Moving to Old Support Topics forum since this is related to an outdated Icy Phoenix version.

Subject: Re: Calendar Question - Icy Phoenix .27c
Thx Chaotic.

I´ve just been trying not to get thing´s mixed up.

Subject: Re: Calendar Question - Icy Phoenix .27c
Dang. Hate to hear I have to upgrade. My ACP still says, "Your installation is up to date, no updates are available for your version of phpBB." I'm not a programming expert by any means and the upgrade info in this site makes it seem like lot can go wrong.

Profile PM  
Subject: Re: Calendar Question - Icy Phoenix .27c
If you want to . we give you a hand in all you need.

That´s what we´re here for

Inactive User
Subject: Re: Calendar Question - Icy Phoenix .27c
newt wrote: [View Post]
Dang. Hate to hear I have to upgrade.


No! And neither you should until you are ready to. ;)

A lot of people have put in a whole lot of time creating a site with IPv27 and would be loathe to learn that an upgrade to IPv1.3 means loosing some things including custom themes. And is not something I would do myself at the moment while IPv1.3 is still in its infancy and still being debugged. :(

Try this:

The second Script I wrote begins with <tr> and ends with </tr>

Open overall_header* for your style and find (anywhere in the tables) something that looks like this:
</tr>
<tr>

And slot all of that script in between these two tags. Once you see where the calendar is, you should get the idea of what you have to do to move it .

If anywhere you move it to "breaks" the template, then try the other script with the <table in it. - - - - If all fails - Yell out some more. :mryellow:

Subject: Re: Calendar Question - Icy Phoenix .27c
Hi Lopalong, thanks for you reply. I have invested alot into this version on IP.

I tried both scripts and both will put the calendar on the portal, however both scripts cause my site logo to disappear (sitelogo_small.png) and also the link that goes with it has changed too.

Any ideas on how to fix that?

Profile PM  
Inactive User
Subject: Re: Calendar Question - Icy Phoenix .27c
I don't know what planet I was on when I suggested using the IPv1.3 script for IPv1.2 because there were changes made to the variables that are NOT going to work with IP27. I also don't know how you got it to work with constants and not vars? or plain script. :?:

Or it was TOOOOOOOO early in the morning - And I prefer that as my alibi for my stupidity. :censored:

Check my first reply for an update on this. :P

Subject: Re: Calendar Question - Icy Phoenix .27c
I tried editing overall_header_mg.tpl since I have mg_themes as my main (and only) theme. However that did not work. Nothing changed.

I also have in the mg_themes folder:

overall_header.tpl
overall_header_bl.tpl
overall_header_mx.tpl
overall_header_sc-BU.tpl
overall_header_ss.tpl

Did I choose the wrong one?

Profile PM  
Inactive User
Subject: Re: Calendar Question - Icy Phoenix .27c
overall_header.tpl is the default for the ice theme. ;)

Heck Mate! A link to your site please - So long as it's not Adult or Warez etc. :P

Subject: Re: Calendar Question - Icy Phoenix .27c
Here is my site: http://www.TheLocalVoice.net

I run a entertainment newspaper in Oxford, Mississippi and am attempting to have a better presence on the web. I had a nice site a last year that was hacked all to hell and I have been trying to avoid that with my new one, which was started in January of this year. If you have any suggestions I'm open to them.

Thanks so much for you help. I hope I can get the calendar going on the portal. I think it would help our mission to promote live music in our town.

Newt


edited to add:

Adding the new script to overall_header.tpl still removes the site logo and changes the link.

Profile PM  
Subject: Re: Calendar Question - Icy Phoenix .27c
Yes your calendar is quiet loaded with event´s.

And i understand perfectly that you want that on your portal.

question is , how to do that.

better wait for Lopa to fall out of bed.

he´s on the other site of this planet, just between the bushes and stones and branches there.

i think if someone can sort that out it´s him.

Goto page 1, 2  Next

Page 1 of 2


  
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

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1681s (PHP: 13% SQL: 87%)
SQL queries: 13 - Debug Off - GZIP Enabled