How to remove a facebook link?

Permalink
First just want to say I know nothing about building a website! The web developer relinquished all of his duties, refuses to help with teaching/training new administrators of the website on how to maintain and update!! So now I have to try and figure everything out with your help! There is a face book link on my site that needs to be removed when I go into edit mode it will not highlight the particular link for me to remove it? How can I remove it, or can it not be removed??

Thanks

 
adajad replied on at Permalink Reply
adajad
That link is probably hard coded in your theme files.

On your web server you will find the files used in your theme in either 'root/themes/theme_name' or 'root/packages/theme_name/'.

You will then have to find and remove the link in the source code. If the link is shown on every page it is probably placed in a header file or a footer file (which might reside in an elements folder).

This is a great how-to on theme development which might help you understand the code you will find (as well as the folder structure): http://www.concrete5.org/documentation/how-tos/designers/making-a-t...

May I also suggest you read up on the 5.5 Editors Guide: http://www.concrete5.org/documentation/using-concrete5/...
marissa replied on at Permalink Reply
Ok not sure if I found the right file or not but I did find a file that was icons and in there was the icon of the face book link! If I would delete that particular icon would that remove the icon off of my footer?? Or do I have to find it somewhere else in a different file?

Thanks
adajad replied on at Permalink Reply
adajad
Deleting the icon file would only remove the icon, but there would still be a link and a 'broken image' on your page.

Now that you have found the icon it is easy for you to find the code linking to it. Look for something like the following in your footer code (perhaps even in a file called footer.php which may reside in a folder called 'elements'):
<a href="link to facebook"><img src="<php echo $this->getThemePath(); ?>/icons/facebook_icon.png" width="20px" height="20px" alt="facebook" /></a>


You can find it with the search function in your editor by searching for the icon name. Make sure you remove the whole anchor tag (everything from the starting <a to the ending /a>)

If you want any help with this, you can send me a pm and I can take a look.
marissa replied on at Permalink Reply
I have looked and the only file so far that I have found the the footer.php won't let me view it because it is sql file??
adajad replied on at Permalink Reply
adajad
It shouldn't be a sql file at all.

Could you supply a file and folder structure like the one below leading down to your theme files? Note that the theme files might also be in the packages folder.

root
  themes
    Your_Theme
      css
        something.css
        something_else.css
      elements
        header.php
        footer.php
      icons
        facebook_icon.png
        twitter_icon.png
      images
        some_image.jpg
        another_image.png


Make sure you view all lines above (click 'View entire code block' above).
marissa replied on at Permalink Reply
ok I found it but when I try to view it, it opens up in dreamweaver and says I may view but not change?? I am not even sure what I am suppose to be viewing? I did see several php little pictures that came up in the dreamweaver??

So now what??

Thanks again for your help and again I am sorry for not understanding most of this but again I am learning thank you for your willingness to help me in this situation!
adajad replied on at Permalink Reply
adajad
I would never use Dreamweaver, as it tends to spit out extra code. What you should do is download the file to your desktop and edit in a simple text editor. Save the file and upload it again.

Clear your site cache (search for it in Intelligent Search) and your browser cache to see the result.

Again, I am willing to help you with this -for free.
marissa replied on at Permalink Reply
it will not let me open it only in dreamweaver I am not sure how to save it to my desktop it does not give me that option? It ask for other applications to open but not desk top??
adajad replied on at Permalink Reply
adajad
Please let me help you out with this. I will comment the files I edit and also supply a walkthrough of what I have done so you can backtrack and understand the changes.

I really feel sorry for you being screwed by your developer and I would hate to see you get all tangled up. I can do this on my free time but in order to do so I will need some sensitive information. If you want my help, then send me a pm so we can make this happen.

Please note though, that I will soon go to bed and might not be able to answer you until tomorrow (in like 11 hours).
marissa replied on at Permalink Reply
ok I sent you a message I think?

Do I find the files in my file manager through my server or do I find it through my concrete5 editing of the website??