If you are using Joomla 1.5, it comes with a generic footer module which automatically inserts the site title name (configured via the Global Configuration). I never use that module. I always create a custom_html module and put it in the footer position. That allows me to put whatever text I want in it.
Hi guys - thanks for responding. The template is one of the Siteground ones for J1.5 - siteground-j15-29 which you can download from http://www.siteground.com/joomla-hosting/joomla15-... (they call it Bloomy(!) on there).
I presume I am indeed using that footer module to put in that info, but couldn't manage to edit it to add in the additional bit I want (the address).
So really probably only need some help on where to put that into either the mod or the template :)).
Thanks as always.
Hello, I would recommend not using the standard footer module at all. You can unpublish it in the module manager (Extensions | Module Manager) by clicking on the green check mark next to it. Then create a new "custom html" module by clicking the "New" icon in the top right corner and selecting "Custom HTML" from the list of module types. Give it a name and then select the module "position" (use the same module position as the previous footer module) and then put whatever text you want in the text area ("Custom Output" field).
If for some reason that template doesn't have a footer position, you can edit the template directly via the template manager (Extensions | Template Manager). Click on the template and then click "Edit HTML" in the top right. That will allow you to edit the index.php file for the template.
Well, I've done as you suggested, but strangely enough, it's not worked. Wondering now if that info is being put in from somewhere else rather than the footer, as I deleted the old footer and it didn't go away, nor did providing a custom footer replace it. Have this awfully vague notion in my head I might have come across it in some of the PHP files (e.g. language-en) but if so, it would purely have been coded as {sitename} so not much room for maneuvre really. Any ideas where else it might be getting generated from as I really can't see anything within the template pointing to much obvious - the only footer inference is the one which I changed to put in my hosts details (it had previously just had the template info), and unless I can pull out the other line below (the one I'm currently trying to change) that's not the place I want it to go. Hope that's not confused you.
Unsure if my site details were pulled out by the Mods or if I never put them in to start with but if the latter - the site is at: www.bloomfieldmethodist.org.uk - which will let you better see how it's currently looking.
Anything more you can add?
Thanks again.
One thing I do when I get in these situations (can't find where a particular piece of html is generated) is I check for a close-by 'landmark' in the html code (a div id or something similar and ideally unique) and I do a site-wide search for it in my text editor. That can help to 'hone in' on where the code is generated.
In your case, I notice the code looks like this:
<div id="sgf">©Bloomfield Methodist Church,</a></div>
.. that looks a bit weird, but maybe you could search for the "sgf" id in the php code (assuming this is not your work!)?
Alan.
I downloaded the template and it looks like SiteGround is including a templates.php file, which pulls in the sitename from the global config along with creating the other links.
If you change the part in the index.php file that says
<?php $sg = ''; include "templates.php"; ?>to say
<jdoc:include type="modules" name="footer" style="raw" />You can then create the footer module as I described above.
Got the code placed okay, but now it's not showing anything and I've double-checked the footer mod and it seems to be right. I'm now working on this in my test site which is the same address but in the subfolder /J1.5 - you'll see now all it shows is the custom copyright symbol (which I did find easily thanks to your help Alan). I really can't see why your solution doesn't work Katalyst as it makes sense to me, but as I say, for some reason, I must be missing something in the mix. Will keep playing about and if all else fails, just stick it in as static code, but would prefer the flexibility with the mod for all that.
Could you clarify
it's showing up as Pages "None" with no means of changing that
When you go into edit the module via the Module Manager (Extensions | Module Manager), you should be able to select the module position either from the drop down or by typing in footer in the field.
On the Menu Assignment, you should set that to All so that it shows up on every page.
Ok - wouldn't surprise me if I've set it up wrongly to start with, but reading your instructions, I'm pretty sure that's what I did.
It's showing up under Administrator modules. The module name is "footer" and it's type shows as mod_custom. When you open it up, this is what you get:
Module Type: mod_custom
Title: footer
Show Title: N/A
Enabled: No Yes
Position: footer
Order: 0 footer
Access Level: Administrator
ID: 10045
Description: This Module allows you to type in HTML using a WYSIWYG editor
Menu Assignment
Menus: (nothing shows up here)
Menu Selection: N/A
Does that shed any better light on the problem for you?
I only created it in there because that's where the original footer mod was located, but had wondered. Should follow my instincts sometimes. Thanks for setting me straight.
Unfortunately, however, it's now showing up under the Menu in the left panel rather than as a call, so is that down to the call from the template not working properly? I might have to leave it until tomorrow to work on as it's late here and I'm not feeling great just now, so don't worry about trying to figure it out as I've a reasonable idea (I think) on what I can work on to try and fix it. Thanks again.
This is what I have in the template (as edited through Joomla (extensions/templates/edit HTML): This is just the last portion of the template code so you can see where I've put your code and how the hosting company is just above it and it comes in okay. I also did a preview of the template which does show the footer mod ok lying just below where the copyright symbol is showing up.
Should have put that in differently obviously LOL - wasn't expecting it to show up like that :)
Ok code is: (I've removed the <'s just to stop it showing up as it was).
div align="center"
a class="footer" href="http://www.ape-computers.co.uk" target="_blank">Site hosted by aPe Computers - UK's best!
/div
/p
div id="sgf">©
jdoc:include type="modules" name="footer" style="raw"
/div
/div
-->
Sorry about such a lengthy delay - was working on this on my test site, but got distracted off to one of my other sites for a bit, so only now checking in to see what I'd been at last on it. This time around for whatever reason I sorted out the one setting required to ensure the mod showed up where it should do (prev had been in the sidebar), and once I did that it worked perfectly, so now have it set up on the main site too. Thanks for your patience with me on it - grateful to have learnt yet another thing I know will come in hugely useful in the future - how to provide a custom mod! Blessings, Romayne
Having read a challenging article on how to improve on church websites, I'm now working through some of the suggestions, one of which is to put the church address in a footer. Now, I already have 2 of sorts - but one (the church name) appears to be related to the site name and is presumably thus generated by a PHP file as opposed to the other which I manually inserted into the template. If you check out the site, you'll see the church name at the very bottom and that's the one I want to add to - I've hunted around as many "footer" PHP files as I could find, along with the en-GB-footer files but couldn't find anything obvious and have no idea how to put the address alongside the name in that position, rather than having to put in a 2nd footer msg below the hosts name (if that makes sense?).
Site again is at
Thanks.
Seize life by the throat and strangle it