-
AuthorPosts
-
January 10, 2011 at 1:09 am #158523
I was wondering if there is a way to add a Login and Register link to the left of the search bar at the top for this theme?
January 15, 2011 at 8:07 pm #372019Anyone have any suggestions?
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
January 15, 2011 at 8:27 pm #372022Probably, this can help :::
http://www.joomlart.com/forums/topic/banner-on-top/#post-372009
Mainly, Changes needed for you in relation to solution given there are::
1) You can change this::
<div style=”float:left;position:relative;margin:0 10px;”>
to
<div style=”float:left;position:relative;margin-left:60px;”>
and update value accordingly
2) Your template is different so the reference file would be located here::
templates/ja_rasitelayouts/blocks/header.php
Hope this helps
January 15, 2011 at 10:06 pm #372028Thanks fpr the response Aman204
I looked in that files but that tag is not in there. Here is what i have:
<?php if ($this->hasSubmenu() && ($jamenu = $this->loadMenu())) { ?>
<div id=”ja-header” class=”wrap” style=”margin-top: 76px;”>
<?php } else { ?>
<div id=”ja-header” class=”wrap”>
<?php } ?><div class=”main”>
<div class=”inner clearfix”><?php
$siteName = $this->sitename();
if ($this->getParam(‘logoType’)==’image’): ?>
<h1 class=”logo”>
<a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $siteName; ?></span></a>
</h1>
<?php else:
$logoText = (trim($this->getParam(‘logoType-text-logoText’))==”) ? $config->sitename : $this->getParam(‘logoType-text-logoText’);
$sloganText = (trim($this->getParam(‘logoType-text-sloganText’))==”) ? JText::_(‘SITE SLOGAN’) : $this->getParam(‘logoType-text-sloganText’);?>
<div class=”logo-text”>
<h1><a href=”index.php” title=”<?php echo $siteName; ?>”><span><?php echo $logoText; ?></span></a></h1>
<p class=”site-slogan”><?php echo $sloganText;?></p>
</div>
<?php endif; ?><?php if($this->countModules(‘search’)) : ?>
<div id=”ja-search”>
<jdoc:include type=”modules” name=”search” />
</div>
<?php endif; ?></div>
</div>
</div>Basically I am looking to do something like:
Login | Register |_______________| Search
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
January 16, 2011 at 10:31 am #372055I am able to see this code in above reference:::
<?php if($this->countModules(‘search’)) : ?>
<div id=”ja-search”>above which you can add the suggested code in other thread
January 16, 2011 at 3:43 pm #372087I don’t really understand what I am supposed to do here. I am not a programmer, I only know a little of PHP.
So I add that code to the file where exactly, above it / below it? And where do I add the links i want to appear to the left of the search bar? In the Header file? Somewhere else?
When I add that piece of code it shifts the whole menu down
Css Magician FriendCss Magician
- Join date:
- October 2014
- Posts:
- 741
- Downloads:
- 43
- Uploads:
- 53
- Thanks:
- 114
- Thanked:
- 366 times in 263 posts
January 17, 2011 at 10:38 am #372226I have just created a new ticket on your behalf: YPG-336-41011
Please open the ticket and update your site access information, clarify the issue you are facing as well then our devs will diagnose and get it fixed asap for you.
For information on best security practices, and frequently asked questions about sharing access with JoomlArt support, kindly refer to the knowledgebase article at: http://support.joomlart.com/index.php?/Knowledgebase/Article/View/3/0/providing-joomlart-with-access-to-your-site-or-server
1 user says Thank You to Css Magician for this useful post
-
AuthorPosts
This topic contains 9 replies, has 3 voices, and was last updated by ybaos 13 years, 12 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum