[campsite-support] print article topic
  • hello

    i created a "topic" filed for rticle types called location

    i need to print this in the article page , am using {{
    $campsite->article->location }} , this print's out the topic id


    how can i print the topic name


    best regards



    --
    Alaa Anabtawi
  • 2 Comments sorted by
  • Hi Alaa,

    You can use $campsite->topic->name

    Best,


    On Mon, Aug 4, 2008 at 3:37 AM, Alaa Anabtawi wrote:
    > hello
    >
    > i created a "topic" filed for rticle types called location
    >
    > i need to print this in the article page , am using {{
    > $campsite->article->location }} , this print's out the topic id
    >
    >
    > how can i print the topic name
    >
    >
    > best regards
    >
    >
    > --
    > Alaa Anabtawi



    --
    /holman
  • this gives no results,

    any more hints?

    thanks


    On 8/4/08, Holman Romero wrote:
    >
    > Hi Alaa,
    >
    > You can use $campsite->topic->name
    >
    > Best,
    >
    >
    > On Mon, Aug 4, 2008 at 3:37 AM, Alaa Anabtawi wrote:
    > > hello
    > >
    > > i created a "topic" filed for rticle types called location
    > >
    > > i need to print this in the article page , am using {{
    > > $campsite->article->location }} , this print's out the topic id
    > >
    > >
    > > how can i print the topic name
    > >
    > >
    > > best regards
    > >
    > >
    > > --
    > > Alaa Anabtawi
    >
    >
    >
    > --
    > /holman
    >



    --
    Alaa Anabtawi