This forum is for assistance with theme development.

Current Date php snippet?

I want to add the current date to a template in such a way that it will always express today's date (not the date of creation) so I need the php code snippet to add to my template.

But perhaps what I really need is some advice on where to go to find out about this sort of thing. With WordPress, there is a lot of documentation with these small bits of code; but, if it exists for Drupal, I haven't yet found it. I am pretty new to Drupal and am trying to create a subtheme. I am good with CSS, but not so skilled with PHP and am finding Drupal documentation a little baffling.

Need some help please..

I am fairly new to creating themes in Drupal and I am running into a problem that probably has a simple answer. I am coding a custom theme but am having trouble having the main navigation print and display on the screen. Below is the coding that I used.

<?php print $main_menu ?>

Is this correct to do or incorrect. I also placed these into the .info file as per a page I read somewhere about Drupal navigation problems,

addition of a question directly field ?

How do I add the check for questions
With the addition of a question directly field
Cousin of the applicable at this link

https://www.khanacademy.org/math/arithmetic/addition-subtraction/two_dig...

Thanks

Content Type - Page Types

Hi,

I have a custom theme that will multiple page types so e.g.

full page
half page
floated right
floated left
etc..

I wanted to add this to the content type area when I created a content type. I don't want this on the actual content pages as this is linked to the content type only. I was wondering what would be the best way to achieve this.

My view file with then dynamically include files based on this setting so needs to be available in the view.

thanks,

help for user/login page: unthemed!

Hi
I'm using Drupal 7.22

I'm developing a theme, I created the .info file together with the page--front.tpl.tph, page.tpl.tph and node.tpl.tph plus all the required files (included CSS etc). The theme is adaptive, at the moment it is made for 2 main resolutions: from 600 till 1024 and from 1024 on

the theming is going ahead good, all the site is almost done, but what's happening to me, is that the page /user/login and /users, appear totally unthemed.

Could you help me please to understand what can be the causes?

Thank yo so much

need guidance to give metro UI look to current website

hi, i want to give a metro look to my current website. Please suggest me what is the right way to do?? do i make changes in css individually or is there any other method to give a look of metro as i saw so many website having metro look. or may be drupal provides default theme of metro ui.
Please guide me in a right direction.
Any help would be really appreciated

Regards
Neha

Pages

Subscribe with RSS Subscribe to RSS - Theme development