![]() |
|
#1
|
|||
|
|||
|
I'd modified CMPS 1 with the Calendar Babes hack (original thread ) for use as a Photo of the Month. When I upgraded to CMPS 2, the hack no longer works.
Any suggestions where in the new version to make a simillar modification? I see the new templates (adv_portal_calendar_*), but I'm not sure which one to look at for modification. Thanks, and love the new version! |
|
#2
|
||||
|
||||
|
Just add that <img> tag in your adv_portal_calendar_header template.
|
|
#3
|
|||
|
|||
|
Thanks Brian - that did it!
|
|
#4
|
|||
|
|||
|
what about a weekly picture, is this still possible? Thanks
Last edited by YSR50; 06-28-2005 at 12:27 PM. |
|
#5
|
|||
|
|||
|
also, is it possible to put the photo between the month and the dates?
TIA |
|
#6
|
||||
|
||||
|
Quote:
__________________
www.WildonDallas.com Your Elite Online Entertainment Source for the Dallas Texas Get a Nightlife! Browse, Contribute, Support Dallas' Nightlife Community Last edited by wildondallas; 07-09-2005 at 09:30 PM. |
|
#7
|
|||
|
|||
|
wildondalis, your site only shows the image and not the calendar,
did you get it fixed or not. I am also using VBA RC1 and VB 3.0.7 If i use the IMG tag it inserts but like you i want it to pull files and thumbnails from a directory in the root of the website. |
|
#8
|
||||
|
||||
|
its not working how i want yet VVIper, and i am patiently waiting for a response.
__________________
www.WildonDallas.com Your Elite Online Entertainment Source for the Dallas Texas Get a Nightlife! Browse, Contribute, Support Dallas' Nightlife Community |
|
#9
|
|||
|
|||
|
does anyone have any idea what needs to be done to create a DALY! calendar pic ? currently I got it down to weekly...
|
|
#10
|
|||
|
|||
|
Quote:
|
|
#11
|
|||
|
|||
|
Quote:
here is my current callendar_smallmonth_header: <tr> <if condition="$show['dontshowweek']"> <td class="tcat" colspan="$colspan" align="$stylevar[left]"><span class="smallfont"><b>$vba_options[portal_blockbullet] <else /> <td class="tcat" colspan="$colspan" align="center"><b> </if><a href="$vboptions[bburl]/calendar.php?$session[sessionurl]month=$month&year=$year&c=$calendarid&do=displaymonth">$monthname $year</a></td> </tr> <tr align="left"> <if condition="!$show['dontshowweek']"><td class="thead"> </td><else /><td class="alt1" colspan="7"> <img src="/calendarimages/week$calweek.jpg"> </td> </tr> <tr> </if> <if condition="$show['day1']"><td class="thead">$day1</td></if> <if condition="$show['day2']"><td class="thead">$day2</td></if> <if condition="$show['day3']"><td class="thead">$day3</td></if> <if condition="$show['day4']"><td class="thead">$day4</td></if> <if condition="$show['day5']"><td class="thead">$day5</td></if> <if condition="$show['day6']"><td class="thead">$day6</td></if> <if condition="$show['day7']"><td class="thead">$day7</td></if> </tr> $calendarrowbits does that not work for CMPS2? |
|
#12
|
|||
|
|||
|
Quote:
Code:
<tr> <if condition="$show['day1']"><td align="center" class="thead">$day1</td></if> <if condition="$show['day2']"><td align="center" class="thead">$day2</td></if> <if condition="$show['day3']"><td align="center" class="thead">$day3</td></if> <if condition="$show['day4']"><td align="center" class="thead">$day4</td></if> <if condition="$show['day5']"><td align="center" class="thead">$day5</td></if> <if condition="$show['day6']"><td align="center" class="thead">$day6</td></if> <if condition="$show['day7']"><td align="center" class="thead">$day7</td></if> </tr> $calendarrowbits Code:
<if condition="!$show['dontshowweek']"><td class="thead"> </td></if> like Brian said above, just add that <img> tag. That works fine for monthly Code:
<img src="/calendarimages/month$month.jpg"> Code:
<img src="/calendarimages/week$calweek.jpg"> Code:
<img src="/calendarimages/month$month_week$calweek.jpg">
|
|
#13
|
|||
|
|||
|
Quote:
|
|
#14
|
|||
|
|||
|
brian ... is there a method to do this daly ?
|
|
#15
|
|||
|
|||
|
how to put the image inside the calendar box ?
|
|
#16
|
|||
|
|||
|
I've go this to work (see here http://www.astra-mk2.com ) although for some reason, the calendar portal is now slightly wider that the others. This may be to do with the thumbnail images sizes. I haven't changed these yet to see if it makes a difference. The other ting it seems to have done is make the gap between the top of the calendar portal to the bottom of the online users portal bigger than the others.
you need to open this template as mentioned before; adv_portal_calendar_header Add this code above: PHP Code:
PHP Code:
__________________
Last edited by Allen Mead; 09-24-2005 at 01:30 PM. |
|
#17
|
|||
|
|||
|
Any help with the positioning of the modules?
__________________
|
|
#18
|
||||
|
||||
|
Quote:
|
|
#19
|
|||
|
|||
|
thanks.. got it working on mine too.. Great idea..
|
|
#20
|
|||
|
|||
|
I would like for it to change daily too.. is there a way to do that and if some one has the script can you post it.. using 3.5 gold and 2.0 cmps
thanks |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calendar babes | NuclioN | Troubleshooting / "How do I..." Questions | 36 | 04-08-2006 07:59 AM |
| Calendar -- ugh | mtrac | Troubleshooting / "How do I..." Questions | 3 | 11-15-2004 10:02 PM |
| No Calendar | poseidon | Troubleshooting / "How do I..." Questions | 5 | 05-19-2004 08:33 PM |