Advertisement
Mambo Copyright Notes - question about editing
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Enthusiast
- Posts: 116
- Joined: Thu Aug 18, 2005 10:18 pm
- Location: USA
Mambo Copyright Notes - question about editing
Hello OSM folks!
I am a newbie to Mambo and new to CSS and actually, new to just about everything that there is to be done here, lol. Finding my way around at a snail's pace, and just so grateful that you are all here to help. So thank you thank you thank you!!
My question is: I would like to edit the "Copyright 2000 - 2005 Miro International Pty Ltd. All rights reserved.
Mambo is Free Software released under the GNU/GPL License." text that appears at the bottom of all of the pages in my site so that it has MY copyright info on the first line, and then the Mambo (c) stuff on the line below. I was able to locate the footer.php, and version.php files, and made the edit but nothing has changed on my site pages.
I am very cloudy in my understanding of the relationship between the index.php file and the .css file, and then all of the underlying .php files that are associated therein.
I have the same type of trouble trying to change the favicon.ico to my own image... I changed it just about everywhere I could find it referenced... but still have the mambo flower in the fave/url areas.
Thanks in advance.
~Corinne
I am a newbie to Mambo and new to CSS and actually, new to just about everything that there is to be done here, lol. Finding my way around at a snail's pace, and just so grateful that you are all here to help. So thank you thank you thank you!!
My question is: I would like to edit the "Copyright 2000 - 2005 Miro International Pty Ltd. All rights reserved.
Mambo is Free Software released under the GNU/GPL License." text that appears at the bottom of all of the pages in my site so that it has MY copyright info on the first line, and then the Mambo (c) stuff on the line below. I was able to locate the footer.php, and version.php files, and made the edit but nothing has changed on my site pages.
I am very cloudy in my understanding of the relationship between the index.php file and the .css file, and then all of the underlying .php files that are associated therein.
I have the same type of trouble trying to change the favicon.ico to my own image... I changed it just about everywhere I could find it referenced... but still have the mambo flower in the fave/url areas.
Thanks in advance.
~Corinne
----------------------------
Corinne
"Experience is not what happens to a man; it is what a man does with what happens to him." -Aldous Huxley
Corinne
"Experience is not what happens to a man; it is what a man does with what happens to him." -Aldous Huxley
Advertisement
- joomlasolutions_JB
- Joomla! Explorer
- Posts: 355
- Joined: Wed Aug 17, 2005 11:07 pm
- Contact:
Re: Mambo Copyright Notes - question about editing
hi and welcome
located in the index.php of the template, you can do a search for 'footer'. there you will see the line of code that includes the footer in the template. You can feel free to remove it from any templates.
located in the index.php of the template, you can do a search for 'footer'. there you will see the line of code that includes the footer in the template. You can feel free to remove it from any templates.
- joomlasolutions_JB
- Joomla! Explorer
- Posts: 355
- Joined: Wed Aug 17, 2005 11:07 pm
- Contact:
Re: Mambo Copyright Notes - question about editing
the footer include code will look approximatley like this and is located at bottom of the template's index.php file:
the favorit icon code look like this and is found near the top ( in head):
if you like to remove the favorite icon, you can remove that line of code. if you like to use a different icon, look in the mambo images folder for favicon.ico
note you must use a speical .ico file, a jpg or gif will not work!
hope that helps!
Code: Select all
<?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?>
the favorit icon code look like this and is found near the top ( in head):
Code: Select all
<?php echo "<link rel=\"shortcut icon\" href=\"$GLOBALS[mosConfig_live_site]/images/favicon.ico\" />";
note you must use a speical .ico file, a jpg or gif will not work!
hope that helps!
Re: Mambo Copyright Notes - question about editing
Alternatively, you can edit the content of the footer by looking in your /includes folder for the footer.php file. There, you can edit the current copyright info, put your own, or do whatever you want
-
- Joomla! Enthusiast
- Posts: 116
- Joined: Thu Aug 18, 2005 10:18 pm
- Location: USA
Re: Mambo Copyright Notes - question about editing
Thank you so much, gentlemen!
I have successfully changed the copyright info!
On to the .ico now.
~Corinne
I have successfully changed the copyright info!
On to the .ico now.
~Corinne
----------------------------
Corinne
"Experience is not what happens to a man; it is what a man does with what happens to him." -Aldous Huxley
Corinne
"Experience is not what happens to a man; it is what a man does with what happens to him." -Aldous Huxley
-
- Joomla! Ace
- Posts: 1056
- Joined: Thu Aug 18, 2005 2:39 am
Re: Mambo Copyright Notes - question about editing
Corinne, the footer is best kept in the template folder so that future core upgrades do not overwrite it. Just to be tidy, I create /templates/MyTemplate/includes for all "extra" files that are important to the current template being used. Extending the idea a bit further, if you are using one of the default templates or another one that has been customized the dir should be renamed to also prevent it from being overwritten by future downloads/updates. eg: SolarFlare => MySolarFlare
Cheers
Cheers
Freedom is not free!
It is however Open Source.
It is however Open Source.
-
- Joomla! Enthusiast
- Posts: 116
- Joined: Thu Aug 18, 2005 10:18 pm
- Location: USA
renaming folders
Thank you very much for this information, I have it on my list of things to research. I am still trying to learn a "best practices" approach to site and file maintenance so any tips would be helpful. Would be terrific to see a 'best practices' stick thread on this in the future...?
I am using the solarflare_ii template, and right now all of the folder names are the defaults. If I change the name of the template folder, what files would need to be updated to be sure everything maintains its relative links?
I am using the solarflare_ii template, and right now all of the folder names are the defaults. If I change the name of the template folder, what files would need to be updated to be sure everything maintains its relative links?
----------------------------
Corinne
"Experience is not what happens to a man; it is what a man does with what happens to him." -Aldous Huxley
Corinne
"Experience is not what happens to a man; it is what a man does with what happens to him." -Aldous Huxley
- maverick25
- Joomla! Intern
- Posts: 79
- Joined: Thu Aug 18, 2005 12:38 pm
- Location: Marikina City, Philippines
- Contact:
Re: renaming folders
when you renamed a template folder, just edit the instances of the template folder's name in the index.php file inside the said folder.oMama wrote: I am using the solarflare_ii template, and right now all of the folder names are the defaults. If I change the name of the template folder, what files would need to be updated to be sure everything maintains its relative links?
ex. /templates/rhuk_solarflare_ii was renamed /templates/my_new_template
open index.php inside /templates/my_new_template using your favorite php/html editor. usually there is a "find and replace" (or "search and replace") function, use it to find rhuk_solarflare_ii (the name of the old folder) and replace that text with my_new_template (the new folder name).
ex. line 43 in index.php of the rhuk_solarflare_ii template
/templates/rhuk_solarflare_ii/css/template_css.css" rel="stylesheet" type="text/css"/>
when the folder is renamed, it should be edited to be like this:
/templates/my_new_template/css/template_css.css" rel="stylesheet" type="text/css"/>
Last edited by maverick25 on Fri Aug 19, 2005 1:22 am, edited 1 time in total.
http://www.maverick25.com
Signature rules - Literal URL's Only.
Signature rules - Literal URL's Only.
-
- Joomla! Explorer
- Posts: 426
- Joined: Thu Aug 18, 2005 10:41 am
- Contact:
Re: Mambo Copyright Notes - question about editing
/images/stories for the favicon [.ico]
if I recollect 4.5.2.3 got an option to do it via admin under Site > Global Configuration
if I recollect 4.5.2.3 got an option to do it via admin under Site > Global Configuration
- jabberwock
- Joomla! Intern
- Posts: 62
- Joined: Fri Aug 19, 2005 6:32 am
- Location: In front of my computer in Calgary
- Contact:
Re: renaming folders
actually one better is to just get rid of the dependance on the directory name completely and replace the line with:maverick25 wrote: when you renamed a template folder, just edit the instances of the template folder's name in the index.php file inside the said folder.
ex. line 43 in index.php of the rhuk_solarflare_ii template
/templates/rhuk_solarflare_ii/css/template_css.css" rel="stylesheet" type="text/css"/>
when the folder is renamed, it should be edited to be like this:
/templates/my_new_template/css/template_css.css" rel="stylesheet" type="text/css"/>
/templates/getTemplate() ?>/css/template_css.css" rel="stylesheet" type="text/css"/>
then you can change the directory name at will, and all you have to do is change the name once in the .xml file.
Technology happens. (Andrew Grove)
-
- Joomla! Enthusiast
- Posts: 118
- Joined: Fri Aug 19, 2005 4:54 am
Re: Mambo Copyright Notes - question about editing
I borow this thread and ask the same question as the original poster. I want to change the copyright info and in foote.php it only says
/** ensure this file is being included by a parent file */
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
global $_VERSION;
?>
COPYRIGHT; ?>
URL; ?>
What should I change here?
/** ensure this file is being included by a parent file */
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
global $_VERSION;
?>
COPYRIGHT; ?>
URL; ?>
What should I change here?
- kenmcd
- Joomla! Champion
- Posts: 5672
- Joined: Thu Aug 18, 2005 2:09 am
- Location: California
- Contact:
Re: Mambo Copyright Notes - question about editing
In upcoming version 4.5.3 the footer is a module.camos wrote: Corinne, the footer is best kept in the template folder so that future core upgrades do not overwrite it. Just to be tidy, I create /templates/MyTemplate/includes for all "extra" files that are important to the current template being used. Extending the idea a bit further, if you are using one of the default templates or another one that has been customized the dir should be renamed to also prevent it from being overwritten by future downloads/updates. eg: SolarFlare => MySolarFlare
Cheers
No need to hack any code any longer.
██ LibreTraining
- Fil
- Joomla! Apprentice
- Posts: 26
- Joined: Thu Aug 18, 2005 2:08 pm
- Location: Moscow
- Contact:
Re: Mambo Copyright Notes - question about editing
... It will be very pleasantly and very conveniently...
Free software, for free people (mamboserver.ru)
-
- Joomla! Enthusiast
- Posts: 118
- Joined: Fri Aug 19, 2005 4:54 am
Re: Mambo Copyright Notes - question about editing
Guess I have to wait for vers 4.5.3 then :P
- Fil
- Joomla! Apprentice
- Posts: 26
- Joined: Thu Aug 18, 2005 2:08 pm
- Location: Moscow
- Contact:
Re: Mambo Copyright Notes - question about editing
What for to wait? You can put later version and be played so and then to be updated. I think it for you will be a lesson and I think that it will be not superfluous!!!
Free software, for free people (mamboserver.ru)
- joomlasolutions_JB
- Joomla! Explorer
- Posts: 355
- Joined: Wed Aug 17, 2005 11:07 pm
- Contact:
Re: Mambo Copyright Notes - question about editing
Otacon wrote: I borow this thread and ask the same question as the original poster. I want to change the copyright info and in foote.php it only says
/** ensure this file is being included by a parent file */
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
global $_VERSION;
?>
COPYRIGHT; ?>
URL; ?>
What should I change here?
you can locate the footer include code as i described in my first post above. just delete it from your templats's index.php, and type your own footer copyright etc in its same place using normal html
-
- Joomla! Enthusiast
- Posts: 118
- Joined: Fri Aug 19, 2005 4:54 am
Re: Mambo Copyright Notes - question about editing
eh? now I didn't understand. I just want to change to copyright note in the bottom of the site. Do I have to wait for vers 5.2.3 untill I can do that?
- Fil
- Joomla! Apprentice
- Posts: 26
- Joined: Thu Aug 18, 2005 2:08 pm
- Location: Moscow
- Contact:
Re: Mambo Copyright Notes - question about editing
You can make to you and speak where it to correct, only to correct not in the panel of the manager and handles...
Free software, for free people (mamboserver.ru)
- joomlasolutions_JB
- Joomla! Explorer
- Posts: 355
- Joined: Wed Aug 17, 2005 11:07 pm
- Contact:
Re: Mambo Copyright Notes - question about editing
Fil,
no offense to you, but your English is very hard to understand! But I like your spirit of trying to help!!
@Otacaon:
you only need to edit the index.php file of the template to change or remove the footer in 4.5.2
if you are still confused, say so
no offense to you, but your English is very hard to understand! But I like your spirit of trying to help!!
@Otacaon:
you only need to edit the index.php file of the template to change or remove the footer in 4.5.2
if you are still confused, say so
- Fil
- Joomla! Apprentice
- Posts: 26
- Joined: Thu Aug 18, 2005 2:08 pm
- Location: Moscow
- Contact:
Re: Mambo Copyright Notes - question about editing
mambosolutions_JB : Thanks big but I very much try that me have understood (
Free software, for free people (mamboserver.ru)
-
- Joomla! Enthusiast
- Posts: 118
- Joined: Fri Aug 19, 2005 4:54 am
Re: Mambo Copyright Notes - question about editing
I can't seem to find where the copyright text is in index.php
Do you mind telling me so I don't remove anything important?
Do you mind telling me so I don't remove anything important?
- joomlasolutions_JB
- Joomla! Explorer
- Posts: 355
- Joined: Wed Aug 17, 2005 11:07 pm
- Contact:
Re: Mambo Copyright Notes - question about editing
mambosolutions_JB wrote: the footer include code will look approximatley like this and is located at bottom of the template's index.php file:
Code: Select all
<?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/includes/footer.php' ); ?>
normally, the footer code is located a t bottom of your templates/(templatename)/index.php file.
if you still have a problem, just copy/paste your whole index.php code in a post and i will have a look
-
- Joomla! Enthusiast
- Posts: 118
- Joined: Fri Aug 19, 2005 4:54 am
Re: Mambo Copyright Notes - question about editing
I was looking in the index.php located in the root folder
So to change the text I need to opne includes/footer.php?
Edit: but then I'm back from the beggining with the code
/** ensure this file is being included by a parent file */
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
global $_VERSION;
?>
COPYRIGHT; ?>
URL; ?>
So to change the text I need to opne includes/footer.php?
Edit: but then I'm back from the beggining with the code
/** ensure this file is being included by a parent file */
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
global $_VERSION;
?>
COPYRIGHT; ?>
URL; ?>
- joomlasolutions_JB
- Joomla! Explorer
- Posts: 355
- Joined: Wed Aug 17, 2005 11:07 pm
- Contact:
Re: Mambo Copyright Notes - question about editing
the way i am saying to do it means edit the code in a different file, not the one you keep pasting!
normally, the footer code is located at bottom of your templates/(templatename)/index.php file
normally, the footer code is located at bottom of your templates/(templatename)/index.php file
-
- Joomla! Enthusiast
- Posts: 118
- Joined: Fri Aug 19, 2005 4:54 am
Re: Mambo Copyright Notes - question about editing
thanks for helping me in the other thread
-
- Joomla! Ace
- Posts: 1056
- Joined: Thu Aug 18, 2005 2:39 am
Re: Mambo Copyright Notes - question about editing
Otacon wrote: I was looking in the index.php located in the root folder
So to change the text I need to opne includes/footer.php?
Edit: but then I'm back from the beggining with the code
/** ensure this file is being included by a parent file */
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
global $_VERSION;
?>
COPYRIGHT; ?>
URL; ?>
The /includes/footer.php is a core file. If your template uses it, the next time you upgrade that file will likely get overwritten. If you use a template that comes by default with Mambo and do not change the name any changes will be lost as well.
Create a footer.php in your template dir structure.
Get rid of this:
COPYRIGHT; ?>
URL; ?>
Replace it with your site's info.
If the footer becomes a core module the same overwrite problem will exist. Seems rather pointless to me.
Cheers
Freedom is not free!
It is however Open Source.
It is however Open Source.
- joomlasolutions_JB
- Joomla! Explorer
- Posts: 355
- Joined: Wed Aug 17, 2005 11:07 pm
- Contact:
Re: Mambo Copyright Notes - question about editing
you are welcomeOtacon wrote: thanks for helping me in the other thread
- DeanMarshall
- Joomla! Hero
- Posts: 2352
- Joined: Fri Aug 19, 2005 2:26 am
- Location: Lancaster, Lancashire, United Kingdom
- Contact:
Re: Mambo Copyright Notes - question about editing
Hi everyone,
I hope there are no objections - I have aggregated and summarised this thread and placed it in the FAQs section:
http://forum.opensourcematters.org/inde ... 552.0.html
Dean Marshall
I hope there are no objections - I have aggregated and summarised this thread and placed it in the FAQs section:
http://forum.opensourcematters.org/inde ... 552.0.html
Dean Marshall
Dean Marshall Consultancy - six Joomla experts - http://www.deanmarshall.co.uk/
Joomla Experts - Joomla Support http://www.deanmarshall.co.uk/joomla-se ... pport.html
Joomla Experts - Joomla Support http://www.deanmarshall.co.uk/joomla-se ... pport.html
- moxy
- Joomla! Apprentice
- Posts: 42
- Joined: Thu Aug 18, 2005 5:19 pm
Re: Mambo Copyright Notes - question about editing
Well done, Dean! Had a quick read and you seemed to have crystallized the concepts really succinctly.DeanMarshall wrote:
I hope there are no objections - I have aggregated and summarised this thread and placed it in the FAQs section:
http://forum.opensourcematters.org/inde ... 552.0.html
Cheers
-
- Joomla! Enthusiast
- Posts: 116
- Joined: Thu Aug 18, 2005 10:18 pm
- Location: USA
Re: Mambo Copyright Notes - question about editing
Thank you Dean... but I think you're infringing upon my copyright there...
I also appreciate that you added the pros and cons and explanations in each of the options.
Excellent!
I also appreciate that you added the pros and cons and explanations in each of the options.
Excellent!
----------------------------
Corinne
"Experience is not what happens to a man; it is what a man does with what happens to him." -Aldous Huxley
Corinne
"Experience is not what happens to a man; it is what a man does with what happens to him." -Aldous Huxley
Advertisement