Tagged: xLayout - Magazine
-
AuthorPosts
-
March 15, 2016 at 8:34 pm #900100
Hello
I’m trying to work with Purity III – Magazine Layout.
I have a problem regarding the "xLayout – Magazine":
At the frontpage "http://online-flugauskunft.info/test3_0/index.php" I see only featured articles from the main category and subcategory level 1 and 2. But I have several more featured articles.
How could I present all featured articles?
Thanks Alex
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 16, 2016 at 4:51 am #900247Hi Alex,
Because I could not see the configuration on your site but you can see the configuration of xLayout – Magazine from my attached files and change
# Articles
: Number of category articles to show more featured articles on your site.Regards
-
March 16, 2016 at 7:36 am #900276
Hi Ninja Lead
Please find attached the configuration.
On the main site only articles form the main category and subcategory level 1 and 2 will present
http://online-flugauskunft.info/test3_0/Categories
News / Nachrichten (main)- Kreuz- und Fährfahrten (1st level)
— AIDA Cruises (2nd level)
If you have a look to http://online-flugauskunft.info/test3_0/index.php/news/kreuz-und-faehrfahrten
Categories
News / Nachrichten- Kreuz- und Fährfahrten (main)
— AIDA Cruises (1st level)
— AIDAprima (2nd level)
The webpage shows also all featured articles from AIDAprima too.
I have no idea, why?
Greetings Alex
- Ninja Lead Moderator
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 16, 2016 at 8:14 am #900295Kindly try to check Nachrichten menu and make sure Article Info positions option with the setting is as my screenshot
March 16, 2016 at 8:36 am #900321I guess, that my settings are OK. The category few is OK. Only the featured articles have the trouble…
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 17, 2016 at 1:42 am #900834If possible, you can give me the URL and admin login backend of your site via your reply and set as private reply. I will help you to debug this bug directly on your site.
March 17, 2016 at 6:47 am #900894This reply has been marked as private.March 17, 2016 at 7:56 am #900907Did you recieve the LogIn information?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 17, 2016 at 9:52 am #901146Try to use this way
Open templates/purity_iii/html/com_content/category/magazine.php file
find and change
$featured_items = JATemplateHelper::getArticles($params, $parentid, $featured_count, 'only');
to
$featured_items = JATemplateHelper::getArticles($params, $parentid, $featured_count, 'show');
Hope it helps
March 18, 2016 at 7:37 am #901658Thanks for the code.
The frontpage shows all articles (but only the main category and still subcategory 1 and 2), now.
So the articles from subcategory 3 and more are still missing 🙁
Any other idea?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 18, 2016 at 10:09 am #901732I checked from this templates/purity_iii/html/com_content/category/magazine.php file and see it’s loading with all subcategories, see the screenshot
March 18, 2016 at 12:38 pm #901795I have the same code! But the result is still the same 🙁
See:
<?php /*——————————————————————————
- @package Purity III Template – JoomlArt
- @version 1.0 Feb 1, 2014
- @author JoomlArt http://www.joomlart.com
- @copyright Copyright (c) 2004 – 2014 JoomlArt.com
- @license GNU General Public License version 2 or later; —————————————————————————— /
defined(‘_JEXEC’) or die;
require_once T3_TEMPLATE_PATH . ‘/helper.php’;
// get featured items $app = JFactory::getApplication(); $params = $this->params; $parentid = $app->input->getInt(‘id’);
$featured_count = $params->get(‘featured_leading’, 1) + $params->get(‘featured_intro’, 3) + $params->get(‘featured_links’, 5); $featured_items = JATemplateHelper::getArticles($params, $parentid, $featured_count, ‘show’);
// get child categories $categories = JATemplateHelper::getCategories($parentid);
// get list articles for each sub cat $list_items = array(); foreach ($categories as $cat) { $list_items[$cat->id] = JATemplateHelper::getArticles($params, $cat->id, $params->get(‘highlight_count’, 4)); } ?>
<?php $this->items = $featured_items; echo $this->loadTemplate(‘featured’); ?>
<?php $this->list = $list_items; $this->categories = $categories; echo $this->loadTemplate(‘list’); ?>
March 18, 2016 at 3:35 pm #901840I have tested the Purity III Magazine Layout with a total different page.
There is the same result: Featured articles will only show for the main category and subcategory level 1 and 2! 🙁
March 19, 2016 at 1:23 pm #902118Today I tried the new Joomla 3.5 version and Purity III Magazine Layout.
The same result. Featured articles display only content from the main category and sublevel 1 and 2. 🙁
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 21, 2016 at 10:59 am #902829Maybe you can’t create many sublevel of category and try to work maximum with main category and sublevel 1 and 2. Besides that, I will raise the problem to development team and they will check and fix it next version.
AuthorPostsThis topic contains 18 replies, has 2 voices, and was last updated by Ninja Lead 7 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum
- Kreuz- und Fährfahrten (1st level)