Page 4 of 8

Re: phpBB Calendar block on Board3 Portal (Update 1.0.3)

Posted: 21. August 2009 18:03
by jerkstore
Foulou - you need to also Refresh your Templates.

In the ACP goto Styles > Templates > Refresh Template and it should appear correctly. You need to do this with each change you make to any template/theme/image file for it to show up.

Re: phpBB Calendar block on Board3 Portal (Update 1.0.3)

Posted: 2. September 2009 09:02
by foulou
late reply but thx, i find my mistake, was editing my template problack instead of prosilver :/

Re: phpBB Calendar block on Board3 Portal (Update 1.0.3)

Posted: 2. September 2009 11:02
by DeaQ
Hi,

da mein Englisch nicht das beste ist werde ich es hier in Deutsch wiedergeben.

Ich würde gerne in meinen Termin Block das so einrichten wenn keine Termine anstehen das dies auch angegeben wird. Ich stelle mir das etwa so vor das dort dann sowas wie " Es stehen keine Termine an" steht. Sowas gibt es ja beim Geburtstagblock, dort steht ja dann das keiner Geburtstag hat. Ich habe aber absolut keine Ahnung wie ich das umsetzen kann.

Es wäre super wenn mir da jemand sagen könnte was ich machen muss.

Code: Select all

<!--version $Id: mini_calendar.html 481 2009-03-15 23:16:32Z Christian_N $ //-->
{$LR_BLOCK_H_L}<img src="{T_THEME_PATH}/images/portal/portal_minical.png" width="16px" height="16px" alt=""/>&nbsp;{L_MINI_CAL_CALENDAR}{$LR_BLOCK_H_R}   
   <table width="100%" cellspacing="1">
      
<tr class="row1">
      <td style="width: 100%; text-align: center" class="bg4" colspan="7">Termine</td>
  </tr>
  <tr>
    <td class="row1" colspan="7">

      <!-- BEGIN events -->
      <!-- IF events.S_FIRST_ROW -->
      <!-- ELSE --><hr><!-- ENDIF -->
      <a href="{events.EVENT_URL}"><!-- IF events.COLOR --><span style="color:#{events.COLOR}"><!-- ENDIF -->
      [{events.START_TIME}]<!-- IF events.COLOR --></span><!-- ENDIF --></a>
      <a href="{events.EVENT_URL}" title="{events.FULL_SUBJECT}">
      <!-- IF events.COLOR --><span style="color:#{events.COLOR}"><!-- ENDIF -->
      <!-- IF events.DISPLAY_BOLD --><strong><!-- ENDIF -->
      <!-- IF events.IMAGE --><img src="{events.IMAGE}" title="{events.ETYPE_DISPLAY_NAME}"><!-- ENDIF -->
      <!-- IF events.ETYPE_DISPLAY_NAME -->{events.ETYPE_DISPLAY_NAME}:<!-- ENDIF -->
      {events.SUBJECT}
      <!-- IF events.DISPLAY_BOLD --></strong><!-- ENDIF -->
      <!-- IF events.SHOW_TIME --><br /><!-- IF events.ALL_DAY -->{events.START_TIME}<!-- ELSE -->
      {L_FROM_TIME}: {events.START_TIME} <br />{L_TO_TIME}: {events.END_TIME}<!-- ENDIF -->
      <!-- ENDIF -->
      <!-- IF events.COLOR --></span><!-- ENDIF --></a><br />
      <!-- END events -->

    </td>
  </tr>
   </table>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}

Re: phpBB Calendar block on Board3 Portal (Update 1.0.3)

Posted: 24. September 2009 16:24
by RedSpider
Hi.

This is my mini_calendar.html code

Code: Select all

