Cant get NSP GK5 to show the Title in frontend.

Professional Joomla social template with metro design and JomSocial extension support.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Oct 09, 2013 11:53 am
Reply with quote
Report this post
Hello
Can someone tell me what class is hidden? I cant get the title to show up.

Here is the url: http://gorast.com/HOSTmaster/stepbystep-org-mk/
The one with the problem is the left in the GRID5 - the colorful boxes.

Thanks,
S@
User avatar
Platinum Boarder

teitbite
Fri Oct 11, 2013 2:09 am
Reply with quote
Report this post
Hi

Please send me an access to joomla panel. I think it's just not configured to show the title in links view.
User avatar
Moderator

teitbite
Sun Oct 13, 2013 11:56 pm
Reply with quote
Report this post
Hi

I need some additional explanation. I've logged to Your site and checked the titles of articles and this it exactly what I can see displayed by module. Do You mean that title is cut ? In header settings You can set the number of characters to display, please try 999 if You want to show them all.
User avatar
Moderator

GK User
Mon Oct 14, 2013 12:15 am
Reply with quote
Report this post
Hi,
I want the title of the actual MODULE to be shown.
It is hidden by the G5 GRID framework.
The titles of the articles show fine, the title of the MODULE is what I need.

+ Autoanimation dont work.

Thanks,
S@
User avatar
Platinum Boarder

teitbite
Mon Oct 14, 2013 12:56 am
Reply with quote
Report this post
Hi

I've enabled autoanimation in module settings and now it works.

About module title, sorry for misunderstanding. Unfortunately grid module is using it's own layout for modules which doesn't support titles. I would advice to add second module with a text posing as a module title or using a script which will add it. Something like:

Code: Select all
   <script type="text/javascript">
   (function($) {
   $(document).ready(function() {
            $('.gkGrid-grid1_4-2').prepend('<h3>TITLE OF A MODULE</h3>');
   });
   })(jQuery)
   </script>


You can try adding this script to /layout/blocks/head.php
User avatar
Moderator

GK User
Tue Oct 22, 2013 12:47 am
Reply with quote
Report this post
Hey teitbite,
the script code worked like charm! :D

You guys are precised and fast as usual! Thanks!

Best regards,
S@
User avatar
Platinum Boarder

GK User
Thu May 08, 2014 10:50 pm
Reply with quote
Report this post
Hi,
blast from the past :D

I got this working but now client wants multi language. Can you mod this script so it changes the title if the suffix is /en or /mk?

Thanks,
Gorast
User avatar
Platinum Boarder

teitbite
Sat May 10, 2014 6:58 pm
Reply with quote
Report this post
Hi

Try something like:

Code: Select all
   <script type="text/javascript">
   (function($) {
   $(document).ready(function() {
            $('html[lang="en-gb"] .gkGrid-grid1_4-2').prepend('<h3>TITLE OF A MODULE</h3>');
            $('html[lang="de-de"] .gkGrid-grid1_4-2').prepend('<h3>TITLE OF A MODULE IN DIFFERENT LANG</h3>');
   });
   })(jQuery)
   </script>


the [lang="de-de"] will determine which language version title will be used with.
User avatar
Moderator

GK User
Sat May 10, 2014 10:19 pm
Reply with quote
Report this post
You are the best! Works like a charm :D

Thanks,
Gorast
User avatar
Platinum Boarder

teitbite
Tue May 13, 2014 8:33 pm
Reply with quote
Report this post
Hi

Hehe. Life is so much easier since I learned jQuery :) Glad I could help.
User avatar
Moderator

GK User
Thu Jul 10, 2014 9:30 am
Reply with quote
Report this post
Hi teitbite,
my hosting provider did some migration and stuff, and now the code you provide is kinda screwed :D

I see only ???????? ? ???????? instead of НОВОСТИ И НАСТАНИ.

I thought its the UTF-8 problem but the head.php is already utf-8. When I change the latters in Latin everything is ok.

Where should I look for the problem?

Thanks,
Gorast
User avatar
Platinum Boarder

teitbite
Sat Jul 12, 2014 8:57 pm
Reply with quote
Report this post
Hi

File may be encoded as utf, but string alone may be latin. Such issues happen from time to time when file was edited with different editors. It's hard to figure out which part should be encoded to what and it may not be related with only this one file. If it's ok like You have it now and not causing any other issues, than just leave it :)
User avatar
Moderator


cron