Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • wcw2012 Friend
    #181020

    Does anyone know how to set up a way to display an article’s category, date published, and author BUT without including those prefixes? I know how to change the global settings so that these items don’t appear (or do appear) in general but there seems to be no way to make the labels invisible or remove them…
    Thanks in advance!

    Ninja Lead Moderator
    #468714

    This is the customization on com_content

    Open <blockquote>templates/ja_rave/html/com_content/article/default.php</blockquote>

    and change code on some comments

    Category: COM_CONTENT_CATEGORY
    Date : COM_CONTENT_PUBLISHED_DATE
    Author: COM_CONTENT_WRITTEN_BY

    Remove it

    wcw2012 Friend
    #468788

    OK, thanks — that worked for when the entire article is displayed. What do I do to enable display of these items when just the intro text is shown on the front page?

    wcw2012 Friend
    #468793

    Also, where can I change the format the created date is displayed? I’d like to use: F j, Y (ie, Month Date, Year)

    Ninja Lead Moderator
    #468819

    <em>@wcw2012 340605 wrote:</em><blockquote>OK, thanks — that worked for when the entire article is displayed. What do I do to enable display of these items when just the intro text is shown on the front page?</blockquote>
    Open templates/ja_rave/html/com_content/featured/default_item.php file and change the same above

    <em>@wcw2012 340616 wrote:</em><blockquote>Also, where can I change the format the created date is displayed? I’d like to use: F j, Y (ie, Month Date, Year)</blockquote>

    This is customization work and you can add it into language file

    <blockquote>Open language/en-GB/en-GB.ini file and add</blockquote>

    DATE_FORMAT_CUSTOMIZE="F j, Y"

    Open back both file

    <blockquote>templates/ja_rave/html/com_content/article/default.php
    templates/ja_rave/html/com_content/featured/default_item.php</blockquote>

    Replace

    DATE_FORMAT_LC3
    to

    DATE_FORMAT_CUSTOMIZE

    wcw2012 Friend
    #468892

    OK, I did that and I’m still not getting these items to display when the article is just in intro format. For example see: http://www.worldcantwait.net/jupgrade/index.php/wikileaks/7986-defense-bradley-manning-s-speedy-trial-rights-have-been-trampled-upon

    On the full text version they are there (and date format is customized, thank you!) but they aren’t appearing on front page:
    http://www.worldcantwait.net/jupgrade/index.php?start=5

    Anything else I can try?

    Ninja Lead Moderator
    #468918

    It shows well on the front-end

    pls give me the screenshot if I am wrong!


    1. front-end
    wcw2012 Friend
    #469377

    You are seeing the author’s name because we’ve typed it into the body of the articles.

    When you open up an article you can see the difference: it’s supposed to show the category, date and author, not italicized.


    1. image
    Ninja Lead Moderator
    #469508

    I could not find problem from structure html of com_content.

    Please check article “Defense: Bradley Manning’s Speedy Trial Rights Have Been ‘Trampled Upon’” again, because this article linked to
    <blockquote><p><em>by <a href=”http://dissenter.firedoglake.com/”>Kevin Gosztola</a> </em></p></blockquote>. This link is referred to article.

    wcw2012 Friend
    #470894

    The reason that link is there is because we added it – it’s the original source of the article.

    If there’s nothing wrong with how it’s set up why isn’t it displaying on the front page? I cannot find the answer in the CSS.

    Ninja Lead Moderator
    #470926

    Please send pm me with admin access and ftp account. I will find other solution help you solve it

    wcw2012 Friend
    #471695

    I found out why these items aren’t appearing on the front page for featured articles: the default global settings had them set to be hidden. Even though we were overriding those settings when posting new articles, apparently that doesn’t affect the front page.

    We can’t have the default setting be visible for author though because we have a huge amount of older articles on the site that would start using the admin user as author because we hadn’t previously been using aliases.

    Is there a way to change the default alias for users so that older articles would appear as we want them and not as if “authored by admin” ?

    Ninja Lead Moderator
    #471717

    JA templates have option HIDE and SHOW “Main content”
    <blockquote>Admin area->Extensions->Template Manager->JA_Your_Template->Profile tabs->Hide Main content block</blockquote>
    You can see it.

    wcw2012 Friend
    #472121

    I don’t understand why I would want to hide the main content block? Then the featured articles would not appear on the front page, correct? I don’t want that. I want to change the alias for admins/users.

Viewing 14 posts - 1 through 14 (of 14 total)

This topic contains 14 replies, has 2 voices, and was last updated by  wcw2012 12 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum