vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   custom fields in calendar display (https://vborg.vbsupport.ru/showthread.php?t=120231)

scri 07-03-2006 01:38 PM

custom fields in calendar display
 
1 Attachment(s)
I'm trying to display custom fields in calendar events on the weekly view. Has anyone managed to do this yet? Essentially what i want is the text in the custom field displayed when viewing the event displayed on the week listing.

I've attached two images, the view of custom fields in the event view and the event in the week view.

I have two custom fields: Type of Event and Location which show corresponding info (first attachment). I want that information to show on the weekly view infront of the event title. That would lead to seeing 'Glasgow Gig Uncle Fritz in Glasgow' instead of what is there in the second attachment.

I've tried modifying the calendar_weekly_event template by inserting $customoption before the $eventtitle but that shows nothing.

Any help on this would be great. Ultimate i'd like to search the calendar by custom fields.

scri 07-03-2006 01:54 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=75304&highlight=search+calendar" target="_blank">I'm guessing that this thread will do it?</a>. Although that is for monthly view, i'm sure that the same code can be applied to the weekly view right?

kj_ugs 07-03-2006 04:52 PM

that only works for monthly view. A help on making it work for weekly views would be awsome please.


All times are GMT. The time now is 03:53 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01002 seconds
  • Memory Usage 1,706KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete