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
User avatar
beherenow_uk
Forum Members
Forum Members
Posts: 103
Joined: Fri Nov 28, 2008 11:26 am
Location: London, UK

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: 4016
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
User avatar
beherenow_uk
Forum Members
Forum Members
Posts: 103
Joined: Fri Nov 28, 2008 11:26 am
Location: London, UK

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
Dev Team Member
Dev Team Member
Posts: 7776
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

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

Post by Rolf »

Image
- + - + - + - + - + -
Latest CMSMS tutorial: FormBuilder WatchGuard
- + - + - + - + - + -
Did my post help you solving a problem at your (customers) website and it saved you many hours of work?
Great!! Buy me a cup of coffee in return as a small token of appreciation!
Post Reply

Return to “Modules/Add-Ons”