-
AuthorPosts
-
saswiss Friend
saswiss
- Join date:
- August 2013
- Posts:
- 144
- Downloads:
- 149
- Uploads:
- 43
- Thanks:
- 7
- Thanked:
- 2 times in 2 posts
September 23, 2013 at 7:49 pm #190852Hi,
I don’t want the categories showing on articles/events. How can I hide these?Also, I don’t want the ‘Share on’ appearing on some articles. How can I hide this?
See screenshot.
Thanks!!!
MoonSailor FriendMoonSailor
- Join date:
- November 2011
- Posts:
- 1106
- Downloads:
- 0
- Uploads:
- 245
- Thanks:
- 89
- Thanked:
- 248 times in 223 posts
September 24, 2013 at 7:51 am #506850Hi,
<blockquote>
I don’t want the categories showing on articles/events. How can I hide these?
</blockquote>You can go to administrator -> templates manager -> JA Muzic template -> tab “Templates Config”, you can set param “Event” as “None”
<blockquote>Also, I don’t want the ‘Share on’ appearing on some articles. How can I hide this?
</blockquote>Open file “templates/ja_muzic/html/com_content/article/default-artist.php” and remove code:
<button class="btn btn-source btn-share" data-toggle="modal" href="#myModal"><?php echo JText::_('TPL_SHARE_ON'); ?></button>
<div class="modal hide fade" id="myModal">
<div class="modal-header">
<a class="close" data-dismiss="modal">×</a>
<h3><?php echo JText::_('TPL_SHARE_ON'); ?></h3>
</div>
<div class="modal-body">
<?php echo $this->item->event->beforeDisplayContent; ?>
</div>
Regards
-
1 user says Thank You to MoonSailor for this useful post
saswiss Friendsaswiss
- Join date:
- August 2013
- Posts:
- 144
- Downloads:
- 149
- Uploads:
- 43
- Thanks:
- 7
- Thanked:
- 2 times in 2 posts
September 25, 2013 at 12:42 pm #507041<em>@MoonSailor 390883 wrote:</em><blockquote>Hi,
You can go to administrator -> templates manager -> JA Muzic template -> tab “Templates Config”, you can set param “Event” as “None”
Thanks, this worked…a bit difficult to actually know where to find this – nothing in the UserGuide :((
Open file “templates/ja_muzic/html/com_content/article/default-artist.php” and remove code:
<button class="btn btn-source btn-share" data-toggle="modal" href="#myModal"><?php echo JText::_('TPL_SHARE_ON'); ?></button>
<div class="modal hide fade" id="myModal">
<div class="modal-header">
<a class="close" data-dismiss="modal">×</a>
<h3><?php echo JText::_('TPL_SHARE_ON'); ?></h3>
</div>
<div class="modal-body">
<?php echo $this->item->event->beforeDisplayContent; ?>
</div>
Regards</blockquote>
This doesn’t quite work. It does remove the Share-on button, BUT it then throws the other modules in this position out – the modules now appear BELOW the article text, not in the inline position…or am I doing something wrong???
MoonSailor FriendMoonSailor
- Join date:
- November 2011
- Posts:
- 1106
- Downloads:
- 0
- Uploads:
- 245
- Thanks:
- 89
- Thanked:
- 248 times in 223 posts
September 26, 2013 at 6:38 am #507118You can send me a PM with admin and FTP account of your site, I will check further for you.
AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 4 replies, has 2 voices, and was last updated by MoonSailor 11 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum