K2 - be the first to comment

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Fri Nov 02, 2012 4:38 pm
Reply with quote
Report this post
I am having trouble removing the text:

Code: Select all
be the first to comment


From a CATEGORY LISTING page.

It is gone on the individual articles.

http://wces.vivohost.net/firetrucksplus/aerials.html
User avatar
Fresh Boarder

teitbite
Sat Nov 03, 2012 3:01 pm
Reply with quote
Report this post
Hi

I do not see this link on a mentioned page. Have You found this option in K2 category settings already, or should I log into to see this link ? If it's the second case than please send me an access.
User avatar
Moderator

GK User
Wed Nov 07, 2012 4:37 pm
Reply with quote
Report this post
Yeap. I meant to close this thread. I found another spot where it was ignoring the global configuration.
User avatar
Fresh Boarder

teitbite
Thu Nov 08, 2012 10:54 am
Reply with quote
Report this post
Hi

Please just tell me where exactly You have changed it so other users may benefit from this answer.
User avatar
Moderator

GK User
Sun Mar 30, 2014 1:01 am
Reply with quote
Report this post
Hi,
its in the category edit form under Item view options in category listings -> HIDE on Anchor link (with comments counter) to item's comment form (at the bottom).

But now there is another problem. I cant get only Created date to be visible. Unless I publish another setting (eg. hits or date edited) the Created date is hiding.

Thanks,
Gorast
User avatar
Platinum Boarder

teitbite
Sun Mar 30, 2014 6:50 pm
Reply with quote
Report this post
Hi

Please edit /html/com_k2/templates/default/item.php and looks for a code likr this:

Code: Select all
            <?php if(
            $params->get('itemFontResizer') ||
            $params->get('itemAuthor') ||
            $params->get('itemPrintButton') ||
            $params->get('itemEmailButton') ||
            $params->get('itemSocialButton') ||
            $params->get('itemVideoAnchor') ||
            $params->get('itemImageGalleryAnchor') ||
            $params->get('itemTitle') ||
            $params->get('itemHits') ||
            $params->get('itemCategory')


and add one more condition

Code: Select all
|| $this->item->params->get('itemDateCreated')
User avatar
Moderator

GK User
Sun Mar 30, 2014 9:29 pm
Reply with quote
Report this post
Hi,
I did the last step and still no luck. Its not showing up. Please investigate more.

Thanks,
Gorast
User avatar
Platinum Boarder

teitbite
Mon Mar 31, 2014 7:42 pm
Reply with quote
Report this post
Hi

I need an url to page with example and ftp access. If I have one already, just tell me url to site, so it will be easier to find access for me.
User avatar
Moderator

teitbite
Tue Apr 01, 2014 8:25 pm
Reply with quote
Report this post
Hi

My solution works, but You have a css code hidding it in override.css

Code: Select all
.headerK2Artikal {
    display: block;
}


remoave it and date will be visible after applying the extra line I've mentioned.
User avatar
Moderator

GK User
Mon Apr 07, 2014 12:41 am
Reply with quote
Report this post
Hi teitbite,
you were right. Now I got that in the item. Now my question is how can I get that in CategoryItem listing.

url: http://gorast.com/HOSTmaster/luxintegra-mk/kolumni

I tried to add it to category_item.php at the end of line 38 but not working.

Thanks,
Gorast
User avatar
Platinum Boarder

teitbite
Mon Apr 07, 2014 9:30 pm
Reply with quote
Report this post
Hi

I have added this part to category_item.php and date is visible now:

Code: Select all
 || $this->item->params->get('catItemDateCreated')
User avatar
Moderator

GK User
Mon Apr 07, 2014 9:49 pm
Reply with quote
Report this post
Excellant :D

Thanks,
Gorast
User avatar
Platinum Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.