Template limitations?
September 2015 Joomla Template
- GK User
- Mon Dec 21, 2015 11:21 am
Hello, it looks like there are some limitations for this template
- I would like to have 3 columns for a K2 category, but regardless of the settings I use, there is still only 1 column
- I would like to show the intro-text underneath the videos on the frontpage. The module settings are set to show this, but it doesn't seem to work
-
- Gold Boarder
- teitbite
- Wed Dec 23, 2015 12:55 pm
Hi
Columns in K2 were disabled to fit designer's idea, but please tell me the url to an example and I help with code to force it show this way.
For the video I'm not sure what You have in mind. Please tell me the url to it so I'll see.
Columns in K2 were disabled to fit designer's idea, but please tell me the url to an example and I help with code to force it show this way.
For the video I'm not sure what You have in mind. Please tell me the url to it so I'll see.
-
- Moderator
- GK User
- Wed Dec 23, 2015 2:11 pm
Hello, I would like the 3 column layout on http://handelton.hisslink.nl/literatuur.
The thing about the videos is explaned in the attachment; I would like to show a piece of introtext on the frontpage, underneath the video/image.
The thing about the videos is explaned in the attachment; I would like to show a piece of introtext on the frontpage, underneath the video/image.
-
- Gold Boarder
- teitbite
- Sun Dec 27, 2015 5:25 pm
Hi
For columns please use this code:
For video please edit /modules/mod_news_pro_gk5/tmpl/portal_modes/videolist/controller.php and add this line under line 78:
For columns please use this code:
- Code: Select all
.blog-page .item-list .item-list-row {
padding: 0 20px;
width: 33%;
}
For video please edit /modules/mod_news_pro_gk5/tmpl/portal_modes/videolist/controller.php and add this line under line 78:
- Code: Select all
print '<div class="gkText">' htmlspecialchars( substr( strip_tags( $this->parent->content[$i]['text'] ), 0, 100 ) ) . '...</div>';
-
- Moderator
- GK User
- Mon Dec 28, 2015 10:57 am
Hi,
The columns code gives me this result (see attachement).
Adding the code in controller.php results in a syntax error and a blank page, unfortunately.
The columns code gives me this result (see attachement).
Adding the code in controller.php results in a syntax error and a blank page, unfortunately.
-
- Gold Boarder
- teitbite
- Tue Dec 29, 2015 3:26 pm
Hi
Please send me an access to ftp. I need to add it myself to see why it's not working on Your copy.
Please send me an access to ftp. I need to add it myself to see why it's not working on Your copy.
-
- Moderator
- teitbite
- Wed Dec 30, 2015 7:02 pm
Hi
I mush have been working on my copy on this before since my classes has some more code already. Here is a class I used for columns:
Here a code which should be placed at line 79 and not 78 as I said before, sorry my bad.
Nothing is showing now except the finishing ..., but I think You do not have a content there right now.
I mush have been working on my copy on this before since my classes has some more code already. Here is a class I used for columns:
- Code: Select all
.blog-page .item-list .item-list-row {
padding: 0 20px;
float: left;
width: 33%;
}
.blog-page .item-list .item-list-row:nth-child(3n+4) {
clear: both;
}
Here a code which should be placed at line 79 and not 78 as I said before, sorry my bad.
- Code: Select all
echo '<div class="gkText">' . htmlspecialchars( substr( strip_tags( $this->parent->content[$i]['text'] ), 0, 100 ) ) . '...</div>';
Nothing is showing now except the finishing ..., but I think You do not have a content there right now.
-
- Moderator
7 posts
• Page 1 of 1