<!--version $Id: mini_calendar.html 481 2009-03-15 23:16:32Z Christian_N $ //-->
{$LR_BLOCK_H_L}<img src="{T_THEME_PATH}/images/portal/portal_minical.png" width="16px" height="16px" alt=""/>&nbsp;<a href="{U_CALENDAR}" title="{L_CALENDAR}">{L_CALENDAR}</a>{$LR_BLOCK_H_R}   
   <table width="100%" cellspacing="1">
      <tr>
         <td align="left" colspan="2">{U_PREV_MONTH}</td>
         <td colspan="3" align="center"><span class="genmed">{L_MINI_CAL_MONTH}</span></td>
         <td align="right" colspan="2">{U_NEXT_MONTH}</td>
      </tr>
      <tr>
         <td style="width: 14%;"><span class="gensmall" style="color:#0000FF">{L_MINI_CAL_SUN}</span></td>
         <td style="width: 14%;"><span class="gensmall" style="color:#0000FF">{L_MINI_CAL_MON}</span></td>
         <td style="width: 14%;"><span class="gensmall" style="color:#0000FF">{L_MINI_CAL_TUE}</span></td>
         <td style="width: 14%;"><span class="gensmall" style="color:#0000FF">{L_MINI_CAL_WED}</span></td>
         <td style="width: 14%;"><span class="gensmall" style="color:#0000FF">{L_MINI_CAL_THU}</span></td>
         <td style="width: 14%;"><span class="gensmall">{L_MINI_CAL_FRI}</span></td>
         <td style="width: 14%;"><span class="gensmall" style="color:#FF0000">{L_MINI_CAL_SAT}</span></td>
      </tr>
      <!-- BEGIN mini_cal_row -->
      <tr>
         <!-- BEGIN mini_cal_days -->
          <td class="row1" align="center"><span class="gensmall">{mini_cal_row.mini_cal_days.MINI_CAL_DAY}</span></td>  
		<!-- END mini_cal_days -->
      </tr>

      <!-- END mini_cal_row -->

<tr class="row1">
      <td style="width: 100%; text-align: center" class="bg4" colspan="7">Próximos eventos</td>
  </tr>
  <tr>
    <td class="row1" colspan="7">

      <!-- BEGIN events -->
      <!-- IF events.S_FIRST_ROW -->
      <!-- ELSE --><hr><!-- ENDIF -->
      <a href="{events.EVENT_URL}"><!-- IF events.COLOR --><span style="color:#{events.COLOR}"><!-- ENDIF -->
      [{events.START_TIME}]<!-- IF events.COLOR --></span><!-- ENDIF --></a>
      <a href="{events.EVENT_URL}" title="{events.FULL_SUBJECT}">
      <!-- IF events.COLOR --><span style="color:#{events.COLOR}"><!-- ENDIF -->
      <!-- IF events.DISPLAY_BOLD --><strong><!-- ENDIF -->
      <!-- IF events.IMAGE --><img src="{events.IMAGE}" title="{events.ETYPE_DISPLAY_NAME}"><!-- ENDIF -->
      <!-- IF events.ETYPE_DISPLAY_NAME -->{events.ETYPE_DISPLAY_NAME}:<!-- ENDIF -->
      {events.SUBJECT}
      <!-- IF events.DISPLAY_BOLD --></strong><!-- ENDIF -->
      <!-- IF events.SHOW_TIME --><br /><!-- IF events.ALL_DAY -->{events.START_TIME}<!-- ELSE -->
      {L_FROM_TIME}: {events.START_TIME} <br />{L_TO_TIME}: {events.END_TIME}<!-- ENDIF -->
      <!-- ENDIF -->
      <!-- IF events.COLOR --></span><!-- ENDIF --></a><br />
      <!-- END events -->

    </td>
  </tr>
   </table>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
And this is the result:
Image

The problem is that when I click on a day, it shows all topics without answer ...
Image

...and I think it should display the events (if there are) or the day of the calendar where you click.
Any idea about what must I modify to get this function?

Many thanks.

Re: phpBB Calendar block on Board3 Portal (Update 1.0.3)

Posted: 29. September 2009 11:15
by RedSpider
Nobody with this mod in Spanish?

Re: phpBB Calendar block on Board3 Portal (Update 1.0.3)

Posted: 20. October 2009 19:31
by jerkstore
Any word on a 1.0.4 update on this?

Re: phpBB Calendar block on Board3 Portal (Update 1.0.3)

Posted: 24. October 2009 20:15
by jerkstore
bump

Re: phpBB Calendar block on Board3 Portal (Update 1.0.3)

Posted: 3. December 2009 20:16
by sureshot007
RedSpider wrote:...
The problem is that when I click on a day, it shows all topics without answer ...


...and I think it should display the events (if there are) or the day of the calendar where you click.
Any idea about what must I modify to get this function?

Many thanks.
I'm trying to get the same thing to work, but I have no idea where to start with it. Anyone have any suggestions???


EDIT: Here is something I just figured out -

Code: Select all

<!-- BEGIN mini_cal_days -->
            <td class="row1" align="center"><span class="gensmall"><a href="http://www.mydomain.com/calendar.php?view=day&calD={mini_cal_row.mini_cal_days.MINI_CAL_DAY}&calM={mini_cal_row.mini_cal_days.MINI_CAL_MONTH}&calY={mini_cal_row.mini_cal_days.MINI_CAL_YEAR}">{mini_cal_row.mini_cal_days.MINI_CAL_DAY}</a></span></td>
         <!-- END mini_cal_days -->
That makes all days in the future of the current month jump to the calendar properly (on my board at least). It doesn't work for past days, which seems to link automatically to "Unanswered Posts". And days in different months are still linking to current month. But it's a step in the right direction if that helps anyone. I'm going to keep working at it.

Re: phpBB Calendar block on Board3 Portal (Update 1.0.3)

Posted: 7. December 2009 23:05
by tueftler19
Hallo!

Leider komme ich nicht weiter :-(

Ich habe die aktuellen Versionen (Board 3.06, Portal 1.04 Calender 0.1.0 und "Block-Mod" 103) installiert. Grundsätzlich funktioniert es auch, aber ich wünsche mir eigentlich einen Kalender im Portal bei dem man auch den Kalender sehen kann. Leider sieht es bei mir wie folgt aus:

Image

Da ich jetzt die ganze Sache zweimal installiert habe und jedesmal beim gleichen Problem lande bin ich mir eigentlich sicher dass das Problem vor dem Bildschirm sitzt aber ich weiß nicht weiter. Habt Ihr einen Tipp für mich?

Danke, viele Grüße
Tueftler19

P.S: The short english version: I´d like to have not only the events on the calendar but a real calender with the ability to edit, add and delete the events.

phpBB Calendar block on Board3 Portal (Update 1.0.4)

Posted: 18. December 2009 13:15
by wang5555
Update v1.0.4,
See first post.

Re: phpBB Calendar block on Board3 Portal (Update 1.0.3)

Posted: 9. February 2010 14:52
by kutt
tueftler19 wrote: Image
i have exactly the same problem

i use v1.0.4

on subsilver2 it looks good but when using prosilver there see to be some kind of format error.

any idea how this can be fixed ?

Re: phpBB Calendar block on Board3 Portal (Update 1.0.4)

Posted: 9. February 2010 18:20
by kutt
ok .. looks like that I fixed that problem

seems to be a small error in the calendar.html (./styles/prosilver/templates/portal/block/calendar.html)

my current version looks now like this:

Code: Select all

{$LR_BLOCK_H_L}<img src="{T_THEME_PATH}/images/portal/portal_calendar.gif" width="18px" height="15px" alt=""/>&nbsp;{L_CALENDAR}{$LR_BLOCK_H_R}
        <div class="portal-navigation">
                <div class="menutitle">{L_UPCOMING_EVENTS}</div>
                        <ul>
                        <!-- BEGIN events -->
                                <li class="row"<!-- IF events.IMAGE --> style="background-image: url({events.IMAGE}); background-repeat: no-repeat;"<!-- ENDIF -->>
                                                <dt><a href="{events.EVENT_URL}" title="<!-- IF events.ETYPE_DISPLAY_NAME -->{events.ETYPE_DISPLAY_NAME}: <!-- ENDIF -->{events.FULL_SUBJECT}">
                                                        <span style="<!-- IF events.COLOR -->color:#{events.COLOR};<!-- ENDIF --> font-weight: bold;">
                                                                <!-- IF events.ETYPE_DISPLAY_NAME -->{events.ETYPE_DISPLAY_NAME}: <!-- ENDIF -->{events.SUBJECT}</span><br /><!-- IF events.ALL_DAY -->{events.START_TIME}<!-- ELSE -->{event$
                                                </dt>
                                </li>
                        <!-- END events -->
                        </ul>
        </div>
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}

Re: phpBB Calendar block on Board3 Portal (Update 1.0.3)

Posted: 10. February 2010 14:01
by wang5555
kutt wrote:
tueftler19 wrote: Image
i have exactly the same problem

i use v1.0.4

on subsilver2 it looks good but when using prosilver there see to be some kind of format error.

any idea how this can be fixed ?
Sorry, I don't think that is a problem.

Refer:
http://phpbb-tw.net/phpbb/viewtopic.php?f=133&t=52716

If you don't display event image, you can use 'class="row"' replace ''class="icon"'.

Re: phpBB Calendar block on Board3 Portal (Update 1.0.4)

Posted: 10. February 2010 14:28
by kutt
hmm still looks strange ...

I rewrote it so, that the image is shown if there is none the arrow is shown

for that I had to tweak the portal.css a bit aswell :)

Re: phpBB Calendar block on Board3 Portal (Update 1.0.4)

Posted: 12. May 2010 21:05
by aliraj
can anyone help me out with phpBB Calendar 0.1.0 (alightner) instalation with aerored style thankx