Head Injections Support Forum.

Support Forum for my Head Injections Module.

http://www.boonex.com/unity/extensions/entry/Head_Injections

https://www.deanbassett.com
17 Mar 2011

Dean, has this module been tested for 7.1?  I would like to go ahead and install it.

Geeks, making the world a better place
20 Nov 2012

It has not been yet. However it should work. The only issue would most likely be cosmetic. A problem with the borders around the text boxes in admin and the buttons not matching the D7.1 designs. Other than that, it should work fine.

I will be getting to the update on that soon, another couple of days perhaps.

https://www.deanbassett.com
20 Nov 2012

Thanks Dean; this is a really nice mod and very useful so having it for 7.1 will make doing some things a lot easier.

Geeks, making the world a better place
20 Nov 2012

I have tried installing this module but got "failed" noticed on it.  I had to change the compatibility version in config.php first of course.

Installation of: Head Injections Failed
-- Changing database:
-- -- There are errors in the following MySQL queries:
-- -- Error:

INSERT INTO `sys_menu_admin` (`id`, `parent_id`, `name`, `title`, `url`, `description`, `icon`, `icon_large`, `check`, `order`) VALUES(NULL, @iExtCat, 'HeadInjections', '_dbcs_HI_bx_HeadInjections', '{siteUrl}modules/?r=Head_Injections/administration/', 'Block Tools', 'modules/deano/head_injections/|head_injections.png', '', '', @iExtOrd+1);

Dean, do you think you will have time to get this working for 7.1?  I am working on a 7.1 and need to add some things to the head on certain pages.

Geeks, making the world a better place
24 Nov 2012

I actually just started on that one yesterday. It should be finished later today. It should be finished very soon.

https://www.deanbassett.com
24 Nov 2012

Ok. Version 2.0.1 released. Now works in dolphin 7.1.0

https://www.deanbassett.com
24 Nov 2012

Wow! Is Dean good or what?

Thanks Dean, this is appreciated.  I need to go and give you a good review.

Geeks, making the world a better place
24 Nov 2012

Is it possible to have the injection place before the closing head tag </head>?  It seems that Boonex stuff is interfering so I need my injection to be the last in the list.

Geeks, making the world a better place
24 Nov 2012

Maybe, maybe not. I would have to check to see if there is a injection point at that location in the template. If not it would require a custom modification.

https://www.deanbassett.com
24 Nov 2012

Nope. There is no injection point there.

You could edit your templates _header.html and move __page_description__ to just before the closing </head> tag.

https://www.deanbassett.com
24 Nov 2012

Thanks Dean.  I will try your suggestion and see how that works.

Geeks, making the world a better place
24 Nov 2012

Oh, and you most likely will need to clear the cache after. I keep forgetting to mention stuff like that.

https://www.deanbassett.com
24 Nov 2012

Yes, that worked quite nicely.

In Dolphin 7.1 it is the _header.html file in templates.

Thanks Dean.

Geeks, making the world a better place
24 Nov 2012

 

Yes, that worked quite nicely.

In Dolphin 7.1 it is the _header.html file in templates.

Thanks Dean.

 Sorry. Thats the file i meant. I edited my post to reflect the proper file name.


https://www.deanbassett.com
24 Nov 2012

Head Injections has stopped working for me and I an not sure why.  When I check the source of the page the code is not being inserted.  Do you know of any mod conflicts or Dolphin settings that may keep Head Injections from injecting the code in the head of the page?

Geeks, making the world a better place
5 Dec 2012

No. None that i am aware of.

Verify you have a proper title match and verify the source code changes are still in place and were not over written by any SVN updates you may have done.

https://www.deanbassett.com
5 Dec 2012

After sending this I recalled that the last module I installed on the system was the "maintenance mode" module.  Will un-install that module and see if Head Injections comes back and will report back here.

Geeks, making the world a better place
6 Dec 2012

Considering both of those module are mine, and i have both of them installed on my site, they have been running together without problems. So interference is unlikely.

It is possible that some pages will not work properly while maintenance mode is on. Mostly pages with ajax calls that do not check logons. The only page i have see affected by that is the index page if the forum rss block is on it. And then only the RSS block does not load. The rest of the page does.

Also keep this in mind. The module requires changes to incclassesBxDolTemplate.php and that file was replaced by the B1 to B2 upgrade. So you must verify the source code changes in that file are still there. Custom templates that may be missing title or description tags in it's header file would also be a cause for problems.

https://www.deanbassett.com
6 Dec 2012

Sorry, it was me being stupid.  I upgraded the files and overwrote the additions.  Too many late hours.  My apologies.

Geeks, making the world a better place
8 Dec 2012

You mention in the instruction that the injections use the current page title... how would one make injections on profile pages where the title is always different? Is it possible? If so ,is it possible to inject profile information, pulled from the profiles being viewed? like sex, looking for, city interests etc....

Thanks

24 Jan 2013

 

You mention in the instruction that the injections use the current page title... how would one make injections on profile pages where the title is always different? Is it possible? If so ,is it possible to inject profile information, pulled from the profiles being viewed? like sex, looking for, city interests etc....

Thanks

 
Only on a per profile basis. The current version does not support wildcards so it not possible to create one injection that will work on all profiles.

For your second question. No. The current version does not have any means of pulling information from the database to be used in the injections.


https://www.deanbassett.com
25 Jan 2013

The title of the profile page does not have to be the member's user name.  Edit the template so that the title of the profile page is static.  Then you can use head injections on the profile page.

Geeks, making the world a better place
25 Jan 2013

 

The title of the profile page does not have to be the member's user name.  Edit the template so that the title of the profile page is static.  Then you can use head injections on the profile page.

 I spose that's possible but looses the personal touch.

Deano... would it be possible to allow only partial matching of the title? Have like a checkbox next to it to indicate allow a partial match... so on a profile page if you change the title to Welcome to {MemberNick}'s profile or something.... You could match just off of "Welcome to" etc.... 

25 Jan 2013

Hey,

I'm having a bit of trouble getting a script to work (most likely cuz I can't code whatsoever).  Anyway, I ouwld like to add a drop down on a page similar to the FAQs here : http://www.peacecorps.gov/learn/howvol/faq/

I tried copying the code from this page: http://stackoverflow.com/questions/10870797/drop-down-text-like-on-this-particular-website but no dice. Dunno if I'm missing something or what...I can drop it in fine, just dont' know if I'm missing a tag.  Can anyone shed some light on this? 

I did install the module ok, as I can see the script in the head.  

Thanks,

Aaron

15 Apr 2013

 

Hey,

I'm having a bit of trouble getting a script to work (most likely cuz I can't code whatsoever).  Anyway, I ouwld like to add a drop down on a page similar to the FAQs here : http://www.peacecorps.gov/learn/howvol/faq/

I tried copying the code from this page: http://stackoverflow.com/questions/10870797/drop-down-text-like-on-this-particular-website but no dice. Dunno if I'm missing something or what...I can drop it in fine, just dont' know if I'm missing a tag.  Can anyone shed some light on this? 

I did install the module ok, as I can see the script in the head.  

Thanks,

Aaron

This forum is for support for the module itself. For problems getting the module working. This does not seem to be the case here.

You stated you see the code is in the head as you inserted it, so the mod itself is working fine. It's doing what it is suppose to do.

So for general support for 3'rd party scripts your trying to get working in dolphin you should post your questions in the 7.0 or 7.1 dolphin forum depending on your version of dolphin. In the general forums, more people will see it as these product specific forums do not show up on the recent topics page http://www.boonex.com/forums/ so not many people will see it because product specific support forums are usually only looked at by those that own the module.



https://www.deanbassett.com
15 Apr 2013

 

Deano... would it be possible to allow only partial matching of the title? Have like a checkbox next to it to indicate allow a partial match... so on a profile page if you change the title to Welcome to {MemberNick}'s profile or something.... You could match just off of "Welcome to" etc.... 

 

23 Apr 2013

Thats on my upgrade list.

https://www.deanbassett.com
23 Apr 2013

cool thanks

23 Apr 2013

I would like to use this to insert an og meta tag to show my specific logo when sharing on facebook. Is there anyway to add it to all pages. I saw in an earlier post that it could not be done on all profile pages. I assume it can not be used site wide as well, but I wanted to check.

thanks

25 Apr 2013

 

I would like to use this to insert an og meta tag to show my specific logo when sharing on facebook. Is there anyway to add it to all pages. I saw in an earlier post that it could not be done on all profile pages. I assume it can not be used site wide as well, but I wanted to check.

thanks

 
This mod is designed for targeting individual pages. It does not do all pages.

To add something in-between the <head> tags of all pages then you edit the templates _header.html and add what you need there. That template will cover every page.

https://www.deanbassett.com
25 Apr 2013

I just updated to the latest version 7.1.2

The head injections do not seem to be working now.

I searched the page source for some of my existing injections & they do not show up.

Have you seen a prob from the upgrade?

31 May 2013

If you check the instructions for the head injections you will see there are modifications that have to be made to one of the dolphin files.

So yes. When you update dolphin, if that file gets replaced as part of the update then you need to re-modify the file. This is normal for any mod that requires source changes.

So re-apply the modifications to inc/classes/BxDolTemplate.php

See the modules instructions.



https://www.deanbassett.com
31 May 2013

As inc/classes/BxDolTemplate.php doesn't get changed (that I'm aware of) in the Dolphin-Patch-v.7.1.3 is it safe to assume that this mod is compatibile with 7.1.3?

http://www.boonex.com/m/Head_Injections
Currently: compatibility not specified

TravelNotes.org - The Online Guide to Travel
10 Jun 2013

Most likely. It has not been tested yet, but should be fine.

I have a lot of modules. I will be 2-3 weeks testing them all and updating as needed.

https://www.deanbassett.com
10 Jun 2013

First, what a great mod. Second, something strange happened to me on my way to SEO Meta Freedom. I did well until I hit Boonex Photos Album. Seems like the title is the same as inputted into the Admin area. I went to the Navigation menu and copied the language key for that page, then I went to the language settings and brought up the key and changed the text area from Album to Photos Album and it saved. Then went back to Nav. Menu and made sure it matched which it did. Then I clear cache in Admin area. Went back to the page refreshed and did Ctrl U to see that it remain the same. Okay, did I miss something or is it that I need more coffee, because it is late? Maybe both. No rush tonight, the 678/YUI on my forehead tells me it's time to get some sleep.

Vunderba..... Challenge Yourself to be the Best...... Hosting from Zarconia.net
25 Jul 2013

If your referring to the main album page. m/photos/albums/browse/all

Then yes, it shares the same title as the home page. I don't think you are going to edit that title with a simple language key change. And i do not know how to change it myself.

I am working on a new version of that mod that will match by URL instead of title. But keep running into issues with the way dolphin handles things, so that version will be a while if i can resolve the problems.

https://www.deanbassett.com
25 Jul 2013

Holy Crap! What a GREAT product!

Thanks again Dean!

I will give you five stars for this product.

P.

Peer L. Plaut Executive Director, Single Booklovers Connecting Bookworms Since 1970
5 Sep 2013

So I didn't see this before I brought this mod

''The current version of this mod only allows overriding of the title. No other
existing tags within the head can be overridden.''

anyway  I manually overwrite this (like where is the file for it)

I really brought this mod to input the following

<meta name="description" content="  " />
<meta name="keywords" content=" " />

4 Oct 2013

 

So I didn't see this before I brought this mod

''The current version of this mod only allows overriding of the title. No other
existing tags within the head can be overridden.''

anyway  I manually overwrite this (like where is the file for it)

I really brought this mod to input the following

<meta name="description" content="  " />
<meta name="keywords" content=" " />

 
You can. Your misunderstand. The title is something all pages have and it the only one that can be over-ridden. Meaning it's the only one that can be replaced.

You can still inject those on pages that don't have them. Which is all pages except the index page. And the index page is set in dolphins admin.

https://www.deanbassett.com
4 Oct 2013

 

 

So I didn't see this before I brought this mod

''The current version of this mod only allows overriding of the title. No other
existing tags within the head can be overridden.''

anyway  I manually overwrite this (like where is the file for it)

I really brought this mod to input the following

<meta name="description" content="  " />
<meta name="keywords" content=" " />

 
You can. Your misunderstand. The title is something all pages have and it the only one that can be over-ridden. Meaning it's the only one that can be replaced.

You can still inject those on pages that don't have them. Which is all pages except the index page. And the index page is set in dolphins admin.

 I am just asking since I can't replaced them with this mod where would I go in dolphin file to find for exp:

<title>Polls Home</title>
<base href="http://site.com/">
<meta content="Members Polls" name="description">
<meta content="poll,opinion,diagram" name="keywords">
<meta content="text/css" http-equiv="Content-Style-Type">
to chnage the item in red with cpanel
4 Oct 2013

Hmmm. I have no idea on that one. Other than the home page, that polls page is the only one i have see that has them.

I will have to look into it.

https://www.deanbassett.com
4 Oct 2013

Found it.

The polls has it's own settings. You can change those with the polls language keys.

_bx_poll_PH
_bx_poll_keyword
_bx_poll_home


Those are for the polls Description, Keywords, and title.

https://www.deanbassett.com
4 Oct 2013

Thanks a lot 

5 Oct 2013

Could you post the current version number?

version_number_missing.jpg · 116.9K · 371 views
Peer L. Plaut Executive Director, Single Booklovers Connecting Bookworms Since 1970
5 Jan 2014

 

Could you post the current version number?

Current version is 2.0.1

I fixed the market entry.

Although the market entry shows it was updated in August, it has not been updated since June of 2013. The update date in the market changes even if all we do is update a desc, or in the case i just did, fixed the version number entry.

Don't ask me for a list of changes on this one. I have no clue what the last change was. I have not kept a change log on this module. I am pretty sure my last update was just to make fixes for dolphin 7.1 compatibility.

https://www.deanbassett.com
5 Jan 2014

Market entry just updated. This is not a product update and no download is required. All i did was update the products description with a product incompatibility note.

Product Incompatibility Note: It has recently been brought to my attention that the module http://www.boonex.com/m/seo-meta-tags-add-custom-unique-meta-tags-to-eve provided by globalweb is not compatible with this module. The SEO module has instructions that require that certain template keys be removed which this mod requires be there. Thus the install of the SEO module will render this one non functional. The two modules cannot be installed together on the same site.

https://www.deanbassett.com
31 Mar 2014

Hi Dean

I purchased this module in March last year and it has been excellent.  However for some reason it is now not working, please can you help?  I am using version 7.1.

Thanks

Nancy

16 Apr 2014

 

Hi Dean

I purchased this module in March last year and it has been excellent.  However for some reason it is now not working, please can you help?  I am using version 7.1.

Thanks

Nancy


There are very few reasons it would no longer work when it previously was would be either you upgraded dolphin or restored some of dolphins files from an earlier backup.

You need to check to make sure the source code changes of the mod have been applied to inc\classes\BxDolTemplate.php as per the modules install instructions.

Also the mod has injection point requirements. The injection points that are normally in the templates _header.html file are...

__page_header__
__page_description__
__page_keywords__

which must remain in the template. So if you recently modified your template and removed any of those, then they must be put back in.

Also note it has recently been brought to my attention that the module http://www.boonex.com/m/seo-meta-tags-add-custom-unique-meta-tags-to-eve provided by globalweb is not compatible with this module. The SEO module has instructions that require that certain template keys be removed which this mod requires be there. Thus the install of the SEO module will render this one non functional. The two modules cannot be installed together on the same site.

https://www.deanbassett.com
16 Apr 2014

hi

i bought this to try to get my facebook likes to be recognized, but the problems still exists, maybe i am doing the meta code stuff wrong, i copied the one on the buy page

<meta name="description" content="This is just a sample description." />
<meta name="keywords" content="keywords, sample, injection, test" />
<meta name="author" content="Dean J. Bassett Jr." />
<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 2099 08:21:57 GMT">
<META NAME="ROBOTS" CONTENT="NOINDEX,NOFOLLOW">
<META NAME="COPYRIGHT" CONTENT="© 2010 Dean J. Bassett Jr.">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<META NAME="GOOGLEBOT" CONTENT="NOARCHIVE">
<meta name="generator" content="Dolphin 7.0.2">
<meta name="document-classification" content="Junk" />
<meta name="document-rating" content="General" />

because i basically just don't know what i am supposed to put there :(  so obviously it never worked

29 Apr 2014
29 Apr 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.