How to code an HTML5 pager in Drupal 7?

I'm trying to make an HTML5 template for Drupal 7, and I would have this structure for the pager:

<nav>
    <h1>Pages</h1>
    <ul>
        <li>...</li>
        ...
    </ul>
</nav>

There's a way to do that without code a theme_pager function? If not, what should I change in that function to generate the structure that I want? The only familiar thing that I see is at the end:

Strange Block Behavior in Custom Theme [Solved]

Hi all,

I am hoping you can help me. I have run into a strange issue. I have created a custom template based on the Stark theme for Drupal 7 and have found that a custom block that i created will not obey the visibility settings. It will not become exclusive to certain pages and it will not exclude certain pages. It just appears on every page regardless of what I do, short of removing it from the visible regions altogether. (it also constantly adds extra paragraph html tags every time i open it to adjust settings... very annoying) This same behavior of not being exclusive/excluding certain pages also happens with the log in block. No matter what I do, the log in block stays on every page, again, short of removing it from any and all regions. It even does so when i move it to different regions on the page (so i know it isn't a region specific problem). What is peculiar is that while other custom blocks that I have created will exclude/be exclusive just fine, the main system blocks seem to all behave this way as well. Who's Online, User Tools, ... those all stay on every page unless i remove them from the regions area.

I know it has something to do with the way that I am creating my theme because it doesn't behave this way in other themes. Any ideas?

Permissions Problem with ONLY ONE user on hosting!

I could follow every Drupal documentation guide out there until the cows come home, but I know this is a permissions issue, and it doesn't look like CHMOD is the answer.

To illustrate, I have set up identical versions of Drupal 7.2.x on two different directories and users. The first installation gets past the third installation stage without any problems (as it should). The second one (with an identical Drupal installation) gets to the same stage and stalls with the following permissions error:

Security Groups

Hello,
I am getting the hang of using Drupal but have kind of hit a bump.
I am building a site with 3 sections: Products / Services / Support. In these 3 sections I will have users contribute content. But I only want products users to contribute to products, services to services and support to support.
How do I do that with Roles or is there something different?
Thanks

Correct way to Migrate to a Different Domain on Same Server

This is my first post, and want to thank this friendly community of Drupal developers and their efforts to help those in need like myself. I have searched all night for the correct solution to this issue, but cannot get this figured out (and don't think the answer is very complex).

What is the correct way to migrate a current (finished) Drupal 7.2.x site to a different domain I own that is hosted on the same server?

At first I thought the best route was to "not" make a different database because it was on the same server and I was going to basically ditch the old site after migrating. If I understand right, this isn't the best thing to do, especially if I want to keep a secondary "test" environment on the web to show clients an update before putting it into effect. So I have since backed up my database in two different ways:

Way 1: (phpmyadmin). I used the recommended settings found on a Drupal documentation:
http://img84.imageshack.us/img84/2523/dbexport.png

Way 2: (Backup and Migrate module).
http://drupal.org/project/backup_migrate

Neither of these solutions backup files though, only the database (as you probably know).

how to perform an ajax command in ajax.inc manually?

Ajax.inc shows many API which can be used to create ajax commands, but I don't know how to perform these commands.
I mean how to execute these commands manually.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x