Head Injections Support

This is the support forum for my new module called Head Injections.

Per Page Head Injections
Version 1.0
Compatable with Dolphin 7.0.x

Requires source code changes to inc\classes\BxDolTemplate.php

This product contains a module and instructions for source changes to inc\classes\BxDolTemplate.php

The Per Page Head Injections mod allows you to inject additional code such as meta tags,
script and style tags into the head section of any page.

Pages are matched by their current title. The title is currently the only tag within
the head that can be overridden.

You can insert any other information into the head such as.

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




To see a sample page with these extra tags injected go here.
http://www.deanbassett.com/page/injectiontest


You can find this module in the market here.
http://www.boonex.com/unity/extensions/entry/Head_Injections

https://www.deanbassett.com
Quote · 24 Jul 2010

Of course the forum is messing up my list of sample injections, but you get the idea.

https://www.deanbassett.com
Quote · 24 Jul 2010

Is it possible to mask the title?  I would really like to add code (Google Analytics) to the head of all pages, and I would rather not have to specify it for each page individually.  The standard Boonex admin settings have a place for adding meta tags, but not scripts.

Thanks,

Lynn

 

Lynn Grant

for Neva Cross

Cross Design Group LTD

Quote · 6 Mar 2011

My head injections mod is for individual page control.

If you want it globally on all pages, then you just modify the template.

templates\base\_header.html.

Or if you have a custom template check it for a _header.html

Putting you code in dolphins main header will put it on all pages.

https://www.deanbassett.com
Quote · 6 Mar 2011

Deano,

 

When you say pages are matched by their current title, do you mean the title we see on top of the browser window, or the titles that are in the sys_page_compose_pages table?

 

Thanks

Quote · 18 Mar 2011

 

Deano,

 

When you say pages are matched by their current title, do you mean the title we see on top of the browser window, or the titles that are in the sys_page_compose_pages table?

 

Thanks

Page title show on top of the browser. Best way to get that is to go to the page you want the injections on, then view the source of that page with the browser and use what is in-between the <title></title> tags.


https://www.deanbassett.com
Quote · 19 Mar 2011

Hi Deano,

I suppose this module would be really good for removing pages from Google also as currently we cannot put no index on these pages.

I also need to do an upgrade of Dolphin, do you suggest i upgrade and then install this or before? Will i have to re install every time i upgrade?

Thanks

M

Quote · 24 Mar 2011

Upgrade first.

Yes, This mod requires source changes. So the source portion of the mod may have to be done again after each dolphin upgrade if the upgrade replaces the files the mod requires changes to.



https://www.deanbassett.com
Quote · 24 Mar 2011

dear mr.deano92964,

i purchased your Head Injections... i just want to know how to remove the title of the forum click here: http://legalservices.co.in/forum/

 

see the title: Recent Topics :: Orca Forum i want to  replace Orca Forum with Law forum

how can i do this please help

Quote · 23 Apr 2011

You can't. At least not with this mod.

Go back to the market entry and re-read the product description. At the bottom of the description just before the screenshots is this note:

NOTE: This product will not work as expected in the Orca Forums. All forum topics have the same title from a source code point of view. The forums change the title on the fly via javascript which this mod cannot detect.

This mod does not work on the forum pages due to the way the forums are designed.

https://www.deanbassett.com
Quote · 23 Apr 2011
I just upgraded to 7.0.6 and changed all the stuff in inc\classes\BxDolTemplate.php but the stuff never shows in the header. Was working fine in 7.04. now there is nothing. Any Ideas?
Quote · 23 Apr 2011

 

I just upgraded to 7.0.6 and changed all the stuff in inc\classes\BxDolTemplate.php but the stuff never shows in the header. Was working fine in 7.04. now there is nothing. Any Ideas?

Remember, There is a source code portion of the mod. After a upgrade of dolphin, most mods that require source code changes will have to have the source changes reapplied.


https://www.deanbassett.com
Quote · 23 Apr 2011

 

 

dear mr.deano92964,

i purchased your Head Injections... i just want to know how to remove the title of the forum click here: http://legalservices.co.in/forum/

 

see the title: Recent Topics :: Orca Forum i want to  replace Orca Forum with Law forum

how can i do this please help

there is a way of doing it... i can't remember on top of my head now.. but i have done in in past..

have a look in forum if not contact me i will try to figure out again.

Regards........ M.Chauhan U.K.
Quote · 23 Apr 2011

Hi

2 times I set a injection for homepage. It's working great...than the day after the injection is passed from 1 to 0 and is empty ?

Any idea ?

 

 

Quote · 3 May 2011

i have recently upgraded from dolphin 7.0.4 to dolphin7.0.6

