vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Forum Home Calendar displayed on CMS Home (https://vborg.vbsupport.ru/showthread.php?t=286950)

otterag 08-22-2012 05:38 PM

Forum Home Calendar displayed on CMS Home
 
I would like to display my Forum Events calendar in a widget on the CMS pages of my vb4.2 website.

I could really use some help with this problem, i have searched these forums and come up with nothing that works the way i want it to work.

I went through the source and found in the FORUMHOME template the code i think i need.

Code:

{vb:raw template_hook.forumhome_wgo_pos6}
                        <vb:if condition="$show['upcomingevents']">
                        <div id="wgo_events" class="wgo_subblock section">
                                <h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/event.png" alt="{vb:rawphrase todays_events}" /><vb:if condition="$show['todaysevents']">{vb:rawphrase todays_events}<vb:else />{vb:rawphrase upcoming_events_for_the_next_x_days, {vb:raw vboptions.showevents}}</vb:if></h3>
                                <ol>
                                        {vb:raw upcomingevents}
                                </ol>
                        </div>
                        </vb:if>

I tried to make a widget in the following fashions: Static HTML (pasted the code and it just showed code) PHP Direct Execution (showed nothing) and CMS Published Calendar (showed a grid calendar, but not the Forum Home Calendar that i want to show).

I would really like to know where to put this code or how i have to modify it to have it show in a list style like this screen shot from my actual forum home page.
http://armadagames.com/forums/images...e_calendar.jpg

otterag 08-24-2012 04:36 PM

Is there no one that knows how to do this or can help me?

mattltm 03-01-2014 06:08 AM

Did you manage to work this out.

I'm trying to do it on my CMS too.

tbworld 03-01-2014 09:16 AM

This may not do what you are looking for, but you might gain a few coding ideas by this thread, at least I did a while back.

https://vborg.vbsupport.ru/showthrea...=231365&page=4

I hope it helps. :)

mattltm 03-01-2014 09:20 AM

Thanks. I'll lake a look.


All times are GMT. The time now is 12:36 AM.

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.01016 seconds
  • Memory Usage 1,717KB
  • 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)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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