-
AuthorPosts
-
November 1, 2013 at 8:58 am #191899
Hello all,
I have noticed something which I’m not sure if it is a bug or not but looks weird.
When you are on the homepage and click on the sidebar menu Travel (in categories) you can see around 25 articles populating from the Travel category and its subcategories. (http://joomla-templates.joomlart.com/ja_wall/en/93-travel.html)
When you click Pages though (just Pages, don’t click on the submenu items) and then you click on the sidebar menu Travel, you only see 5 articles.
I noticed the url also, it keeps the ‘pages’ inside while you are on the travel page.
joomla-templates.joomlart.com/ja_wall/en/pages/93-demo-contents/travel.html compared to this when on homepage joomla-templates.joomlart.com/ja_wall/en/93-travel.htmlIs there any explanation for this and/or a way to tackle the problem?
Many thanksUPDATE:
Apologies I have posted in wrong forum. I wanted to go to JA Wall section. Please erase it, not sure how.November 1, 2013 at 6:19 pm #510938Hello all,
I have noticed something which I’m not sure if it is a bug or not but looks weird.
When you are on the homepage and click on the sidebar menu Travel (in categories) you can see around 25 articles populating from the Travel category and its subcategories. (http://joomla-templates.joomlart.com/ja_wall/en/93-travel.html)
When you click Pages though (just Pages, don’t click on the submenu items) and then you click on the sidebar menu Travel, you only see 5 articles.
I noticed the url also, it keeps the ‘pages’ inside while you are on the travel page.
joomla-templates.joomlart.com/ja_wall/en/pages/93-demo-contents/travel.html compared to this when on homepage joomla-templates.joomlart.com/ja_wall/en/93-travel.htmlIs there any explanation for this and/or a way to tackle the problem?
Many thanksphong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
November 2, 2013 at 11:27 am #511004Hi ometaxas,
Thank you for your feedback. This issue is happening on the JA Wall demo when the template is loading the blog or featured layouts settings of a Joomla Content Manager, instead of Category Blog menu item settings.
The solution in this case is assigning that categories (Travel, Hi-tech, Art …) to menu items (Category Blog type) and configure the backend settings. By that way, the template will display the same layout of category on every pages.
But, just lets me ask our template developers about this strange issue on J3.x version so that we will have more detailed explanation in this case.
1 user says Thank You to phong nam for this useful post
November 9, 2013 at 7:09 pm #511717Hi Leo,
Thanks for the message. I think I have figured it out how to do it. You are right. It did work the way you described it.
Thank God!Now I’m stuck on another bit. It’s like the next step for me.
On the new menu items created as Category Blog type and position Sidebar, I went to Advanced Options tab and entered a page class on Page Display Options. That page class won’t show on the page.
Is it because it is a Category Blog?
stuck.com! 🙂
Thanks LeoNote: i will mark this thread as solved as the initial problem I had is solved now. Feel free anyone that knows about the page class.
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
November 11, 2013 at 4:21 am #511781Hi ometaxas,
<blockquote>I went to Advanced Options tab and entered a page class on Page Display Options.That page class won’t show on the page. Is it because it is a Category Blog?</blockquote>
The page class text will not visible on menu item page, but you can see it via Development Tools (Chrome tools or Firebug).
i.e I add “homepage” to Page Class suffix option, it will appear like in my snapshot below, however make sure that you cleared System Cache each time after updating any backend settings.
November 19, 2013 at 9:58 am #512700Hi Leo,
Thanks for your reply.
I have tried so many times to follow the steps but no glory 🙁When I add page class to my top menu items the class name goes to a div inside id=’content’. See image attached and the line highlighted. The ‘abouts’ class is the one I entered myself. It is not visible in body though :/
And when I add a page class to the sidebar menu items which are Category Blogs type, the page class is not appearing anywhere.
I have the latest version of the template and joomla 3.1.
Is it possible to let me know which files are responsible for this page class to appear in body? Maybe I can have a close look. Or maybe it is something else?Many thanks as always
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
November 20, 2013 at 9:02 am #512824Hi ometaxas,
Im sorry for the incorrect anwser on Page Class of JA Wall template previously. The JA Wall developer has confirmed me that he didn’t define the bodyClass() function to display the Page Class suffix on this template. That is why you couldn’t find it on the element view of Chrome developer tool.
Don’t worry, you can display the Page Class suffix by following these steps:
– Backup the templates/ja_wall/index.php file.
– Open this index.php file and add below codes at 29th line inside the pho block (<?php ?>):
$app = JFactory::getApplication();
$menu = $app->getMenu()->getActive();
$pageclass = '';if (is_object($menu))
$pageclass = $menu->params->get('pageclass_sfx');– Also in this file, replace line:
<body id="bd" class="<?php echo WallHelper::getBodyClass(); ?>">
to
<body id="bd" class="<?php echo WallHelper::getBodyClass(); ?><?php echo $pageclass ? htmlspecialchars($pageclass) : 'default'; ?>">
Clear System Cache after editing.
1 user says Thank You to phong nam for this useful post
November 20, 2013 at 10:45 am #512837Leo,
I just have to say this: “Perfect!!!”
A big thank you to you and the developer.
You made me very happy. :):DNovember 21, 2013 at 9:31 am #512966<em>@Leo Burnetts 398664 wrote:</em><blockquote>Hi ometaxas,
Im sorry for the incorrect anwser on Page Class of JA Wall template previously. The JA Wall developer has confirmed me that he didn’t define the bodyClass() function to display the Page Class suffix on this template. That is why you couldn’t find it on the element view of Chrome developer tool.
Don’t worry, you can display the Page Class suffix by following these steps:
– Backup the templates/ja_wall/index.php file.
– Open this index.php file and add below codes at 29th line inside the pho block (<?php ?>):
$app = JFactory::getApplication();
$menu = $app->getMenu()->getActive();
$pageclass = '';if (is_object($menu))
$pageclass = $menu->params->get('pageclass_sfx');– Also in this file, replace line:
<body id="bd" class="<?php echo WallHelper::getBodyClass(); ?>">
to
<body id="bd" class="<?php echo WallHelper::getBodyClass(); ?><?php echo $pageclass ? htmlspecialchars($pageclass) : 'default'; ?>">
Clear System Cache after editing.</blockquote>
just a minor change as I noticed the ‘default’ class didn’t have space between the previous class.
<body id="bd" class="<?php echo WallHelper::getBodyClass(); ?><?php echo $pageclass ? htmlspecialchars($pageclass) : ' default'; ?>">
thanks again 🙂
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
November 21, 2013 at 10:40 am #512987You can leave a space before that default class in the codes we suggested you above.
AuthorPostsViewing 10 posts - 1 through 10 (of 10 total)This topic contains 10 replies, has 2 voices, and was last updated by phong nam 11 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum