- bandidom9
- Free Templates / Extensions
- Thursday, 01 March 2012
- Subscribe via email
To create the module position add the following to your templates index.php (../templates/j51_oxygen/index.php) just after <div id="header"> (line91)..
You must then style it with the following which you can add to the end of your templates template.css (../templates/j51_oxygen/css/template.css)
And that should be it. You'll find the position won't be listed in the positions dropdown so simply type it in to create (topsearch).
<div id="topsearch">
<jdoc:include type="modules" name="topsearch" />
</div>
You must then style it with the following which you can add to the end of your templates template.css (../templates/j51_oxygen/css/template.css)
#header {
position: relative;
}
#topsearch {
position: absolute;
height:50px;
width:300px;
top:25px;
left:660px;
margin:0;
padding:0;
z-index:99999;
}
#header .search .inputbox {
background:#fff !important;
}
And that should be it. You'll find the position won't be listed in the positions dropdown so simply type it in to create (topsearch).
- more than a month ago
- Free Templates / Extensions
- # 1
Accepted Answer
Pending Moderation
Hi
I have a problem with new module position. I also wish to add it to the same place as bandidom, and I've done everything you wrote here.
I even added position in templateDetails.xml, but no luck
Is it the same on Joomla 2.5? You mentioned <div id="header"> (line91)..
But on 2.5 template, div header is on line 197
Is it any different, or am I doing something wrong?
I have a problem with new module position. I also wish to add it to the same place as bandidom, and I've done everything you wrote here.
I even added position in templateDetails.xml, but no luck
Is it the same on Joomla 2.5? You mentioned <div id="header"> (line91)..
But on 2.5 template, div header is on line 197
Is it any different, or am I doing something wrong?
- more than a month ago
- Free Templates / Extensions
- # 4
The above will also work with Joomla 2.5 although line numbers may differ slightly.
Would you have a URl yo your site so we can have a look?
Ciarán
Would you have a URl yo your site so we can have a look?
Ciarán
- more than a month ago
- Free Templates / Extensions
- # 5
Accepted Answer
Pending Moderation
Hi Ciaran
url is transports.site11.com
If you wish, I can send you admin pass, it's just a test site
Thanks
url is transports.site11.com
If you wish, I can send you admin pass, it's just a test site
Thanks
- more than a month ago
- Free Templates / Extensions
- # 6
That should be ok for you now.
I gotta take the blame for this as I incorrectly called the new module position newsearch rather than topsearch in the end of the above post. I've edited the post so should now be correct.
Ciarán
I gotta take the blame for this as I incorrectly called the new module position newsearch rather than topsearch in the end of the above post. I've edited the post so should now be correct.
Ciarán
- more than a month ago
- Free Templates / Extensions
- # 9
Accepted Answer
Pending Moderation
I totally missed that. It couldn't be less simple mistake.
Damn, that weed is good. :laugh:
Thanks Ciaran, will try it later
Damn, that weed is good. :laugh:
Thanks Ciaran, will try it later
- more than a month ago
- Free Templates / Extensions
- # 10
Accepted Answer
Pending Moderation
I haven't line 91 on index.php, the last line is 66.
thanks
I modify Header.php, and template.css now work ok
thanks
I modify Header.php, and template.css now work ok
- more than a month ago
- Free Templates / Extensions
- # 13
For versions of the Oxygen template under the new framework add after <div id ="header" class="block_holder"> (Line 1) in the templates header.php (../templates/j51_oxygen/php/layouts/header.php)
Ciarán
Ciarán
- more than a month ago
- Free Templates / Extensions
- # 14
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »