Moving Facebook and Twitter icons to the header

Permalink
So I am new to Concrete5. In fact the first I heard of it was yesterday. I have been tasked with moving the social media icons from a block to the top right hand corner...

like this
http://www.slipstreamsports.com/...

I did some searching about editing the header and I even think I found someone that wrote some js to remove the words Facebook and Twitter but before I go editing stuff and screwing things up I thought I would ask.....

Thanks for your help in advance....I will keep searching as well.

 
globalnerds replied on at Permalink Reply
globalnerds
You would need to edit the header.php and put code in similar to this

<span class="facebook"><a href="http://www.facebook.com/globalnerds" title="<?php echo t('Facebook')?>"><?php echo t('Like us on Facebook      ')?></a></span>


if you want it above the header image and the nav you could put it after the following code

<?php  Loader::element('header_required'); ?>


You might have to play with the placement of the span code to see if you like where it is placed.
biffstephens replied on at Permalink Reply
Where would I go to find header.php? I have looked around for a header file but can not seem to find one? Thanks for your help...I am pretty sure I get what you are doing....thanks again!
globalnerds replied on at Permalink Reply
globalnerds
What theme are you using?

It should be in

/themes/mythemename/elements

If your theme is in:

/concrete/themes/mythemename

You should move it to /themes

The reason is that if you upgrade the /concrete/themes directory will get overwritten and you will lose your changes the /themes directory does not.
biffstephens replied on at Permalink Reply
We are using the Plain Yogurt theme. I don't even know where to go to get to those directories? I didn't actually set this up but am not taking it over? Do I use FTP for this? I feel like I am close to understanding all of this I am just missing a few pieces. I do appreciate your help in this.

I just can't seem to see where in the Dashboard I access those directories.
globalnerds replied on at Permalink Reply
globalnerds
Yes, you can use FTP to look for these files. How do you normally edit PHP, CSS, etc? Do you use dreamweaver?

If you use dreamweaver you could edit the file that way. If not, you can ftp the file to your own computer, edit it and put it back. If you are going to do it that way and you are not that familiar with PHP, make a copy of the file first.

Can you give me the URL of the website and I will take a look to see where they put the theme.
biffstephens replied on at Permalink Reply
I have not used Dreamweaver for years but still have an old copy...I am just sort of getting back in to this.

http://beta.dna com-racing

Above is the site. I will find my copy of Dreamweaver and load it up....I assume I can find FTP access through the dashboard....I will search help to find the address...it might be ftp://beta.dna-racing.com/ wouldn't that be nice!
globalnerds replied on at Permalink Reply
globalnerds
The site you gave me isn't correct:

http://beta.dna com-racing
biffstephens replied on at Permalink Reply
http://beta.dna-racing.com

sorry about that!
globalnerds replied on at Permalink Reply
globalnerds
It is difficult to tell where the theme is located, but my best guess would be in:

/concrete/themes/default (default is the plain yogurt theme)

I would copy this entire directory (default) to

/themes

If you don't want to do that yet, the header.php should be in

/concrete/themes/default/elements/header.php

It looks like most of the site needs to be edited and reworked. If you are not that familiar with PHP and CSS this can be a bit of a large undertaking.

Have you considered contracting this out to get the major portions of the site don?
biffstephens replied on at Permalink Reply
At this point I haven't really looked at anything..what are we looking at cost wise? I also have another client that would be interested in a site as well....I am just seeing what concrete can do...I might be able to sell the second client as well....cost is always a factor...