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.
How might I add a "Back To Top" link in Drupal? My first stab:
<a name="top"></a>
...
<a href="#top">Back to top</a>
When I hover over the link "Back to top" it displays http://example.org/d/#top no matter what page I am on.
How do I get the name of the current page in Drupal? Has anyone else successfully gotten this to work in Drupal? This seems like an easy question, but did not find anything from my search in the Drupal forums.
I would like a way to uniquely identify each page with a page id or something. The page title isn't good because it can change and because it contains spaces sometimes.
I'd like to do this with page_id being the actual unique identifier of a page or something. Is there a tag like this?
thanks!
also is there some master list of function hooks/tags for smarty somewhere?
So my first theme is coming along nicely. I am surprised at the amount of progess I've made so far. I am now stuck on something however, and I'm hoping the Drupal geniuses on the site will help me out.
I would like to use an image instead of the red asterisk for notification of new posts and comments on the tracker module. Unfortunately, I have been unable to figure out how the asterisk is generated in the first place. Is it in the tracker module? How would I go about modifying my style.css file to override the asterisk in place of a small .gif file?
I need to . ie, I need to add an image with a page and should display in one line. I just tried with image gallery module. Successfully added contents, but failed with listing. Understanding that I am not in a right way of using modules and assume there may be other module I should use.
Please could you help me.
random image rotator - just put images inside the "images/header" directory and they will dynamically be rotated.
send url by email - toggle show/hide(top left icon)
built-in search - toggle show/hide(top left icon)
print function built in (top left icon)
heavily customized CSS
custom $links buttons
fixed-width layout - crossbrowser friendly
Instructions:
unzip and rename folder to "miniml" or make sure it is named miniml (some images reference the folder name)
upload to your server in the /themes directory
turn on by activating in admin/themes
NOTE: You MUST have at least 1 link in each block that you activate in the admin. the phplayerstreemenu appears to break the page for an unknown reason if you turn on a block that is empty. If you do enable a block and get an error, just go into the database and turn off the blocks in question, then reload the admin/block page and enable from there.