Posted by itbookham on October 7, 2012 at 8:13pm
Hello,
I am new to Drupal and using version 7.x. I am using the theme 'Simple Clean'. So far, so good.
Is it possible to remove the footer "This site is powered by Drupal. Theme: Simple Clean by acke @ happiness."? I think it might be hard coded into the theme itself. I would also like to remove the RSS icon on the home page but I think this is hard coded too?
I would appreciate any assistance.
Many thanks,
Mark
Comments
Hi there,I'm guessing you
Hi there,
I'm guessing you can remove it one of two ways:
1) Go into Structure -> Blocks. The "powered by Drupal" block should be in there somewhere, and you can disable it.
2) If that doesn't work, go into Appearance->Settings (for your theme). It should be in there.
I'm sorry, I can't say for sure because I haven't used that particular theme. But from the themes that I have used, I've always found those two methods to work for adding/removing just about anything.
If the same process doesn't work for the RSS thingy, you might want to check this out: http://drupal.org/project/jammer
Hope it helps!
Edit the theme's page.tpl.php
To remove/edit the footer, look for the following div tag near the bottom and remove/edit the content inside it:
<div id="footer">To remove the RSS feed on the home page only, look for:
<?php print $feed_icons; ?>and replace with:
<?php if (!$is_front): ?><?php print $feed_icons; ?>
<?php endif; ?>
Check the Theming Guide for more tips on theming.
Tips for posting in Drupal forums
Hello,Thank you for your
Hello,
Thank you for your suggestions.
I removed the following codes but how do you save these changes. Removing the code removed the footer and the RSS feed but I couldn't save the change.
(a href="/rss.xml" class="feed-icon" title="Subscribe to iTechnician RSS">
)
(a href="/rss.xml" class="feed-icon" title="Subscribe to iTechnician RSS">
)
Many thanks,
Mark
Not sure what you'd meant in
Not sure what you'd meant in your post above about not being able to 'save the change'. Can you explain what steps you've done?
If you were trying to attach an image, you can use Flickr or Imagebin then provide the link here. If it's very long code, you can use Pastebin.
Tips for posting in Drupal forums
=-=
IMO, it's smarter to use a display: hidden; on the feed icon element if you are trying to remove it in total. If following best practices, you can override the CSS in your custom css file in your sub-theme which protects your changes from being overwritten when the theme is updated.
Hello, In order to change the
Hello,
In order to change the coding does one access the inspect element F12 facility or is there another way of doing so, If I take out or replace code in inspect element I am not able to save the changes.
Many thanks,
Mark
I think I need to change the
I think I need to change the code in one of the files in the Drupal directory on the hosting server. Any ideas which file I need to edit to make these changes - removing RSS logo and footer comments 'This site is powered by Drupal....'.
I have looked through the 'Simple Clean' template.php and style.css files and cannot see any references to these features that need to be removed (footer and RSS logo).
I would be grateful for any advice.
Many thanks,
Mark
You need to look at the
You need to look at the page.tpl.php file in your
sub-theme directory.The codes I had mentioned in my earlier post can be found in that file.
EDIT: Theme, not sub-theme as per my earlier post. Note VM's comment though as any changes you make in page.tpl.php would be overwritten if you were to update your theme. If you're okay with editing the theme files then make sure to backup your theme files before applying any theme updates.
Tips for posting in Drupal forums
=-=
powered by drupal should be a block (if the theme developers followed core best practices) and you simply disable that block in administer -> blocks
the rss feed icon can be hidden with CSS as I previously stated. if following best practices add the css definition to your custom.css file, if ignoring best practices edit style.css directly. There is no need to hack the tpl.php files for these tasks.