+ Post New Thread
Results 1 to 10 of 10
EduGeek Joomla 1.0 Package Thread, Joomla Template Header Question in Projects:; Hi, I was wondering how I go about inserting links into the main template header. I know there is already ...
  1. #1

    Join Date
    Jun 2006
    Location
    Dorset
    Posts
    111
    Thank Post
    2
    Thanked 5 Times in 4 Posts
    Rep Power
    17

    Joomla Template Header Question

    Hi,

    I was wondering how I go about inserting links into the main template header. I know there is already one there on the left that links back to the homepage. I have the school name, phone number and e-mail address on there and I want to make the e-mail address a mailto: link. I have tried creating slices in both photoshop and fireworks but to no avail. I'm sure I'm missing something glaringly obvious!

    On another related issue - Is it possible to add a module within the header itself? I have been playing with a text size addon from joomla extensions that works great but would like to be able to add a simple module within the header itself like on the main joomla site:

    http://www.joomla.org/

    Thanks!

  2. #2

    Join Date
    Jun 2006
    Location
    Dorset
    Posts
    111
    Thank Post
    2
    Thanked 5 Times in 4 Posts
    Rep Power
    17
    Bump

    Anyone?!

  3. #3

    SYSMAN_MK's Avatar
    Join Date
    Sep 2005
    Posts
    4,004
    Thank Post
    488
    Thanked 1,339 Times in 727 Posts
    Rep Power
    427
    Let me look into this. Will get back to you soon.

  4. #4

    Join Date
    Jun 2006
    Location
    Dorset
    Posts
    111
    Thank Post
    2
    Thanked 5 Times in 4 Posts
    Rep Power
    17
    Any news on this? - Sorry to drag it up but it's doing my head in!!

  5. #5

    SYSMAN_MK's Avatar
    Join Date
    Sep 2005
    Posts
    4,004
    Thank Post
    488
    Thanked 1,339 Times in 727 Posts
    Rep Power
    427
    Which theme you using rusty?

  6. #6

    Join Date
    Jun 2006
    Location
    Dorset
    Posts
    111
    Thank Post
    2
    Thanked 5 Times in 4 Posts
    Rep Power
    17
    Hi - thanks for getting back, I am using eg_default

  7. #7

    SYSMAN_MK's Avatar
    Join Date
    Sep 2005
    Posts
    4,004
    Thank Post
    488
    Thanked 1,339 Times in 727 Posts
    Rep Power
    427
    I'm looking into the first question. Means me creating an image map myself, so will take some time.

    As for your second question there is already a module posotion available within the header "User4" You could try publishing your module there and then edit the css to change the stlye if needed.

  8. #8

    SYSMAN_MK's Avatar
    Join Date
    Sep 2005
    Posts
    4,004
    Thank Post
    488
    Thanked 1,339 Times in 727 Posts
    Rep Power
    427
    Right I have had alook at the image maped header image. For this to work you will loose the image border function.

    Use Photoshop to create your new sliced image map header image and use the save for web option and save both the images and html

    Edit the index.php of the theme and remove the following:

    Code:
    <!-- Start Image Border Script-->
    <script type="text/javascript">
    //<![CDATA[
    var png_overlay = '<?php echo $mosConfig_live_site;?>/templates/eg_default/js/wide_frame.png';
    var suffix = '_over';
    //]]>
    </script>
    <script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/eg_default/js/png.js"></script>
    <!-- End Image Border Script-->
    Open the newly created html from Photoshop in a text editor and copy the image slice code and paste it into the index.php under <div id="header">

    Edit the themes.css.css file and remove line 43:

    Code:
    background-image: url('../images/header.png');
    Upload the images from the sliced image to the images folder of the theme.

    You should now have a image map header.

    Hope that makes sense.

  9. Thanks to SYSMAN_MK from:

    rusty155 (22nd February 2008)

  10. #9

    Join Date
    Jun 2006
    Location
    Dorset
    Posts
    111
    Thank Post
    2
    Thanked 5 Times in 4 Posts
    Rep Power
    17
    Thanks a lot Sysman.

    There is just one thing intriguing me - the home link within the header on the school logo. There is a blank.gif image there that links back to the homepage of the site. Whereabouts is this referred to in the code, and is it possible to move it and or create a similar one the other side of the header for a mailto link without having to lose the image border functionality?

    Sorry to be a real pain!

  11. #10

    SYSMAN_MK's Avatar
    Join Date
    Sep 2005
    Posts
    4,004
    Thank Post
    488
    Thanked 1,339 Times in 727 Posts
    Rep Power
    427
    Right had another look and this can be done in the following way.

    Add the following to the index.php file under the <div id="headerl"> entry:

    Code:
    <div id="headerr"><a href="%your link goes here%"><img src="<?php echo $mosConfig_live_site;?>/templates/eg_default/images/blank.gif" width="%width of link area%" height="%height of link area%" alt="<?php echo $mosConfig_sitename;?>" border="" /></a></div>
    Change the link, width and height details to create the link area required.

    Add the following to the template_css.css:

    Code:
    #headerr{
    	position: relative;
    	top: 30px;
    	left: 26px;
    	float: right;
    	text-align: right; /* ie */
    }
    Edit the top and left values to move the location of the link area.

    You should now have second link. I tried this on my demo server and worked a treat. Hope it help you out.

SHARE:
+ Post New Thread

Similar Threads

  1. Quick Joomla Install Question
    By georgebush in forum EduGeek Joomla 1.0 Package
    Replies: 8
    Last Post: 26th November 2007, 03:18 PM
  2. Joomla question
    By Quackers in forum Web Development
    Replies: 1
    Last Post: 12th July 2007, 09:47 AM
  3. CSS Edit in Edugeek Joomla Template
    By bensewell in forum Web Development
    Replies: 2
    Last Post: 5th July 2007, 09:11 AM
  4. Probs with Smooth Gallery on Joomla Template
    By bensewell in forum Web Development
    Replies: 2
    Last Post: 26th June 2007, 07:09 AM
  5. Joomla Template Expert Needed
    By russdev in forum Web Development
    Replies: 3
    Last Post: 23rd April 2007, 03:29 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •