So I have decided that I would like to create my own theme because I really want to learn how to do it. Yes, I can easily add code to existing themes, but where is the fun in that? I want to create my own custom theme because the layout I wish to have is nothing extreme like the ones I have downloaded.
I upgrade to drupal 7 then downgraded to 6 manually, and this problema accured.
the problema is about i cant edit my edit page (any page when pressing edit)
I cant edit metatages, when to publish, books....etc (there is an attached picture that show the issue)
I am installing "vertical tabs" modules, i tried uninstalling it, uninstalling other module (including views) tried to upgrade my theme, change it ... whatever i did was a failure
i am suspecting that there might something in the core folder because i uploaded it manually
I have a custom registration form (D7) which I needed to re-generate the markup according to a designer CSS requirements.
I implemented the following hooks to basically stop any form rendering from occuring all that remains is the
and a
and various hidden 's and submit button.
Now I have started the process of trying to re-render each field according to the new markup -- but I am at a loss. :(
Inside hook_form_alter() I am wanting to iterate each of the visible fields and render each accordingly, something like:
function corporate_form_alter(&$form, &$form_state, $form_id) {
switch ($form_id) {
case 'user_register_form':
{
$form['field_full_name']['#children'] = '<b>Render field </b>';
break;
}
}
}
This is obviously hardcoded and iwll not work well with a customizable registration for solution. I also want this markup change to occur for all forms, not just registration, so the switch is irrelevant.
element_children($form) -- will return the fields -- but in the case of user registration it returns things like account details (user/pass) and such which I don't want to render on registration.
Hi!
I'm building a site starting from the NineSixty theme.
Now i'd like to add a different header background, than the main one, in pages linked to some specified taxonomy terms.
I already made it with main taxonomy term pages through creating "page--taxonomy--term--X.tpl.php", but i can't figure out how to make the same work for nodes based on those taxonomy terms.
I am absolutely new to drupal theme. I know HTML and CSS but I am blank about php. I was playing with zen theme.
I want to edit default navigation bar. I could change the background color of navigation bar. But it seems that height of the navigation bar is fixed. How to deal with it? How can I control the height of the navigation bar?
I remember when I was learning css, navigation bar used to be of the same height as that of height of text. Please help.