Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Date format problem on my site
  • Posted: 01.12.2003, 08:55
     
    loom001
    rank:
    Freshman Freshman
    registered:
     June 2002
    Status:
    offline
    last visit:
    01.01.04
    Posts:
    33
    Can anyone tell me how to get the date to show up on my site where the date is supose to be all that I see is the words info[briefdatetime]. You can see what I am talking about by going to http://www.thegeekxp.com and the first item in the center just look in the bottom bar right next to the posted by.[

    --
    Loom001
  • Posted: 07.12.2003, 07:57
     
    nate_02631
    rank:
    Professional Professional
    registered:
     September 2003
    Status:
    offline
    last visit:
    11.04.08
    Posts:
    3055
    Yep, you're missing the dollar sign... If your theme is coded as HTML where is should be, use

    Code

    <?= $info[briefdatetime]; ?>

    Or, if it is "echoed" HTML, use:

    Code

    $info[briefdatetime];
    or

    Code

    echo $info[briefdatetime];

    See the link in my sig for more theme tips...

    --
    Get PhotoGallery, PayPalCart, Dynamenu, Enhanced Blocks & other mods

    Cape Cod Travel Info...

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula