-
AuthorPosts
-
thkellmann Friend
thkellmann
- Join date:
- March 2014
- Posts:
- 75
- Downloads:
- 38
- Uploads:
- 32
- Thanks:
- 66
- Thanked:
- 3 times in 1 posts
October 7, 2014 at 2:59 pm #201892Hello 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.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 8, 2014 at 4:00 am #552212Alternative 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.phpAlternative 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 Friendthkellmann
- Join date:
- March 2014
- Posts:
- 75
- Downloads:
- 38
- Uploads:
- 32
- Thanks:
- 66
- Thanked:
- 3 times in 1 posts
October 8, 2014 at 10:28 am #552256Many 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.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 9, 2014 at 3:17 am #552344If 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 user says Thank You to Ninja Lead for this useful post
thkellmann Friendthkellmann
- Join date:
- March 2014
- Posts:
- 75
- Downloads:
- 38
- Uploads:
- 32
- Thanks:
- 66
- Thanked:
- 3 times in 1 posts
October 9, 2014 at 1:43 pm #552400Hello 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 >:(
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
October 10, 2014 at 3:09 am #552462Because 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 user says Thank You to Ninja Lead for this useful post
thkellmann Friendthkellmann
- Join date:
- March 2014
- Posts:
- 75
- Downloads:
- 38
- Uploads:
- 32
- Thanks:
- 66
- Thanked:
- 3 times in 1 posts
October 10, 2014 at 11:50 am #552518The 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.
- AuthorPostsViewing 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
Jump to forum
Manage Static Articel
Viewing 7 posts - 1 through 7 (of 7 total)