Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The creation date is not visible in the standard representation category blog #213

Open
astronmy opened this issue Nov 7, 2014 · 2 comments
Assignees
Labels

Comments

@astronmy
Copy link

astronmy commented Nov 7, 2014

Good afternoon. I needed help with the representation of items in category blog. after the upgrade to version 1.4 on the representation does not show me the date. I was watching the blog_item.php file located in templates / meet_gavern / html / com_content / category / problem is in line 22 where the following code is executed

$ aside_visible = ($ params-> get ('show_modify_date')) or ($ params-> get ('show_publish_date')) or ($ params-> get ('show_hits')) or ($ params-> get (' show_category ')) or ($ params-> get (' show_create_date ')) or ($ params-> get (' show_parent_category ')) or ($ params-> get (' show_author ')) or $ params-> get ('show_publish_date') or ($ params-> get ('show_print_icon') || $ params-> get ('show_email_icon') || $ canEdit);

to run the template put the following:

$ aside_visible = true;

This way I could see the date. But would need to know what would be the right solution. Thank you for your time. I await your response.

P/D: My english sucks! sorry

@dziudek dziudek added this to the Meet Gavern v.1.5 milestone Nov 7, 2014
@dziudek dziudek added the bug label Nov 7, 2014
@dziudek dziudek self-assigned this Nov 7, 2014
@Ruud68
Copy link
Contributor

Ruud68 commented Nov 13, 2014

Hi @RenzV3 could you try the following
replace in templates/meet_gavern/html/com_content/category/blog_item.php

$aside_visible = ($params->get('show_modify_date')) or ($params->get('show_publish_date')) or ($params->get('show_hits')) or ($params->get('show_category')) or ($params->get('show_create_date')) or ($params->get('show_parent_category')) or ($params->get('show_author')) or $params->get('show_publish_date') or ($params->get('show_print_icon') || $params->get('show_email_icon') || $canEdit);

with

$aside_visible = $params->get('show_modify_date') || 
         $params->get('show_publish_date') ||
         $params->get('show_hits') ||
         $params->get('show_category') ||
         $params->get('show_create_date') ||
         $params->get('show_parent_category') ||
         $params->get('show_author') || 
         $params->get('show_publish_date') || 
         ($canEdit || $params->get('show_print_icon') || $params->get('show_email_icon'));

had the same issue on the 'featured' page and this was the fix.

@Ruud68
Copy link
Contributor

Ruud68 commented Nov 20, 2014

Hi, created a pull request with this fix in it: fixes both the category and the featured layouts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants