Hi Folks,I am currently trying to work my way around my first website implementation using K2, (although we have done many with J1.5 standalone).In this instance I am looking to have featured articles showing on the homepage, in the article space usually reserved for the com_content featured homepage articles - in otherwords akin to the default Joomla behaviour.However in the in the first article I want to show 80 words or so, followed by a readmore link. The next four featured articles I then want to show as clickable links.I am looking for all of these links to open on their own page, with an associate menu item based on their category so I can set relevant modules for display based on the associated menu item.I am nearly there but not quite :)This is what I have done so far:I have set-up a hierarchy of categories, something like this (very simplified):HomeLive - Articles - - topic1 - topic2Demo - Articles -
- topic1
- topic2I have then created a K2 category menu item (home) linking to the home category, and set it as default within the menu. Under the properties of the home category I have set it as to only show Featured articles, 1 leading, 0 primary, 0 secondary, and 4 titles, order by most recent.I then have items created, in differing categories (all children of live/articles), some of which have the attribute 'Set Featured' turned on.My menu structure is more akin to this however:Hometopic1 - Sub1 Articles - articlesub1 - specificlinktoanotherk2item Sub2 topic 2 - Sub1 ArticlesWhen I look at the homepage, this seems to work at a basic level.I can see the featured article, and the titles.However I have the following issues!How can I set the featured articles, to only show the first X words (i.e. 80) and then present a read more link ?(I have tried 'itemview options in category listings', Introtext Show and Introtext Word Limit - I see no change on the frontend)How can I control the active menu (and therefore the associated modules and positions that display) when the title or readmore link is used ? The purpose here is to open the article in the correct topics articles submenu (see menu!) so I can have topic specific modules loaded when the article opens in a new page (i.e. not the home page).(In vanilla Joomla I would be using itemid/articleid in my links)I also have a couple of other basics that may prove related!I am currently using the default K2 template - is there anything documenting the MVC architecture so I can start looking at overrides ? (I am familiar with mvc from magento customisations, not really used it in a Joomla context for template overrides)I have also just set-up another testbed website with J1.5.20 and the latest K2, I will be creating an approximation of my above post with the default templates and can share admin details if anybody would care to take a closer look!test.idlegold.co.ukMany thanks in advance for any assistance! Martin
- topic1
- topic2I have then created a K2 category menu item (home) linking to the home category, and set it as default within the menu. Under the properties of the home category I have set it as to only show Featured articles, 1 leading, 0 primary, 0 secondary, and 4 titles, order by most recent.I then have items created, in differing categories (all children of live/articles), some of which have the attribute 'Set Featured' turned on.My menu structure is more akin to this however:Hometopic1 - Sub1 Articles - articlesub1 - specificlinktoanotherk2item Sub2 topic 2 - Sub1 ArticlesWhen I look at the homepage, this seems to work at a basic level.I can see the featured article, and the titles.However I have the following issues!How can I set the featured articles, to only show the first X words (i.e. 80) and then present a read more link ?(I have tried 'itemview options in category listings', Introtext Show and Introtext Word Limit - I see no change on the frontend)How can I control the active menu (and therefore the associated modules and positions that display) when the title or readmore link is used ? The purpose here is to open the article in the correct topics articles submenu (see menu!) so I can have topic specific modules loaded when the article opens in a new page (i.e. not the home page).(In vanilla Joomla I would be using itemid/articleid in my links)I also have a couple of other basics that may prove related!I am currently using the default K2 template - is there anything documenting the MVC architecture so I can start looking at overrides ? (I am familiar with mvc from magento customisations, not really used it in a Joomla context for template overrides)I have also just set-up another testbed website with J1.5.20 and the latest K2, I will be creating an approximation of my above post with the default templates and can share admin details if anybody would care to take a closer look!test.idlegold.co.ukMany thanks in advance for any assistance! Martin