Page 1 of 1

CGBlog - Show 'Extra' field in item list?

Posted: Sun Jan 06, 2013 1:12 pm
by beherenow_uk
Hi, I'm trying to list the 'Extra' field in the admin panel of CGBlog. I have added a title, but {$entry->extra} doesn't seem to work when I edit articlelist.tpl

See my screen shot of what I'm trying to achieve:
Image

And this is how I have edited articlelist.tpl so far:
Image

CMSMS 1.9.4.3
CGBlog 1.7.6

Any help to get this working would be a lifesaver!
Thanks.

Re: CGBlog - Show 'Extra' field in item list?

Posted: Sun Jan 06, 2013 1:21 pm
by Jos
You might want to add

Code: Select all

<pre>{$entry|print_r}</pre>
to the end of your template to check which fields are available in the $entry object

Re: CGBlog - Show 'Extra' field in item list?

Posted: Sun Jan 06, 2013 1:28 pm
by beherenow_uk
Hi Jos,

Thanks for the reply!

Sorry I should have said, I already tried

Code: Select all

<pre>{$entry|print_r}</pre>
and

Code: Select all

<pre>{get_template_vars}</pre>

which unfortunately doesn't show the 'extra' field var.

Is there another way this can be done?
Thanks.

Re: CGBlog - Show 'Extra' field in item list?

Posted: Mon Jan 07, 2013 10:37 pm
by Rolf