The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I asked this over at vBulletin community with no response. Hoping someone here might have the answer:
+++++++++ I'm in the right place in the template but can't get the right syntax to insert the custom fields of the calendar into the event link for the weekly view. I've tried (where X is the verified field id): $post[fieldx] $post[customfieldx] $post[calendarcustomfieldx] $post[customcalendarfieldx] Also, this code: Code:
<if condition="$show['customfields']"> $customfields </if> ?? Thx. Gary |
#2
|
|||
|
|||
![]()
I need this exact mod as well. Did you ever get a solution for this Gary? Or does anyone know how to do this?
|
#3
|
|||
|
|||
![]()
Did you get any further with this ?
|
#4
|
||||
|
||||
![]()
Hopefully I am not hijacking this thread, but I am in a very similar situation... I am looking to access my event custom fields individually so I can use them in conditionals in the calendar_showeventsbit template, but can't figure out the syntax needed to access them. I am starting to wonder if this can even be done (easily). Any ideas anyone?
I figured $eventinfo[field1] would do the trick, but not. |
#5
|
|||
|
|||
![]()
MarcoH64 Kindly provided a fix for me and I am posting this for anyone else who requires it
Edit 'includes/functions_calendar.php'. Find: PHP Code:
PHP Code:
Find (or any other place): Code:
<a href="calendar.php?$session[sessionurl]do=getinfo&e=$event[eventid]&day=$year-$month-$day&c=$calendarid" title="$event[preview]">$event[title]</a> Code:
<!-- Start Hack custom field on calendar month view (MarcoH64) --> <br />$customfield[1] - <if condition="$customfield['2'] == 'OFF'"><font color="red"><else /><font color="green"></if> $customfield[2] </font color></if> <!-- EndHack custom field on calendar month view (MarcoH64) --> Many thanks to MarcoH64 |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|