CGBlog - Show 'Extra' field in item list?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
beherenow_uk
Forum Members
Forum Members
Posts: 103
Joined: Fri Nov 28, 2008 11:26 am

CGBlog - Show 'Extra' field in item list?

Post 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.
Jos
Support Guru
Support Guru
Posts: 4017
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

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

Post 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
beherenow_uk
Forum Members
Forum Members
Posts: 103
Joined: Fri Nov 28, 2008 11:26 am

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

Post 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.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

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

Post by Rolf »

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “Modules/Add-Ons”