Log in | Register | Lost password

Bottom
No $core in xxx-list-header.html ?
  • Posted: 09.06.2006, 12:03
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hi all

    Not an overwhelming amount of feedback in my previous thread, but I'll try again, this time with a more straight-forward question:

    I want to have

    in my xxx-list-header.html but don't seem to have access to the $core array - is this really true? Why/how can that be, if so? It would be very convenient to be able to get those values of the $core that are actually available for all items in a list (like topic as given in the URL).

    Regards, Jonas Delfs
  • Posted: 09.06.2006, 13:56
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    $core belongs to a specific publication since it contains title, publication ID and other items. So it cannot be part of the header.
  • Posted: 09.06.2006, 14:29
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hi J?rn

    Thanks for your reply!
    I understand, I just thought it would make sense to be able to access topic and other values when they're set for a whole list, as in my case where I group by topics, and therefore wants that topic name as headline.
    Anyway, I found a solution in using xxx-list-single.html and then using $publications[0].core.topic.text for headline.

    Thanks for writing this great module - its flexibility is amazing!

    Cheers, Jonas

Template courtesy of Designs By Darren.