Editing hardcoded theme

Permalink
Hey guys, I have been trying to find answer to this but no luck. Maybe I am using the wrong terminology.

A website designer built us a site, which on the whole is great. One problem is that we missed out a "Contact Us" page on the bottom of the website, an oversight on both of our behalf's. I am now trying to edit the footer (which currently has privacy policy/t & cs) to also include a contact us page. This footer is hardcoded, but whenever I try to go to the theme and edit it, it states that there are no editable elements here. Any idea on how I could do this? Thanks.

 
andrewjaff replied on at Permalink Reply
andrewjaff
Hi,

You have to write in file if it is hard coded.

Go to themes folder via ftp of cpanel .
Here will be you file:

themes/active_theme/elements/footer.php


if you theme in package

package/package_name/themes/active_theme/elements/footer.php


Thanks
Andrew
sfbrh replied on at Permalink Reply
Thanks for your quick reply. Is ftp just the address bar? Sorry I am completely new to this. And if I go to that address then it says there is no page found (and yes I have substituted what I think is the theme name for the branch 'theme_name' in your instructions).
Thanks!
andrewjaff replied on at Permalink Reply
andrewjaff
can you show us your url ?
sfbrh replied on at Permalink Reply
Courtesy of a poster below I think I realised the problem was that I am using the CMS dashboard and not the web hosting one. I will go try and follow that lead up and then hopefully I can manage the rest. Thanks for your help.
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi sfbrh,

If the content in the footer is hardcoded, you will need to edit the PHP files directly to change or add to it.

Did your designer create a theme for you from scratch or was it based on a marketplace theme?
sfbrh replied on at Permalink Reply
I think it seems to be a theme from scratch. Thanks.
studio108 replied on at Permalink Reply
studio108
Without seeing the site and how it has been installed it is a bit hard to see what you actually need to change but...

Basically, you will need to edit the 'footer.php' file which will require a bit of simple coding.

If your site is built in Concrete5.6 you will find it in your themes 'elements' folder.
themes > your_theme > elements > footer.php

If your site is built in Concrete5.7 then it is located...
application > themes > your_theme > elements > footer.php

This is just a basic guide. Hope it helps.
sfbrh replied on at Permalink Reply
Thanks for your reply. I cannot find any 'elements' directory or location. When I inspect the theme in the cms it only has view.php or default.php. If I type in the line following the root address that people have suggested it doesn't get to anything.
sfbrh replied on at Permalink Reply
And how do I find those folders? Do I need an addon to do so or is there basically functionality to expand/unpack the custom theme so I can get to that location?
studio108 replied on at Permalink Reply
studio108
You won't find it through the CMS dashboard I am afraid.

You have to access the root folder on your web hosting account where concrete5 has been installed. Usually by using FTP access or by logging into your web hosting account via a web browser. (CPanel or a web dashboard).
sfbrh replied on at Permalink Reply
Aha, I think this is where my problem may be. I will need to go find out how to access that.