Quantcast
Channel: Help & support - Grawlix Forum
Viewing all articles
Browse latest Browse all 251

Installing 1.5 Troubleshooting (Snippet.Follow)

$
0
0
Finally had time to try to install this and... uhhhhh... I think I am doing this wrong. The included instructions seem to be for version 1.4, but I replaced the _admin and _system folders as well as updating the index.php file as was written on the Patreon page.

I'm not sure why, but when I added the Patreon icon in the "follow" section it didn't get noticed on my website. So I copy/pasted what was in the new snippet.follow file and now my follow icons are MASSSSSIVE. I edited it so the RSS icon is what it was before I changed the code, which is the right color and size, but the follow icons are a mess.

http://fallen-comic.com/grawlix/

Previously I was using the snippet.follow code from the an earlier version of Grawlix which looked like the file in the assets folder.

<?php
$info = $this->services; // Get info from database via page class
if ( $info ) : ?>
<a class="deviantart" title="Follow me on deviantART" href="http://<?=$info ?>.deviantart.com"><i></i></a>
<?php endif;
if ( $info ) : ?>
<a class="facebook" title="Follow me on Facebook" href="https://www.facebook.com/<?=$info ?>"><i></i></a>
<?php endif;
if ( $info ) : ?>
<a class="googleplus" title="Follow me on Google Plus" href="https://plus.google.com/+<?=$info ?>"><i></i></a>
<?php endif;
if ( $info ) : ?>
<a class="instagram" title="Follow me on Instagram" href="http://instagram.com/<?=$info ?>"><i></i></a>
<?php endif;
if ( $info ) : ?>
<a class="linkedin" title="Follow me on LinkedIn" href="http://www.linkedin.com/in/<?=$info ?>"><i></i></a>
<?php endif;
if ( $info ) : ?>
<a class="pinterest" title="Follow me on Pinterest" href="http://www.pinterest.com/<?=$info ?>/"><i></i></a>
<?php endif;
if ( $info ) : ?>
<a class="tumblr" title="Follow me on Tumblr" href="http://<?=$info ?>.tumblr.com/"><i></i></a>
<?php endif;
if ( $info ) : ?>
<a class="twitter" title="Follow me on Twitter" href="https://twitter.com/<?=$info ?>"><i></i></a>
<?php endif;

That worked fine. What I am using on my website now is this, and it does NOT work:



<a class="rss" title="Follow RSS" href="<?=show('rss')?>"><i></i></a>



<a class="rss" title="Follow RSS" href="<?=show('rss')?>"><i></i></a>


<?php
$info = $this->services; // Get info from database via page class
if ( $info ) : ?>
<a class="social-icon" href="http://www.patreon.com/<?=$info ?>"><img src="<?=show('directory') ?>/themes/fallen/images/icon-patreon.svg" alt="Patreon"></a>
<?php endif;
if ( $info ) : ?>
<a class="social-icon" href="http://<?=$info ?>.deviantart.com"><img src="<?=show('directory') ?>/themes/fallen/images/icon-deviantart.svg" alt="deviantArt"></a>
<?php endif;
if ( $info ) : ?>
<a class="social-icon" href="https://www.facebook.com/<?=$info ?>"><img src="<?=show('directory') ?>/themes/fallen/images/icon-facebook.svg" alt="Facebook"></a>
<?php endif;
if ( $info ) : ?>
<a class="social-icon" href="https://plus.google.com/+<?=$info ?>"><img src="<?=show('directory') ?>/themes/fallen/images/icon-google-plus.svg" alt="Google Plus"></a>
<?php endif;
if ( $info ) : ?>
<a class="social-icon" href="http://instagram.com/<?=$info ?>"><img src="<?=show('directory') ?>/themes/fallen/images/icon-instagram.svg" alt="Instagram"></a>
<?php endif;
if ( $info ) : ?>
<a class="social-icon" href="http://www.linkedin.com/in/<?=$info ?>"><img src="<?=show('directory') ?>/themes/fallen/images/icon-linkedin.svg" alt="LinkedIn"></a>
<?php endif;
if ( $info ) : ?>
<a class="social-icon" href="http://www.pinterest.com/<?=$info ?>/"><img src="<?=show('directory') ?>/themes/fallen/images/icon-pinterest.svg" alt="Pinterest"></a>
<?php endif;
if ( $info ) : ?>
<a class="social-icon" href="http://<?=$info ?>.tumblr.com/"><img src="<?=show('directory') ?>/themes/fallen/images/icon-tumblr.svg" alt="Tumblr"></a>
<?php endif;
if ( $info ) : ?>
<a class="social-icon" href="https://twitter.com/<?=$info ?>"><img src="<?=show('directory') ?>/themes/fallen/images/icon-twitter.svg" alt="Twitter"></a>
<?php endif; ?>




I was super excited about the Patreon follow icon addition but it's not working :(

Viewing all articles
Browse latest Browse all 251

Trending Articles