Main page (index.php) footer differs from all other footers on the site?!?!
Permalink
I changed the footer.php in the default theme folder. Now, I was having quite a time to get anything to change. Changing the file didn't change the footer. However, I searched the forum, and found the clue to copy the default theme folder from domain/concrete/themes to the domain/themes folder.
Before I did that I was changing the footer wherever I could find to change it. Well, after I copied to the other folder, something "clicked" and changed the footer. However, the index.php footer differs from all the other footers on the site. During my editing, at some point I changed the text I wanted in the footer. Index.php shows the one I changed it to first, and all the other pages reflect the updated text. So, I'm guessing somewhere in my editing, I edited the page for the index.php page. Where would that be? I cannot find where that is anywhere.
I have the same problem on another site as well. Now, it had the same footer all the way through the site. I changed the domain/themes/default/elements/footer.php and it makes the change on all the pages except the main page (index.php).
Can anyone help me?
Thanks in advance.
Before I did that I was changing the footer wherever I could find to change it. Well, after I copied to the other folder, something "clicked" and changed the footer. However, the index.php footer differs from all the other footers on the site. During my editing, at some point I changed the text I wanted in the footer. Index.php shows the one I changed it to first, and all the other pages reflect the updated text. So, I'm guessing somewhere in my editing, I edited the page for the index.php page. Where would that be? I cannot find where that is anywhere.
I have the same problem on another site as well. Now, it had the same footer all the way through the site. I changed the domain/themes/default/elements/footer.php and it makes the change on all the pages except the main page (index.php).
Can anyone help me?
Thanks in advance.
Thanks Andy,
Right after I posted this, and I was so tired from being up all night (and spending about 2-3 of the previous hours on this matter), for whatever reason. I went to the domain/concrete/themes/default/elements/footer.php file, and THERE was that OLD text that was showing up on the MAIN (index.php). I changed that and it changed the MAIN page. I thought, hmmmmmm. So, I went to the other site that I do and that also had the same issue. I looked at the same thing there, and sure enough, the same scenario. I edited that text, and saved it. The MAIN (index.php) page lined up with the rest of the site.
So, I got my solution. Had I not already figured it out, you had an excellent idea. Copying that and renaming it, and then changing my theme ... I'd not lose anything. That was a brilliant idea that I'm gonna remember in the future. Thank you.
But if you or anyone else wants to put their 2 cents worth in on WHY this would react this way. WHY would the main page look in the domain/concrete/themes/default/elements/footer.php file ... yet all the other pages look in the domain/themes/default/elements/footer.php file?
Again, thanks for your help. I'm gonna mark your answer as the "Best Answer."
I also want to thank anyone in advance for answering the WHY.
Thanks again!
Right after I posted this, and I was so tired from being up all night (and spending about 2-3 of the previous hours on this matter), for whatever reason. I went to the domain/concrete/themes/default/elements/footer.php file, and THERE was that OLD text that was showing up on the MAIN (index.php). I changed that and it changed the MAIN page. I thought, hmmmmmm. So, I went to the other site that I do and that also had the same issue. I looked at the same thing there, and sure enough, the same scenario. I edited that text, and saved it. The MAIN (index.php) page lined up with the rest of the site.
So, I got my solution. Had I not already figured it out, you had an excellent idea. Copying that and renaming it, and then changing my theme ... I'd not lose anything. That was a brilliant idea that I'm gonna remember in the future. Thank you.
But if you or anyone else wants to put their 2 cents worth in on WHY this would react this way. WHY would the main page look in the domain/concrete/themes/default/elements/footer.php file ... yet all the other pages look in the domain/themes/default/elements/footer.php file?
Again, thanks for your help. I'm gonna mark your answer as the "Best Answer."
I also want to thank anyone in advance for answering the WHY.
Thanks again!
that's very decent of you :) (especially as I didn't help at all). Sometimes the best thing to do is just take a break and then look at things with fresh eyes.
Glad you've got it working ok....
Glad you've got it working ok....
if I were you (unless I had lots of customisations I didn't want to lose) I'd probably overwrite the theme with a fresh copy from the concrete5 download and start again.
Or you could just upload the same theme into a new folder in /themes - giving it a different name and description in the theme's descirption.txt file and then apply that one to make changes to so you can better see how it all hangs together.
Depending on what theme you're using your default file (as you say your index.php) will be using the default.php in your theme directory. Other pages in your theme may be using this or may be using view.php or even another *.php.
It sounds like you've changed one or more of these - and maybe also the footer so they are not all pulling the same page elements any more. Sometimes you might need to force-refresh your browser or clear the cache to see changes that you've made.