Drupal 6 site. I have a small image in a block in front of the header text , positioned using css. #myimage{ position:absolute; float:left; top:65px; left:50px; background:url("img/logo/myimage.png") no-repeat; height:170px; width:310px; }
It is referenced in page.tpl.php as <div id="myimage" > <?php print $myimage ?> </div> , it displays ok.
If I add <a href="go/to/another/url">This is my image</a> before the </div>, or before the <?print statement, It displays the link above the image. How can I display the link to the right side of the image instead of above? Is there a way of adding a class to do this? I would really appreciate help on this please. Thanks Roger
Hi, I'm wondering if there's a way to specify a custom page theme for a form i've created in a module.
I've create a custom module with a form, and have specified a url for it with hook_menu. Now i need to specify custom tags for the <head> area. I'm guessing a custom page.tpl.php would be the easiest way to do that, but I'm open to any solution, but i'd like to specify all of it from the module. Any ideas?
drupal 6
Thanks. -Don-
Hi Donald,
You can use drupal_set_html_head function to add data to head tag for a particular page refer this - http://api.drupal.org/api/drupal/includes!common.inc/function/drupal_set_htm...
On Thu, Apr 26, 2012 at 3:54 AM, Don Pickerel donald@fane.com wrote:
Hi, I'm wondering if there's a way to specify a custom page theme for a form i've created in a module.
I've create a custom module with a form, and have specified a url for it with hook_menu. Now i need to specify custom tags for the <head> area. I'm guessing a custom page.tpl.php would be the easiest way to do that, but I'm open to any solution, but i'd like to specify all of it from the module. Any ideas?
drupal 6
Thanks. -Don-
-- [ Drupal support list | http://lists.drupal.org/ ]
perfect. thanks
-Don-
On 4/26/2012 12:07 AM, Vaibhav Jain wrote:
Hi Donald,
You can use drupal_set_html_head function to add data to head tag for a particular page refer this - http://api.drupal.org/api/drupal/includes!common.inc/function/drupal_set_htm... http://api.drupal.org/api/drupal/includes%21common.inc/function/drupal_set_html_head/6
On Thu, Apr 26, 2012 at 3:54 AM, Don Pickerel <donald@fane.com mailto:donald@fane.com> wrote:
Hi, I'm wondering if there's a way to specify a custom page theme for a form i've created in a module. I've create a custom module with a form, and have specified a url for it with hook_menu. Now i need to specify custom tags for the <head> area. I'm guessing a custom page.tpl.php would be the easiest way to do that, but I'm open to any solution, but i'd like to specify all of it from the module. Any ideas? drupal 6 Thanks. -Don- -- [ Drupal support list | http://lists.drupal.org/ ]-- Regards, Vaibhav Jain