Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • thkellmann Friend
    #201892

    Hello everybody,

    i have some static article sites, as example “Term of use” and “Privacy” etc. In the footer i create direct Links to the Articles.

    With the Template Manager i create new Layouts, similar one Layout have no “navhelper” , “Masshead” and so on …

    Under “Edit Article” -> “Option” -> Alternative Layouts i can choose different Styles but not i have created.

    How can the layout be assigned to the article or a specific category?
    Maybe i use a to complicated implementation and someone knows a better way!?

    I use Joomla for the first time and always notice how the avoidable simplest steps ends in an infinite search.


    1. alternative-layout
    Ninja Lead Moderator
    #552212

    Alternative Layouts for Articles:

    Locate the default layout in components/com_content/views/article/tmpl/default.php
    Copy this to your template’s html folder: templates/ja_medicare/html/com_content/article (create these folders if they don’t already exist)
    Change the file name. We’ll call it myarticle.php

    Alternative Layouts for Category:

    Locate the default layout in components/com_content/views/category/tmpl/blog.php
    Copy this to your template’s html folder: templates/ja_medicare/html/com_content/category/ (create these folders if they don’t already exist)

    Change the file name. We’ll call it myblog.php

    thkellmann Friend
    #552256

    Many thanks for your tips Ninja but I have unfortunately chosen the wrong approach.

    Special page types can not solved my Problem.

    My Problem is: How i can disable Article Category output in the Navhelper?

    I describe my problem in the graphic. I think it´s the simplest way.


    1. disclaimer
    Ninja Lead Moderator
    #552344

    If you wish to show that, you have to customize from mod_breadcrumbs module.

    I made the change and attach it below, you can use it with these steps:

    + Create templates/ja_medicare/html/mod_breadcrumbs folder

    + Download and extract my attached file

    + Copy default.php file into templates/ja_medicare/html/mod_breadcrumbs folder


    1. default.zip
    thkellmann Friend
    #552400

    Hello Ninja,

    thanks for your extension code, it works fine. But it works for the total Website.

    The standard breadcrumbs i think very good.
    Only for static Article (=Articel not be reachable via main navigation, for example Term of use” and “Privacy) i want to disable.

    I found a example in the medicare demo.
    There is an article in the footer “Make An Appointment”, the item is assigned to the category “Pages”.
    The Breadcrumb hide for “this one article” the category.

    I looked in the configurations from the Quick Install Package. I just do not understand how it works.

    I know the problem is with me, let´s make me >:(


    1. disclaimer2
    Ninja Lead Moderator
    #552462

    Because Make An Appointment menu item loads directly the article from Menu Item Type: Single Article, you can see the config from back-end site.


    1. Make_An_Appointment
    thkellmann Friend
    #552518

    The solution is so simple that I could not imagine it.

    The footer can be set via two methods.

    The first method is via the module “Footer” and position “Footer”

    the second about the module “Custom HTML” and position “footer”.

    The first method is managed via the “de-DE.mod_footer.ini” file, the breadcrumb lists the category of the article with.

    The second method is easier to manage and does not list displayed by the item in the breadcrumb the “category”.

    Addiction of which method you like better.

    Thanks Ninja, you save my happiness Weekend.


    1. footer_de-DE.mod_footer
    2. footer_custom-html
    3. footer_de-DE.mod_footer_2
    4. footer_custom-html_2
Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 2 voices, and was last updated by  thkellmann 10 years, 1 month ago.

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