Forum Open Notice
Forum Open Notice
  1. Forum
  2. Profile for

Winston

Offline @fittyCent
Posts
6
Rank
New Member
Register Date
03 Aug 2017

Posts

Thanks William and Krikor. The sample code from bnr is very useful. And i see how template override could be much easier. I'll try both methods soon. Thanks again for you guys' help!

English K2 Community Winston, 9 years 3 months ago 10 replies

So I tried custom modules and I can't access $this->item. The site seizes when I use that in the module's php code. Tried using $item and just like when I added code into k2 content itself, count($item->extra_fields) is 0... Any ideas...

English K2 Community Winston, 9 years 3 months ago 10 replies

I haven't tried templating but that's the last resort. Is there any way to put code of any language in the main content area of k2 to access extra fields?

English K2 Community Winston, 9 years 3 months ago 10 replies

I copied the code, replaced with . And obviously I put in the alias of my extra field as well into the code. The execution does not go into the if-statement. One clue might be from my original post: yields a 0. I tried accessing...

English K2 Community Winston, 9 years 3 months ago 10 replies

I'm trying to put the extra fields the content area of my k2 page. I use sourcerer to put php code the page. So far I've tried the following and they all fail to do anything: This doesn't do anything because it never goes into the...

English K2 Community Winston, 9 years 3 months ago 10 replies

More