News Show Pro GK5 > Options > Advance Options > Header Tag

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
Tue Oct 01, 2013 7:49 pm
Reply with quote
Report this post
Hi you all,

I'm having problems setting in the module manager the header tag

Module Manager --> News Show Pro GK5 --> Options(Tab) --> Advance Options(Accordion Item) --> Header Tag: h3

I select H1 but it appears the H4 tag in the rendering page.

So I change it in the modules\mod_news_pro_gk5\tmpl\com_k2\view.php in this line return '<h1 itemprop="name" class="entry-title nspHeader'.$class.'"><a rel="bookmark" href="'.$link.'" title="'.htmlspecialchars($item['title']).'">'.$output.'</a></h1>'; and it works.

I want to know if I can set this in the module manager because the solution I found may breaks something else in the site because we use this module in many places. Or maybe this is THE solutions for tagguing all the headers with H1.

Thanks!
User avatar
Senior Boarder

teitbite
Wed Oct 02, 2013 3:26 pm
Reply with quote
Report this post
Hi

If this is the only part of the code which was modified than it looks safe. The only problem You may have will be with SEO options since only one H1 element is allowed per page.
User avatar
Moderator

GK User
Wed Oct 02, 2013 11:16 pm
Reply with quote
Report this post
Thanks! It isn't the only thing I changed but I ask it here https://www.gavick.com/forums/news-joom ... 29417.html
User avatar
Senior Boarder

teitbite
Sat Oct 05, 2013 3:34 pm
Reply with quote
Report this post
Hi

Ok. Looks like there is a lot of changes to the code already :) Maybe it will be better to separate this in template /html folder to not loose it during updates ?
User avatar
Moderator


cron