-
AuthorPosts
-
Klaus Ondrich Friend
Klaus Ondrich
- Join date:
- April 2015
- Posts:
- 67
- Downloads:
- 13
- Uploads:
- 0
- Thanked:
- 2 times in 1 posts
July 6, 2015 at 12:43 pm #208338Hi,
I configured an Articles Category module for What’s trending in mast-col using home layout according to your Fubix manual. It looks really great. I know that I could display 6 or 8 or even all articles here (the latter may not be reasonable). It just lacks of a way to link to a list of all other (featured) articles.
So my question is: How would I manage to add an “Show all articles” link e.g. below 6 trending topics that would point to a list of all (featured) articles like a menu entry for featured articles like “index.php?option=com_content&view=featured” does?
Thanks!
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 7, 2015 at 2:53 am #576559Hi
By default, this ‘What’s trending’ module show the features layout of this Articles Category module, so if you want to customise, you will need to open the file: root/templates/ja_fubix/html/mod_articles_category/features.php
and add the link you want above the declaration of javascript at the end of this file, it looks like this:
<div class="viewall"> <a href="your_link_here">View all </a></div><script type="text/javascript">
jQuery(document).ready(function($){
$('#ja-ul-lastnews > li').liveeqboxs();
});
</script>
1 user says Thank You to Saguaros for this useful post
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 7, 2015 at 2:53 am #642872Hi
By default, this ‘What’s trending’ module show the features layout of this Articles Category module, so if you want to customise, you will need to open the file: root/templates/ja_fubix/html/mod_articles_category/features.php
and add the link you want above the declaration of javascript at the end of this file, it looks like this:
<div class="viewall"> <a href="your_link_here">View all </a></div><script type="text/javascript">
jQuery(document).ready(function($){
$('#ja-ul-lastnews > li').liveeqboxs();
});
</script>
1 user says Thank You to Saguaros for this useful post
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 7, 2015 at 2:53 am #741529Hi
By default, this ‘What’s trending’ module show the features layout of this Articles Category module, so if you want to customise, you will need to open the file: root/templates/ja_fubix/html/mod_articles_category/features.php
and add the link you want above the declaration of javascript at the end of this file, it looks like this:
<div class="viewall"> <a href="your_link_here">View all </a></div><script type="text/javascript">
jQuery(document).ready(function($){
$('#ja-ul-lastnews > li').liveeqboxs();
});
</script>
1 user says Thank You to Saguaros for this useful post
Klaus Ondrich FriendKlaus Ondrich
- Join date:
- April 2015
- Posts:
- 67
- Downloads:
- 13
- Uploads:
- 0
- Thanked:
- 2 times in 1 posts
July 9, 2015 at 9:44 am #576816Klaus Ondrich FriendKlaus Ondrich
- Join date:
- April 2015
- Posts:
- 67
- Downloads:
- 13
- Uploads:
- 0
- Thanked:
- 2 times in 1 posts
July 9, 2015 at 9:44 am #643129Klaus Ondrich FriendKlaus Ondrich
- Join date:
- April 2015
- Posts:
- 67
- Downloads:
- 13
- Uploads:
- 0
- Thanked:
- 2 times in 1 posts
July 9, 2015 at 9:44 am #741785Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 10, 2015 at 3:58 am #576906You will have to customise this module to have that option.
For that link, if there are more people interested in this feature, the team will add it.
Klaus Ondrich FriendKlaus Ondrich
- Join date:
- April 2015
- Posts:
- 67
- Downloads:
- 13
- Uploads:
- 0
- Thanked:
- 2 times in 1 posts
July 10, 2015 at 4:43 pm #576989Sorry for another question:
Where would I have to change what to make the View All (on our site https://test.ulc-moedling.at: Alle Artikel anzeigen) link look like a module header (you defined <div class=”viewall”>)?
I.e. Background = Module Title Background Color, Text color = Module Title Text Color as defined in ThememagicIdeally the whole block with the text “Alle Artikel anzeigen” would be in module header style.
<update>
I found the solution myself. In /templates/ja_fubix/local/css/themes/myTheme/template.css I added:
div.viewall a {
color: #fff
}
div.viewall a:hover,
div.viewall a:focus,
div.viewall a:active {
color: #111
}
div.viewall {
background: #c33
border-bottom: solid 1px #e5e5e5
color: #fff
font-family: 'novecento_wide_bookbold', Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
line-height: 20px;
margin: 0;
padding: 15px 20px;
text-transform: uppercase;
text-align: center;
}Is there anything I could do better to achieve this?
</update>Cheers
Klaus Ondrich FriendKlaus Ondrich
- Join date:
- April 2015
- Posts:
- 67
- Downloads:
- 13
- Uploads:
- 0
- Thanked:
- 2 times in 1 posts
July 10, 2015 at 4:43 pm #643296Sorry for another question:
Where would I have to change what to make the View All (on our site https://test.ulc-moedling.at: Alle Artikel anzeigen) link look like a module header (you defined <div class=”viewall”>)?
I.e. Background = Module Title Background Color, Text color = Module Title Text Color as defined in ThememagicIdeally the whole block with the text “Alle Artikel anzeigen” would be in module header style.
<update>
I found the solution myself. In /templates/ja_fubix/local/css/themes/myTheme/template.css I added:
div.viewall a {
color: #fff
}
div.viewall a:hover,
div.viewall a:focus,
div.viewall a:active {
color: #111
}
div.viewall {
background: #c33
border-bottom: solid 1px #e5e5e5
color: #fff
font-family: 'novecento_wide_bookbold', Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
line-height: 20px;
margin: 0;
padding: 15px 20px;
text-transform: uppercase;
text-align: center;
}Is there anything I could do better to achieve this?
</update>Cheers
Klaus Ondrich FriendKlaus Ondrich
- Join date:
- April 2015
- Posts:
- 67
- Downloads:
- 13
- Uploads:
- 0
- Thanked:
- 2 times in 1 posts
July 10, 2015 at 4:43 pm #741950Sorry for another question:
Where would I have to change what to make the View All (on our site https://test.ulc-moedling.at: Alle Artikel anzeigen) link look like a module header (you defined <div class=”viewall”>)?
I.e. Background = Module Title Background Color, Text color = Module Title Text Color as defined in ThememagicIdeally the whole block with the text “Alle Artikel anzeigen” would be in module header style.
<update>
I found the solution myself. In /templates/ja_fubix/local/css/themes/myTheme/template.css I added:
div.viewall a {
color: #fff
}
div.viewall a:hover,
div.viewall a:focus,
div.viewall a:active {
color: #111
}
div.viewall {
background: #c33
border-bottom: solid 1px #e5e5e5
color: #fff
font-family: 'novecento_wide_bookbold', Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
line-height: 20px;
margin: 0;
padding: 15px 20px;
text-transform: uppercase;
text-align: center;
}Is there anything I could do better to achieve this?
</update>Cheers
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 13, 2015 at 1:28 am #577114You don’t need to add the div there and remember to add semicolon after the color code. For example:
.viewall {
background: #c33;
color: #fff;
/*.....*/
}
Klaus Ondrich FriendKlaus Ondrich
- Join date:
- April 2015
- Posts:
- 67
- Downloads:
- 13
- Uploads:
- 0
- Thanked:
- 2 times in 1 posts
July 13, 2015 at 5:41 am #577140Thank you for the advice concerning div. Semi-colons where already present in my code and in my documentation. They were cut-off by the forum system in the
tag, because the color codes were transformed to URLs – cutting off the semi-colons.
Current code is:
.viewall a {
color: #fff;
}
.viewall a:hover,
.viewall a:focus,
.viewall a:active {
color: #111;
}
.viewall {
background: #c33;
border-bottom: solid 1px #e5e5e5;
color: #fff;
font-family: 'novecento_wide_bookbold', Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
line-height: 20px;
margin: 0;
padding: 15px 20px;
text-transform: uppercase;
text-align: center;
}Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 14, 2015 at 3:08 am #577263You can use inspect element and see that above style is not applied on your site. Kindly check again.
Klaus Ondrich FriendKlaus Ondrich
- Join date:
- April 2015
- Posts:
- 67
- Downloads:
- 13
- Uploads:
- 0
- Thanked:
- 2 times in 1 posts
July 14, 2015 at 8:52 am #577325Because you checked our test site rather than the production site. I did not mention that I did those changes just on production site https://www.ulc-moedling.at.
-
AuthorPosts
This topic contains 16 replies, has 2 voices, and was last updated by Klaus Ondrich 9 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum