solved Problem Using The Meta Tag Manager

derrickhand300
@derrickhand300
10 years ago
1,353 posts
Not sure if I am using it correctly?
I have added a few meta tags to test with and saved them...cleared cache-ran integrity check...etc...cleared browser cache...then viewed page source code and none of the meta tags I added are showing up in the source code
Wondering if I am doing something wrong?
Capture.JPG.jpg
Capture.JPG.jpg  •  61KB


updated by @derrickhand300: 12/22/16 11:55:59AM
derrickhand300
@derrickhand300
10 years ago
1,353 posts
Here is a screenshot of the page sourcecode after adding the meta tags...
aaCapture1.JPG.jpg
aaCapture1.JPG.jpg  •  57KB


updated by @derrickhand300: 06/07/15 06:15:50AM
douglas
@douglas
10 years ago
2,804 posts
I'm not seeing an issue on my test site. Make sure you've got the Meta Tags Active checkbox checked in your ACP > Site > Meta Tag Manager > Global Config tab.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
derrickhand300
@derrickhand300
10 years ago
1,353 posts
Thanks Douglas...yes I have it checked
in the TAG CONTENT box do I just type the description of the tag or do I need to add the actual
<META=..../>
I have just been typing the description without tags...
I am using the new site builder in the Slate skin with very few customization's...
douglas
@douglas
10 years ago
2,804 posts
You just need the text, not the tags.

I just added a description meta tag to my skins index.tpl via the Meta Tag Manager and I see it in the source.

Which tag are you trying to create?


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
derrickhand300
@derrickhand300
10 years ago
1,353 posts
I am trying to add the Open Graph tags.. to specific pages using the tool in the screenshot
capture.jpg
capture.jpg  •  226KB


updated by @derrickhand300: 06/07/15 11:06:24AM
douglas
@douglas
10 years ago
2,804 posts
Site pages would be for pages created by the ACP > Site > Page Creator, if you need your meta tag(s) on a page that is created by a skin template, you'll have to select that template from the list.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
derrickhand300
@derrickhand300
10 years ago
1,353 posts
My pages were created using the new Site Builder>Menu>...
All the pages I created show up individually in the Meta tag Manager Drop Down Menu....just cant add any meta tags to them...still think I must be doing something wrong because it looks so simple...
douglas
@douglas
10 years ago
2,804 posts
Okay, I'm seeing the same issue now as well.

I'll get a ticket opened for this.

Thanks!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
gary.moncrieff
gary.moncrieff
@garymoncrieff
10 years ago
865 posts
I have tried using the meta manager before but always found it too cumbersome to use, a more elegant solution is needed. What form that should take however I am not sure as I have no experience of how good Jamrooms out of box seo is without usign this module.

Any data points out there?
derrickhand300
@derrickhand300
10 years ago
1,353 posts
Thanks Douglas- the way its set it up it looks like it would be near perfect for me so i hope it finally gets worked out
michael
@michael
10 years ago
7,800 posts
Try version 1.0.5 in the marketplace now.
derrickhand300
@derrickhand300
10 years ago
1,353 posts
Thanks Michael- this works perfectly- you did a great job of creating it! I am pretty excited about adding tags to each product I sell now
Well done again!
michael
@michael
10 years ago
7,800 posts
:) thanks.
derrickhand300
@derrickhand300
10 years ago
1,353 posts
Just found what I think may be a bug...

The "bug" seems to be that all custom meta tags added with the meta tag manager are erased if you make a change to the meta.tpl code later



I started adding all the following meta tags using the Meta Tag manager to individual products

Here is an example:


1<meta property="og:title" content="" />
2<meta property="og:url" content="" />
3<meta property="og:description" content="" />
4<meta property="og:image" content="" />

5<meta property="og:locale" content="en_US" />  
6<meta property="article:author" content="" />
7<meta property="article:publisher" content="" />
8<meta property="og:site_name" content=""/>


After doing a few products I realized i could cut my time in half if I added 5-8 in my sites meta.tpl becausae its the same for every page of the site

So I added the tags to the meta.tpl then added them directly using FTP to avoid problems with using the template override feature...

Anyway 5-8 are now present in page source code on all pages BUT all the custom tags I added per page (1-4) are now gone...it seems making a change to the meta.tpl file erases all the custom tags that were added in the Meta tag Manager..

I am about to start adding them back now- but I am worried if I make an edit in the future to the meta.tpl file it will erase ALL the custom tags I have added....Pls check on this when you have time

Thanks!
michael
@michael
10 years ago
7,800 posts
Best guess is you've removed a foreach loop in your meta.tpl that needs to be there. Got an example of what you changed?

Make sure you still have this section in your meta.tpl
{if isset($meta)}
{foreach from=$meta key="mname" item="mvalue"}
<meta name="{$mname}" content="{$mvalue}">
{/foreach}
{/if}
derrickhand300
@derrickhand300
10 years ago
1,353 posts
Yes the if/else is still there and intact. I actually did not remove anything from the meta.tpl- I just added the following just above the if/else

  <!--FaceBook-->
<meta property="og:locale" content="en_US" />  
<meta property="og:site_name" content="Roughneck City"/>
<meta property="article:author" content="https://www.facebook.com/DrillingAhead" />
<meta property="article:publisher" content="https://www.facebook.com/DrillingAhead" />
<meta property="fb:app_id" content="391700477700596" />

Here is the entire meta.tpl

<!doctype html>
<html lang="{jrCore_lang module="_settings" id="lang" default="en"}" dir="{jrCore_lang module="_settings" id="direction" default="ltr"}">
<head>{jrCore_lang skin=$_conf.jrCore_active_skin id="1" assign="default_title"}
<title>{$page_title|default:"`$default_title`"|capitalize} | {$_conf.jrCore_system_name}</title>
<script>
{* This is to make widgets drag-n-droppable on an iPad combined with ios-drag-drop.js *}
var iosDragDropShim = { enableEnterLeave: true }
</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />



<script type="text/javascript" src="/java/FWDEAP.js"></script> 

  <!--FaceBook-->
<meta property="og:locale" content="en_US" />  
<meta property="og:site_name" content="Roughneck City"/>
<meta property="article:author" content="https://www.facebook.com/DrillingAhead" />
<meta property="article:publisher" content="https://www.facebook.com/DrillingAhead" />
<meta property="fb:app_id" content="391700477700596" />
 
{if isset($meta)}
{foreach from=$meta key="mname" item="mvalue"}
<meta name="{$mname}" content="{$mvalue}" />
{/foreach}
{/if}
<link rel="stylesheet" href="{jrCore_server_protocol}://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,700italic,300,400,600,700" type="text/css">
<link rel="stylesheet" href="{jrCore_css_src}" media="screen" />
{if isset($css_href)}
{foreach from=$css_href item="_css"}
<link rel="stylesheet" href="{$_css.source}" media="{$_css.media|default:"screen"}" />
{/foreach}
{/if}
{if isset($css_embed)}
<style type="text/css">
{$css_embed}</style>
{/if}
{if isset($javascript_embed)}
<script type="text/javascript">
{$javascript_embed}</script>
{/if}
<script type="text/javascript" src="{jrCore_javascript_src}"></script>
{if isset($javascript_href)}
{foreach from=$javascript_href item="_js"}
<script type="{$_js.type|default:"text/javascript"}" src="{$_js.source}"></script>
{/foreach}
{/if}
{if isset($javascript_ready_function)}
<script type="text/javascript">
$(document).ready(function(){
{$javascript_ready_function}return true;
});
</script>
{/if}
 
</head>

Again whats happening is I add maybe 2 pages of meta tags using the meta tag manager- THEN added the facebook meta tags to the above template and saved THEN when I went back into the meta tag manager ALL the meta tags I previously added were gone.. IE the data in meta tag manager is blank now...
derrickhand300
@derrickhand300
10 years ago
1,353 posts
Got a BIG problem...just spent 4 hours creating custom meta tags and sharing on Facebook...created the last one and all my custom meta tags have disappeared again...this is a MAJOR bug...and I am really upset about losing all my data again...can we check this out please?

Hopefully they are still somewhere in the datastore-will wait to hear what i should do before trying to recover the info
updated by @derrickhand300: 06/16/15 11:49:56AM
derrickhand300
@derrickhand300
10 years ago
1,353 posts
Its all gone from page source code also...I think the issue is that when you complete a page of data in the meta tag manager...and it has all it can hold-its deleting the data and starting over.
michael
@michael
10 years ago
7,800 posts
Your right, there is a problem when the amount of data input gets bigger than the field expects to contain.

we'll get this fixed up.

Thanks for finding it, sorry for the trouble.
brian
@brian
10 years ago
10,149 posts
This has been fixed in the latest release - update and let us know if you see issues.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
derrickhand300
@derrickhand300
10 years ago
1,353 posts
Thanks-still a few bugs in it but it does seem to be keeping all the data now..
Bug Im experiencing now is cannot delete a meta tag..hit the delete button and the meta tag still remains...clear cache and integrity check and its still there... also cannot edit a meta tag using edit button because it will not allow the edit to go to the same page as the original...
Will wait til Michael gets to feeling better and update him
Thanks!
updated by @derrickhand300: 06/20/15 07:19:06AM
derrickhand300
@derrickhand300
10 years ago
1,353 posts
These seem to be the errors associated with deleting a meta tag using the meta tag manager

ACTIVITY LOG
/sbcore/modify_page_settings/id=9/__ajax=1
Memory	2.3MB
Data	
Array
(
    [name] => jrmeta_add_tags
    [label] => Meta Tags
    [help] => Open the meta tag browser to add tags to this page.
    [html] => <a href="http://roughneckcity.com/metatag/browse" target="_blank">Add meta tags to this page</a>
    [type] => custom
    [template] => form_field_elements.tpl
    [show_update_in_help] => 0
)

PHP ERROR LOG
[20-Jun-2015 17:36:55 Europe/Dublin] PHP Notice: Undefined index: profile_url in /home/rough/public_html/modules/jrAction/include.php on line 149 [x 50]

At least these arwe what show up after deleting all error logs- then trying to delete a meta tag- then going back to error log and copying
michael
@michael
10 years ago
7,800 posts
That's not an error, its a notice. It means "You tried to do something with an empty list of items, but there were no things in the list, so im telling you.... the list was empty."
derrickhand300
@derrickhand300
10 years ago
1,353 posts
Sorry Im so confused- its listed under ERRORS ONLY tab of the Activity ...
Capture.JPG.jpg
Capture.JPG.jpg  •  95KB


updated by @derrickhand300: 06/22/15 02:20:12AM
michael
@michael
10 years ago
7,800 posts
The errors in the image are different to the one posted above.

I've not seen that error before, I'll have to investigate. Thanks.
derrickhand300
@derrickhand300
10 years ago
1,353 posts
Thank you
Is there a datastore somewhere that I can use to edit/delete meta tags in jrMeta?

Tags