Calendar Question - Icy Phoenix .27c »  Show posts from    to     

Icy Phoenix


Old Support Topics - Calendar Question - Icy Phoenix .27c



newt [ Tue 11 Aug, 2009 00:16 ]
Post 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


newt [ Mon 24 Aug, 2009 03:42 ]
Post subject: Re: Calendar Question
Nobody knows how to do this?


Lopalong [ Mon 24 Aug, 2009 06:39 ]
Post subject: Re: Calendar Question
Yeah! Kinda' lonely in here - ain't it?

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!

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

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: [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
}
?>


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


spydie [ Mon 24 Aug, 2009 21:14 ]
Post 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.


Chaotic [ Mon 24 Aug, 2009 21:28 ]
Post 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.


spydie [ Mon 24 Aug, 2009 21:37 ]
Post subject: Re: Calendar Question - Icy Phoenix .27c
Thx Chaotic.

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


newt [ Mon 24 Aug, 2009 21:56 ]
Post 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.


spydie [ Mon 24 Aug, 2009 22:06 ]
Post 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


Lopalong [ Tue 25 Aug, 2009 01:15 ]
Post 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.


newt [ Tue 25 Aug, 2009 02:23 ]
Post 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?


Lopalong [ Tue 25 Aug, 2009 03:36 ]
Post 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.

Check my first reply for an update on this.


newt [ Tue 25 Aug, 2009 04:43 ]
Post 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?


Lopalong [ Tue 25 Aug, 2009 05:21 ]
Post 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.


newt [ Tue 25 Aug, 2009 17:28 ]
Post 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.


spydie [ Tue 25 Aug, 2009 19:20 ]
Post 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.


Lopalong [ Wed 26 Aug, 2009 01:33 ]
Post subject: Re: Calendar Question - Icy Phoenix .27c
newt wrote: [View Post]

Thanks so much for you help. I hope I can get the calendar going on the portal.


I'll tell you one thing! - This is hard work going backwards and trying to remember where everything was, because IP*27 is a lot of little templates, and bits and pieces all over the place.

Maybe you would be better off upgrading!

BUT! Hopefully this will give you what you want.

Code: [Hide] [Select]
Open: mg_themes/layout/3_column.tpl

Find:

<a href="{U_RECENT}">{L_RECENT}</a>&nbsp;|&nbsp;<a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
<!-- END switch_user_logged_out -->
</div>
</div>

After Add:

{CALENDAR_BOX}


Btw, you do have some <tags> out of place with the stuff you've been adding. It's no BIG deal, but it is probably the reason why the calendar broke your layout.




Powered by Icy Phoenix