When someone opens an item, it shows the item with the comments folded out but when I use the latest comment on the frontpage it only shows a link. How can I change this? The code in the latest_item.php But I can't simply replace it...
OK found some more to get it working: In the component models, item.php only loads the extrafields if the view is item (around line 176) I have added: and that did the trick.
OK decided to get back on this because I really need to get this working. I need to be able to display the latest item exactly as it is shown in 'plain' item view. That means with all extra fields I use there. Since they don't seem to...
I use this in my template override (item.php) <!-- Item title --> <h2 class="itemTitle"> <?php if(isset($this->item->extraFields->Ondertitel)): ?> <!-- Item edit link --> <span class="itemEditLink"> <a class="modal"...
Hi, I managed to get my normal listing working but not yet the listing in the latest items. If I have time and find a solution I will post it here. Bastiaan
OK got it working with some workarounds: Needed to have more than one category to be able to choose a subtemplate Used the extrafield alias in category-items and did some CSS to get it look better. Thanks for the suggestions! (and agree...
I have found that you can call an extra field by alias, not sure this also works in a module: $this->item->extraFields->EXTRAFIELDALIASHERE->value I am not good enough in PHP to understand where and how I could use this to generate the a listing.
yes Happy New Year! Thanks for helping out, appreciated! Good idea to use a content module with override and subtemplate for experiments. Issues: I need to display only 1 specific extrafield , not all. On the site I use this code:...
Not sure if it is of any use but here you go: marleensboekvandeweek.nl We have book reviews and use the extra fields for a lot of additional fields, like subtitle , but alos the block below has been redone with custom fileds...
Looking for a way to create a listing of one extra fields that links to the full item. We use for example extra field ID 10 for a special title and just want to show this list of titles. I have found many listing modules but none of them...
More