This forum is for assistance with theme development.

Replace header and footer with custom header and footer

Drupal 7 by default adds HTML DocType, Scripts, Meta Tags and few other things. I want to add my own custom PHP script which has header and footer. How would I do this? It seems that theirs no documentations regarding this.

Currently I have this few PHP Files on my Theme

  • html.tpl.php
  • node.tpl.php
  • page.tpl.php
  • template.info
  • template.php

Custom Pager on Front Page

I searched for the better part of a day on Drupal and Stack Overflow-related sites and couldn't find an explanation.

This is what I did to get a Custom Pager to show up on the front page of my site (emndee.com - still in development, may or may not be available if you check. Yes, I know I should be building it on a dev server, but it's a comic and not for a client).

The front page is generated by a simple view which shows the latest comic entry.

Hope this helps someone

In views-view--view-name.tpl.php, I put the following:

Open Framework fork with Bootstrap 3

There's a lot I like about Bootstrap. Just started to pick it up and its incredibly rich feature set. There's a limited number of Bootstrap 3 based themes for Drupal though. Those few that exist might use a CDN, finky with source files, or use Bootstrap 2.

show/hide article image on full content display optionally

Hello guys,

First timer here. I have a generic article content type and I would like show or hide article image optionally on full content display. Some articles will display the image on full content display and some some articles won't. Is there a way to achieve that without creating a new article content type?

thanks.

New to Drupal

I'm setting up a gaming site with drupal. Pretty much its a hobby site but I decided to do it with Drupal, which is something I haven't used before. Now I've been spending the last week(so far) slowly building the site live online (Kryonetgt.com). At the moment I'm using the Kanji theme available online but I'm looking into making my own theme or maybe a volunteer willing to make a clean and unique theme for the site or who would be willing to teach me how to do it myself.

Customizing how Fields are displayed.

Specifically I want to reduce the space between the label and the value for a field in the bartik theme.I've been reading up on Drupal templating and etc. but I got lost in the maze of hook functions , .tpl.php's , and template.php's so any good tutorial on that would also be appreciated.

Pages

Subscribe with RSS Subscribe to RSS - Theme development