Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Change 'MORE NEWS' link in YT megamenu item
(1 viewing) (1) Guest
Report bugs, Userguide, New Ideas..
  • Page:
  • 1
  • 2

TOPIC: Change 'MORE NEWS' link in YT megamenu item

Re: Change 'MORE NEWS' link in YT megamenu item 11 years, 5 months ago #5802

  • yugamkhosla
  • OFFLINE
  • Single Product
  • Senior Boarder
  • Posts: 56
  • Karma: 1
Can u plz explain with one example taking ''travel Tips' into consideration. Plz explain where to change in module - 'mod_article_latest' so that the title contains link to the linked sub category page

Re: Change 'MORE NEWS' link in YT megamenu item 11 years, 5 months ago #5807

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear Yugam Khosla,

Example: mod_article_latest

Please do the following steps:

+ hide the title of module in the module settings

+ go to "templates\sj_news25\html\mod_articles_latest\default.php", finding:

defined('_JEXEC') or die;
$app =& JFactory::getApplication();

include_once (JPATH_THEMES . DS . $app->getTemplate() . DS . 'includes'. DS .'image.class.php');
	
?>


=>

defined('_JEXEC') or die;
$app =& JFactory::getApplication();

include_once (JPATH_THEMES . DS . $app->getTemplate() . DS . 'includes'. DS .'image.class.php');
	
?>

<div class="mega-category-title">
	<a href="<?php echo $list[0]->catlink;?>" target="_self"><?php echo $list[0]->category_title;?></a>
</div>


+ add the following code lines to the end of template.css in "templates\sj_news25\css":

ul.navi div.mega-module .mega-category-title a {
    background: url("../images/bg_border_li.png") repeat-x scroll left bottom transparent;
    color: #000000;
    font-size: 14px;
    font-weight: normal;
    height: 30px;
    line-height: 30px;
    margin: 0;
    padding: 0 0 5px;
    text-transform: uppercase;
	font-family: Oswald,serif
}


Thanks
Ticket System | Join our Clubs to download our extensions and templates

Re: Change 'MORE NEWS' link in YT megamenu item 11 years, 5 months ago #5818

  • yugamkhosla
  • OFFLINE
  • Single Product
  • Senior Boarder
  • Posts: 56
  • Karma: 1
Thanks for replying !!

Did what u told. Now category title contains link to category but there is no option in module settimg to hide the previous category title. So now there are two titles one without hyperlink (old one) and one with hyperlink (new one).

Pl help on how to remove the previously present title - i.e 'Travel Tips' in this case.

Re: Change 'MORE NEWS' link in YT megamenu item 11 years, 5 months ago #5819

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear Yugam Khosla,

You can set the Show Title parameter as Hide in the module settings (see the attached image).

Thanks
Attachments:
Ticket System | Join our Clubs to download our extensions and templates
The following user(s) said Thank You: yugamkhosla

Re: Change 'MORE NEWS' link in YT megamenu item 11 years, 5 months ago #5826

  • yugamkhosla
  • OFFLINE
  • Single Product
  • Senior Boarder
  • Posts: 56
  • Karma: 1
That worked.. Thanx.

Really impressed with the response I got for all my queries in this forum.

Amazing support. Thanx. Smartaddon rocks !!
  • Page:
  • 1
  • 2
Time to create page: 0.23 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes