-
AuthorPosts
-
vibedigital Friend
vibedigital
- Join date:
- December 2013
- Posts:
- 38
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 8
- Thanked:
- 6 times in 1 posts
January 29, 2014 at 3:13 pm #194233I need to add an HTML music player to the website which will be snapped to the bottom, but needs to be placed in the header. I have successfully gotten this to work on another Joomla template from another top developer by placing it in the default.php. This doesn’t seem to be the place on this template.
I have tried:
templates/ja_fixel/tpls/default.php
templates/ja_fixel/tpls/home.php
templates/ja_fixel/tpls/blocks/head.php
templates/ja_fixel/tpls/blocks/header.php
templates/ja_fixel/tpls/blocks/footer.php
templates/ja_fixel/tpls/blocks/mainbody.phpand the index.php in the root.
I haven’t gotten anything to show up yet. I don’t want to use a Joomla module because the JED is full of garbage flash players from 2004.
Which PHP file does this player need to go in? Am I overlooking something?
Thank you!
cssyeah Moderatorcssyeah
- Join date:
- June 2006
- Posts:
- 653
- Downloads:
- 73
- Uploads:
- 15
- Thanked:
- 121 times in 81 posts
January 30, 2014 at 3:53 am #520450@ vibedigital,
If you want to add any HTML tag to header, open the header.php file in the “template/ja_fixel/tpls/blocks/header/” path and add your HTML code to top of file.
Please add here.<?php
/**
* @package T3 Blank
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
....
?>
Hope this helps.
vibedigital Friendvibedigital
- Join date:
- December 2013
- Posts:
- 38
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 8
- Thanked:
- 6 times in 1 posts
January 30, 2014 at 7:11 pm #520583Doesn’t seem to be working. Hmm. This should be a simple task. I must be missing something easy.
vibedigital Friendvibedigital
- Join date:
- December 2013
- Posts:
- 38
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 8
- Thanked:
- 6 times in 1 posts
February 2, 2014 at 10:36 pm #520868I still cannot figure this out.
This should be a simple task and is delaying the launch of a client site. Any help is greatly appreciated.
FYI I have also tried the “Injection” tool in the template manager
vibedigital Friendvibedigital
- Join date:
- December 2013
- Posts:
- 38
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 8
- Thanked:
- 6 times in 1 posts
February 4, 2014 at 3:32 pm #521132How come nobody is helping out with this? Why can i NOT place something in the header of the website? I have about 30 hours into this project and am on the verge of looking for a new template. I am going to lose a lot of time and money.
cssyeah Moderatorcssyeah
- Join date:
- June 2006
- Posts:
- 653
- Downloads:
- 73
- Uploads:
- 15
- Thanked:
- 121 times in 81 posts
February 5, 2014 at 3:45 am #521211@ vibedigital,
My apology for the late reply. I wonder if you have figured it out. I tested and see it was working fine. If the issue still remains at your end, please PM me admin and FTP credentials of your site. I will help you out.
vibedigital Friendvibedigital
- Join date:
- December 2013
- Posts:
- 38
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 8
- Thanked:
- 6 times in 1 posts
February 5, 2014 at 3:58 pm #521341Thanks for the reply. I don’t know what I am doing wrong. This is like elementary web development.
Still no luck. I will shoot you my FTP credentials over PM. Thank you!
vibedigital Friendvibedigital
- Join date:
- December 2013
- Posts:
- 38
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 8
- Thanked:
- 6 times in 1 posts
February 5, 2014 at 9:31 pm #521381Don’t mean to spin off-topic here, but I am sending you PMs and it’s not showing in my “sent” box.
If you’re not getting them- please let me know.
cssyeah Moderatorcssyeah
- Join date:
- June 2006
- Posts:
- 653
- Downloads:
- 73
- Uploads:
- 15
- Thanked:
- 121 times in 81 posts
February 6, 2014 at 2:58 am #521407I tried to add some custom HTML to the page header and it worked fine, please see the screenshot image for reference:
If you want to change the HTML tag, please open theheader.php file in the “…/ja_fixel/tpls/blocks/” path, then you will see the custom code I just added. You might need to add more style for it, as the main menu is sticky on the top of site.
vibedigital Friendvibedigital
- Join date:
- December 2013
- Posts:
- 38
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 8
- Thanked:
- 6 times in 1 posts
February 6, 2014 at 2:58 pm #521532That particular script is a Soundcloud script. The player should display on the bottom of the screen, like so:
http://www.djidenaty.com/ (not my website)
I have also tried installing a native player on the site, which is also snapped to the bottom. I was able to successfully install it on this website: http://whigfest.com/ In this case I placed the html within the <head> tags (of default.php) and had no issues. Of course I am more familiar with that specific developers templates as I have been developing on them for years.
I am wondering why I am having such a tough time with this template. 🙁
cssyeah Moderatorcssyeah
- Join date:
- June 2006
- Posts:
- 653
- Downloads:
- 73
- Uploads:
- 15
- Thanked:
- 121 times in 81 posts
February 11, 2014 at 8:44 am #522184@ vibedigital,
Please add your custom player code to the header.php file, I will try to help you style like the reference site.
vibedigital Friendvibedigital
- Join date:
- December 2013
- Posts:
- 38
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 8
- Thanked:
- 6 times in 1 posts
February 18, 2014 at 6:26 pm #523269Nothing seemed to work. no matter how hard I tried. I stopped working on it and left my player in there even thought it wasnt showing up on the front-end. Figured i’d come back to it.
This morning I updated the framework and the player appeared. Seemed it was a bug after all.
Thanks for your support through this.
AuthorPostsViewing 12 posts - 1 through 12 (of 12 total)This topic contains 12 replies, has 2 voices, and was last updated by vibedigital 10 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Placing HTML in header (not working)
Viewing 12 posts - 1 through 12 (of 12 total)