Facebook icon

Permalink Browser Info Environment
I have had no luck finding a editing feature on the dashboard or any other menu to edit the Facebook and Twitter links in order to link to a specific page? At the same time, I also like to delete the Twitter from the page. Any help is appreciated, my skills are limited.
Thanks

Type: Discussion
Status: New
scraphorse
View Replies:
bryanlewis replied on at Permalink Reply
bryanlewis
No Problem. Do you have FTP access to your website?
scraphorse replied on at Permalink Reply
scraphorse
I have not accessed or edited the site using FTP. Is that normally done through the host site (Bluehost)?
bryanlewis replied on at Permalink Reply
bryanlewis
Yes, you will need FTP login information from bluehost as you will need to edit a very small php file. You can try using this add-on and see if it works but it is no longer supported.

http://www.concrete5.org/marketplace/addons/theme-editor/...

After you are able to edit the .php files you will need to go to the social.php file that is located in the elements folder... here is the path: theme_darkwall->themes->darkwall->elements->social.php

Once you get there you can just delete this part of the code to get rid of twitter...

<!--change twitter.com to your twitter url-->
      <a class="social" target="_blank" href="http://www.twitter.com/">
         t
      </a>


IF you want to change the url for facebook you will need to find the following code
<!--change facebook.com to your facebook url-->
      <a class="social" target="_blank" href="http://www.facebook.com/">
         f
      </a>

and change http://www.facebook.com to your official facebook URL. :)

Thats it!
scraphorse replied on at Permalink Reply
scraphorse
Thanks Brianlewis,

I changed the code using the add-on and the web page did not respond so I found the file using the Bluehost FTP to check to see if I could make the edit that way and had no better luck. Is there a setting or other restriction built into the theme that is keeping this edit from working?




[code]
<?php
defined('C5_EXECUTE') or die(_("Access Denied."));
<div id="social">



<!--change facebook.com to your facebook url-->
<a class="social" target="_blank" href="http://www.facebook.com/ThePoorNobodys">
f
</a>

</div><!--/#social -->
[code]
bryanlewis replied on at Permalink Reply
bryanlewis
Weird, no not at all. Do you have a link? You can FTP the information for me and I can try. The only other thought that I have is to clear your cache that may be the issue.

Try clearing your cache if not send me the FTP info.
scraphorse replied on at Permalink Reply
scraphorse
thanks, clearing the cache did the trick.
bryanlewis replied on at Permalink Reply
bryanlewis
That's great news! Thanks for the feedback!

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.