but after this upgrade the header injection is not working any more

kindly help, i have also sent you an email but no response till now.

 

Quote · 1 Jun 2011

Dolphin upgrades replace files.

This mod has 2 parts. A module and source code changes.

Because the upgrade most likley replaced the modified file, the source change portion of the mod will need to be reapplied.

https://www.deanbassett.com
Quote · 1 Jun 2011

first of all thanks for the reply.
i did that now the keywords and descriptions are coming thats great,

but the TITLE is not changing say for example

blogs Home in this url was replaced with Law Blogs in India

but now i am not able to get that changed kindly help me in that
http://legalservices.co.in/blogs/home/

plz reply to my email

Quote · 2 Jun 2011

I cannot find any emails from you. Either you sent to wrong address, or it ended up in my spam filters. If it's in my spam folder i will not be able to find it. I get between 2000-3000 spam emails per day.

You could try emailing again, and then let me know here what you put in the subject line so i can try and find it.

You need to double check your source changes. It appears the one that sets the title is not correct.

https://www.deanbassett.com
Quote · 2 Jun 2011

just send me a mail at mytarun@yahoo.com

i will send u my ftp details so that u can check it plz help

i will make any additional payment u may ask for in getting it set up.

Quote · 2 Jun 2011

have u mailed me at mytarun@yahoo.com as yet, i havn't received your mail.

earlier i had mailed u at latincrib@live.com

Quote · 3 Jun 2011

Its DONE i did it -  working fine now  Title has come

 

special request plz delete my email id mentioned in this forum or else spammers will spoil my inbox.

Quote · 3 Jun 2011

Hey Deano,

Does this mod allow you to remove style/page elements like breadcrumbs and other css that I don't want to display on some pages? Right now I place head injections in html blocks which get the job done but is very unorganized.

Quote · 13 Jun 2011

No it does not.

It allows to the insertion of additional items in between the <head> tags. It does not remove existing ones.

https://www.deanbassett.com
Quote · 13 Jun 2011

i am using your header injection since 3 months it is a very good product all should purchase it. it helps in google search ranking

Quote · 14 Jul 2011

Hello Deano,

 

I was wondering if there was any way to use the injector to drop in the user name on the Generic "public" view of profiles.  Something along the lines of  shortcodes i could use to place the user name in the title.

 

Currently, My profile views (when logged out) show a "we are sorry please register to view member profiles" prompt, but the title tag is " (site) - Social Network Member Profile"   I can change it on a blanket scale, however duplicate title tags make this rough, so I want to inject "Member Profile for (strip name from url) - (site)"


Any thoughts? Regex maybe?  

Let me know

Work. Work.
Quote · 12 Sep 2011

No there is not. I will make a note of it for future versions.

https://www.deanbassett.com
Quote · 12 Sep 2011

Thanks,

Great mod by the way, dont get how any site on D7 lives without it!

 

 

Greg

Work. Work.
Quote · 13 Sep 2011

I have used this mode to get the header info to show up on face book wall post. it worked on one page for a while. i have since set up a few more pages on my site and i notice none of them work anymore.. could there be a issue with face book ? on fb book i get the http://mysite.com/m/poetry/home/ for the tile description.  When i go to view source i see Poetry Home as the title and there is no description or a line of code for it in the header.

 

In the header in the admin panel I have <title>Check Out Poetry, Poems, and Short Stories</title>
<meta name="description" content="Submit and/or read many poems such as love poem s on mysite.com " />
<meta name="author" content="mysite" />
<META NAME="ROBOTS" CONTENT="INDEX,FOLLOW">
<META NAME="COPYRIGHT" CONTENT="© 2012 mysite.com">
<meta name="generator" content="mysite.com">
<meta name="document-classification" content="Poetry" />
<meta name="document-rating" content="General" />

Quote · 4 Sep 2012

I need a actual real URL and i need to see a screen shot of the injection for that page.

Also have you upgraded dolphin since the module was installed. There is a source change portion of this mod that upgrades to dolphin can wipe out. So you need to check to make sure that is still there.

https://www.deanbassett.com
Quote · 4 Sep 2012

i sent u a pm

Quote · 5 Sep 2012

Got it and replied. You will have two messages from me. Ignore the first one. I sent that before i realized two of your injections are working.

I see that join and Writing Contests is working. Poetry Home is not.

You need to edit the injection for Poetry Home and check the title to match on. Make sure there are no leading or trailing spaces. For some reason it is not finding a title match.

While your at it, you should also change Writing Contests. Because your not changing the title, you should not specify it as one of the injections. You should only over ride the title with an injection when your actually changing the title.

https://www.deanbassett.com
Quote · 5 Sep 2012
 
 
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.