Loading ...

[solved] how to change footer bar in mobile?

Board index / PHP Melody - Video CMS

For PHP Melody version 2 and newer

Postby marcoss on Dec 29, 2015 3 pm


i would like to delete twitter,email,pinterest,whatssup from footer bar in mobile version.
i want to replace with some link.
how can i do that?
marcoss
Verified Customer
Verified Customer
 
Posts: 25
Joined: Jan 06, 2010 7 am
Reputation points: 0

Postby muzikia on Dec 31, 2015 12 pm


Please check in the /mobile folder.
http://www.ModMyScript.com - PHPMelody plugins and mods since 2008
http://www.HostingWays.com - Shared or VPS Hosting
*** PHP Melody user and plugins maker for 9 years and counting.
User avatar
muzikia
Verified Customer
Verified Customer
 
Posts: 4120
Joined: Mar 24, 2008 6 am
Location: ModMyScript.com - PHPMELODY mods
Reputation points: 167

Postby Andrew on Jan 07, 2016 10 am


To remove the floating widgets form the footer, open /mobile/footer.php and remove this code:

Code: Select all
<?php if($page_type == 'video') : ?>
<div id="pm-social-share"></div>
<script type="text/javascript">
$(document).ready(function(){
   $("#pm-social-share").jsSocials({
      showLabel: false,
      showCount: false,
      shares: ["facebook", "twitter", "email",  "pinterest", "whatsapp"]
   });
   $("#footer").addClass('jsSocial-loaded');
});
</script>
<?php endif; ?>


I'm not sure if you need to add a floating link instead or not because it was not clear to me. If you need to add a floating link/banner, you'll have to work with CSS and JS to do so.
PHP Melody v3.0
New Series Module? Publish series and episodes right from PHP Melody's Dashboard -->
https://demo.phpmelody.com/admin/series.php
User avatar
Andrew
Founding Developer
 
Posts: 7504
Joined: Jul 07, 2007 1 pm
Reputation points: 428


Who is online

Users browsing this forum: No registered users and 14 guests