This forum is for assistance with theme development.

Edit user.module?

Hello,

Im looking at user.module in '/httpdocs/modules/user/ ' I cant seem to edit this file. I've made a simple change to the login forms submit button: ( 'submit', '#value' => t('Login')); ) By removing the space between 'Log' and 'In'. But my example site shows no change.

Ive changed the file permissions to 777 on my server but still nothing.

Is it posible to edit this file? If so what am I doing wrong?

Regards,
Fiasst

Color.module doesn't show my node icons

I added few icon to my node.tpl and put it in images folder in garland folder.
with the default theme I have no problem but when I change the color just this images will not shown!

everything is fine like the colors
the CSSes are both the same and there is no problem
just the images in image folder will not copy to the garland-814ce3b4

any idea?

custom orders of $links

Hello people, is there any way how to change to order how the $links are displayed? I would like to have the "read more" as the first, then the other links. Any solution working in Drupal 5.1? Thanks.

$breadcrumb is empty when called from node-forum.tpl.php - cant get it to be full up strangeness

$breadcrumb always seems to come back empty when called with <?php print $breadcrumb ?> from node-forum.tpl.php

I'm getting the feeling I need to create a theme overide function as described here:
http://www.technospider.com/cms/themes/bluebreeze/template.txt

Base URL Variable

I am currently themeing a Drupal site that is in subdomain of /new as it is a replacement of the current site. I have a couple of hard coded links in the theme and was wondering if there was a simple variable I could use to print the base URL so I wouldn't have to go back in and change everything from /new to "" when the site goes live. I tried $base_url as defined in the settings.php file but it did not work. I've since put my own together in my template.php file but was wondering if a variable already existed that I should be using.

Thanks.

node-newtype.tpl.php works in IE but not Firefox (front-page)

Hi,

I made a new content type based on story type(named: blogstory). I then copied node.tpl.php and called it node-blogstory.tpl.php . I added a two <div> tags for formatting the size of the title, I also added a background color to the title and centered the text. I also removed the created time, only leaving the username and date.

The second<div> tag is used to make the text size larger in the body content area. Now, in IE7 the page loads just fine, the node title is increased in size and it has a background color.

The problem is that in Firefox 2, the node is completely unformatted. I don't think its just a CSS issue because the node creation time is still displayed (i removed the code from node-blogstory.tpl.php), its as though the node override doesn't work for the front page.

added into style.css

.blogstory_title {
  
  background-color: #DDDDDD;
  font-size: 22px;
  font-family: Verdana;
  color: #494949;
  text-align:center;
  
}
.blogstory_content p{
	font-size:15px;
}

code from node-blogstory.tpl.php

if ($submitted):
print t('!date — !username', array('!username' => theme('username', $node), '!date' => format_date($node->created, 'custom', "D, d/m/Y")));
endif;

Pages

Subscribe with RSS Subscribe to RSS - Theme development