Display date and time for last edited on an article

Hi!

I am using Drupal7. Can anyone tell me how I can display the last edited time & date on a article?

I would like to have it on the bottom of the article, where it displays the number of views.

Thanks!

Regards,
Robert

Adding custom regions & blocks

Hey all,
I'm trying to figure out how to add custom regions to a theme I'm working on. While the Stark theme is nice and simple and a great place to start, it really doesn't suit my needs for my own site.

I'm trying to figure out how the Bartik theme was able to add all those extra regions and have them function from the structure / blocks admin area. I'm a little thrown back because it looks rather daunting. Just when I thought I was good, it turns out I'm not so good. Big sigh!

Help!

How to make D7 runs faster?

I have just finished a Drupal 7 websites running on godaddy, but it runs too slow, can someone give suggestions on how to optimize the D7 site to make it runs faster?

How to access fields from a filter?

Hi,
I'm the maintainer of Field Slideshow. This module adds a field formatter for a multi-valued image fields, so it outputs a slideshow.

It's working fine BUT someone has asked me how to include the slideshow in the body itself.
At first, he was thinking of Insert, but after asking quicksketch, it's clear that it can't work that way (too much code to insert).
So I got an idea : use an input filter ([field_slideshow] replaced by the slideshow).

D7: Most active users

How can I create a block with the most active users in D7?

Create my own variables in template.php (D7)

Hello,

how to create my own variables in template.php (d7)?
I want to create variables to insert more easily into my templates.
I tried this code but it does not work :

function MyTheme_process(&$variables, $hook) {
	
	$variables['$url'] = $_SERVER['HTTP_REFERER'];

}

In admin, i get an error : "Notice : Undefined variable : url in page.tpl...".

Thanks.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x