-
AuthorPosts
-
December 11, 2014 at 3:17 pm #203495
The link from all the pages to the home page of the website i i clic in the logo of the page do not goes anywhere (like a # link)
if i try form the Home button works ok.what’s wrong?
best regards,bwebdesign Friendbwebdesign
- Join date:
- December 2014
- Posts:
- 36
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 4
- Thanked:
- 6 times in 3 posts
December 11, 2014 at 4:09 pm #558352So if you click on the logo it goes to /#/? you can edit that in one of the template files. I don’t know where exactly for JA Biz maby someone else can help you with that. I will have a look at where you can change it.
December 11, 2014 at 4:13 pm #558354the strange behavior is that in the demo site it works well
bwebdesign Friendbwebdesign
- Join date:
- December 2014
- Posts:
- 36
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 4
- Thanked:
- 6 times in 3 posts
December 11, 2014 at 4:14 pm #558355maby the code is a little bit different from the demo. I just downloaded the quickstart to have a look
1 user says Thank You to bwebdesign for this useful post
bwebdesign Friendbwebdesign
- Join date:
- December 2014
- Posts:
- 36
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 4
- Thanked:
- 6 times in 3 posts
December 11, 2014 at 4:25 pm #558356If you go to templates–>ja_biz–>tpls–>blocks–>header.php that’s the place where you have to edit it. (around line 40) This is how it looks in my file:
[PHP]<!– LOGO –>
<div class=”logo logo-<?php echo $logotype ?>”>
<a href=”<?php echo JURI::base(true) ?>” title=”<?php echo strip_tags($sitename) ?>”>
<?php if($logotype == ‘image’): ?>
<img class=”logo-img <?php if($logoimgsm) : ?> hidden-sm hidden-xs <?php endif ?>” src=”<?php echo JURI::base(true) . ‘/’ . $logoimage ?>” alt=”<?php echo strip_tags($sitename) ?>” />
<?php endif ?>
<?php if($logoimgsm) : ?>
<img class=”logo-img-sm visible-sm visible-xs” src=”<?php echo JURI::base(true) . ‘/’ . $logoimgsm ?>” alt=”<?php echo strip_tags($sitename) ?>” />
<?php endif ?>
<span><?php echo $sitename ?></span>
</a>
<small class=”site-slogan hidden-xs”><?php echo $slogan ?></small>
</div>
<!– //LOGO –>[/PHP]If you want to edit the url you can change this line:
[PHP]<a href=”<?php echo JURI::base(true) ?>”[/PHP]
To:
[PHP]<a href=”your_url”[/PHP]I think that the original code will work fine but if it doesn’t work for you i think this is the best solution
1 user says Thank You to bwebdesign for this useful post
December 11, 2014 at 4:31 pm #558357thanks very much!
probelm solvedbwebdesign Friendbwebdesign
- Join date:
- December 2014
- Posts:
- 36
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 4
- Thanked:
- 6 times in 3 posts
December 11, 2014 at 4:38 pm #558358Your welcome 🙂
-
AuthorPosts
This topic contains 7 replies, has 2 voices, and was last updated by bwebdesign 10 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum