Calendar Meta Tags

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bigsoccer tech
    Senior Member
    • Apr 2000
    • 573
    • 3.6.x

    Calendar Meta Tags

    I am trying to put the calendar event detail into the meta tags. I created an if conditional that detects the current script as calendar.php and then did this

    <if condition="$inCalendar">
    <meta name="keywords" content="$vboptions[keywords]" />
    <meta name="description" content="$eventinfo[event] $pagetitle $vboptions[description]" />


    $eventinfo[event] is always blank. Is this because the calendar template can access it but headinclude cannot?
    The BIG Network: Soccer - Aussie Rules - Cricket - Travel - Lacrosse - Music
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Originally posted by bigsoccer tech
    $eventinfo[event] is always blank. Is this because the calendar template can access it but headinclude cannot?
    Correct. Custom code is required to make that information available in the headinclude template. If you have some coding ability then you can post on www.vbulletin.org for help with this.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...