Background imgs dug

News Show Pro GK5 - flexible, responsive and easily extendable free Joomla module support forum.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sun Dec 27, 2015 9:45 pm
Hello!
I use NSP in TechNews header II mode on http://www.karkas.info/en/
As you can see there is problem with images of new posts.
Site is multilangual. Default language is RU, second is EN.
Folder is the same for both version - /images...
I can't understand is this NSP bug or Joomla one?
See please att. files.
imgs dug.png

visible img.png

invisible img.png
User avatar
Senior Boarder

GK User
Sun Dec 27, 2015 9:47 pm
and so strange console...
console.jpg
User avatar
Senior Boarder

teitbite
Mon Dec 28, 2015 12:14 pm
Hi

Please start with updating NSP module to the latest version, than check if base_url is set correctly in joomla configuration and if this will not help please send me an access to FTP.
User avatar
Moderator

teitbite
Wed Dec 30, 2015 6:15 pm
Hi

I got Your access, but I'm afraid I cannot use it. Permissions for my users are not enough to make any changes to files. Can You please rise them for me?
User avatar
Moderator

teitbite
Wed Dec 30, 2015 6:25 pm
Hi

I think I can see what the problem can be, so maybe FTP will not be necessary after all. Please edit file: /modules/mod_news_pro_gk5/tmpl/portal_modes/technews_header2/controller.php and replace line 56 which looks like this:

Code: Select all
echo '   <div class="gkImageArea" style="background-image: url(\''.strip_tags($this->get_image($i)).'\');"></div>';


with:

Code: Select all
echo '   <div class="gkImageArea" style="background-image: url(\'/'.strip_tags($this->get_image($i)).'\');"></div>';
User avatar
Moderator

GK User
Wed Dec 30, 2015 8:36 pm
Yes! It works! Thank you very much!
User avatar
Senior Boarder

teitbite
Fri Jan 01, 2016 4:25 pm
Hi

Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator


cron