Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I have two variables: let say $date = "mydate" and $title = "mytitle"
I have for the moment a theming function that creates a link by doing something like this: $vars['row_dates'][$i] = l( $date, '', array('fragment' => $vars['timelinr_dates_id'] . '_' . $i, 'external' => TRUE));
which output a result like: <a href="...">mydate</a>
I'm trying to add the user-menu block into my page template. I've found a post which I've adapted to use this however not is showing up. Here the link to the block – /admin/structure/block/manage/system/user-menu/configure
I am trying to use Tabbed content within the content of my pages (ww2.openmedpractice.com). I did this because the tabbed module really sucked as far as presentation. These are nicer tabs.
I have noticed that when ever I insert html into a page that is not done by the WYSIWYG editor, drupal treats it like a foreign object and the html can end up anywhere.
Now, this does not happen if I use panels.
If you look on the front page of the URL that I posted, you can see the tabbed data display at the bottom how the bottom footer comes up behind the html code.
I have a view, I want one column's header to show as two lines, and I want to theme the 2nd line with a smaller font size. So tried to do this in the view:
Configure field:
Label: Line 1<div class="myclass">Line 2</div\>
and then in my css file, I added below:
.myclass {
font-size: 0.9em;
}
But the the final view shows the column header within same line, and did not apply myclass, also I see the brackets.
I have developed a custom module (it's just a form for adding a node programmatically) and I want to display it on a blank bare page. I am having a lot of trouble telling just this module page to use any different theme - it persists in using the main theme I have selected for the public website.
I have tried changing it in both template.php and mycustommodule.module but I am not getting close.
Does anyone have a code snippet that allows me to change the theme?