jostag 1.5 native — support
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
-
- Joomla! Intern
- Posts: 86
- Joined: Sun Jan 11, 2009 9:55 pm
Re: jostag 1.5 native — support
Thats strange. I just tried again and it strips the signs.
Did you copy this and tried with this?
I place the tag without a editor. What can else strip the signs?
{tag}script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXX-X']);
_gaq.push(['_trackPageview', '/404' + location.pathname + location.search]);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script{/tag}
Did you copy this and tried with this?
I place the tag without a editor. What can else strip the signs?
{tag}script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXX-X']);
_gaq.push(['_trackPageview', '/404' + location.pathname + location.search]);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script{/tag}
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: jostag 1.5 native — support
I used TinyMCE with that exact code you posted.
The code in jostag is
The code in jostag is
Code: Select all
$tag = str_replace("<", '<', $tag);
$tag = str_replace(">", '>', $tag);
if (strpos($tag, 'script') !== false)
{
$tag = '<'.$tag.'>';
}
else
{
$tag = '<'.$tag.'/>';
}
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
-
- Joomla! Apprentice
- Posts: 32
- Joined: Tue May 16, 2006 6:32 pm
Re: jostag 1.5 native — support
Hello Jean-Marie! i love JosTag and use it at nearly all my sites, but now i must use K2, and JosTag doesn't run inside of K2 items, it renders just the {tag}meta name="tagname" content="tagcontent"{/tag}
Is it possible to adjust Jostag to let it run with K2? i hope, such adjustment would not be a big deal?
thanks
Eugen
Is it possible to adjust Jostag to let it run with K2? i hope, such adjustment would not be a big deal?
thanks
Eugen
-
- Joomla! Apprentice
- Posts: 32
- Joined: Tue May 16, 2006 6:32 pm
Re: jostag 1.5 native — support
Hello Jean-Marie!
I achieve, that JosTag works together with K2. After publishing of Jostag, following code lines must be added to the K2 template, file item.php:
After tagname and your_extra_field_alias are changed to the needful values, additional meta tag wiil be published up in the K2 item head and populated with an extra field value.
Maybe you will find a more elegant solution to let JosTag work with K2, cause my solution work not out of the box and users need to hack at K2 templates...
Best regards from Berlin
Eugen
I achieve, that JosTag works together with K2. After publishing of Jostag, following code lines must be added to the K2 template, file item.php:
Code: Select all
<?php echo $this->item->event->onContentPrepare; ?>
<?php echo JHTML::_('content.prepare', '{tag}meta name="tagname" content="'.$this->item->extraFields->your_extra_field_alias->value.'"{/tag}'); ?>
Maybe you will find a more elegant solution to let JosTag work with K2, cause my solution work not out of the box and users need to hack at K2 templates...
Best regards from Berlin
Eugen
- vegas-kid
- Joomla! Enthusiast
- Posts: 104
- Joined: Tue Aug 29, 2006 6:04 am
- Location: Vegas
- Contact:
Re: jostag 1.5 native — support
Hi infograf!
Would I be able to use this plugin to insert a google rel="author" into specific blog posts?
EDIT -
It works!! Wooooo
I suspect many people concerned with Google Author status are going to be very pleased!
Would I be able to use this plugin to insert a google rel="author" into specific blog posts?
Code: Select all
<link rel="author" href="https://plus.google.com/108339835498294129326"/>
It works!! Wooooo
I suspect many people concerned with Google Author status are going to be very pleased!
-
- Joomla! Intern
- Posts: 86
- Joined: Sun Jan 11, 2009 9:55 pm
Re: jostag 1.5 native — support
Hi
I have discovered that version 2.2 breaks the "Smart search" index service. When clicking "Index" it get this error :
undefined
undefined
null
It work fine when i disable Jostag plugin.
I have discovered that version 2.2 breaks the "Smart search" index service. When clicking "Index" it get this error :
undefined
undefined
null
It work fine when i disable Jostag plugin.
-
- Joomla! Apprentice
- Posts: 22
- Joined: Mon Jun 30, 2008 9:52 pm
Re: jostag 1.5 native — support
Are you still supporting the Joomla 1.5 version?
I just installed jostag on a joomla 1.5 site. I tried adding the tag, but the source shows it in the body. It is a js file. I noticed that you said only v2.2 supports js, and thats for joomla 2.5. How can I put a js file into the head tag on a j1.5 site?
(www.betachon.com)
Thanks!
I just installed jostag on a joomla 1.5 site. I tried adding the tag, but the source shows it in the body. It is a js file. I noticed that you said only v2.2 supports js, and thats for joomla 2.5. How can I put a js file into the head tag on a j1.5 site?
(www.betachon.com)
Thanks!
-
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Jun 25, 2013 4:05 pm
Re: jostag 1.5 native — support
Vegas could you please tell me how did you make and where did you put the code, I´m pretty nob on this, but I want to include the author tag in my blog.
Thanks
Thanks
vegas-kid wrote:Hi infograf!
Would I be able to use this plugin to insert a google rel="author" into specific blog posts?
EDIT -Code: Select all
<link rel="author" href="https://plus.google.com/108339835498294129326"/>
It works!! Wooooo
I suspect many people concerned with Google Author status are going to be very pleased!
- vegas-kid
- Joomla! Enthusiast
- Posts: 104
- Joined: Tue Aug 29, 2006 6:04 am
- Location: Vegas
- Contact:
Re: jostag 1.5 native — support
Hey there.
1 - Install jostag
2 - At the end of your article, place this text. Jostag should convert it so don't worry about it showing up as text in your article. If it does, then make the edit with no editor.
{tag}link rel="author" href="https://plus.google.com/106046968536869333700"/{/tag}
3 - Edit the "106046968536869333700" to be your google+ number.
4 - Save it and publish it.
5 - Ensure that on your G+ profile you edit the "Contributor to" section to include the domain name. Not page, just root domain.
6 - Test it out at googles strucured data testing tool. (May take a while if your contributor section is freshly edited.)
http://www.google.com/webmasters/tools/richsnippets
1 - Install jostag
2 - At the end of your article, place this text. Jostag should convert it so don't worry about it showing up as text in your article. If it does, then make the edit with no editor.
{tag}link rel="author" href="https://plus.google.com/106046968536869333700"/{/tag}
3 - Edit the "106046968536869333700" to be your google+ number.
4 - Save it and publish it.
5 - Ensure that on your G+ profile you edit the "Contributor to" section to include the domain name. Not page, just root domain.
6 - Test it out at googles strucured data testing tool. (May take a while if your contributor section is freshly edited.)
http://www.google.com/webmasters/tools/richsnippets
-
- Joomla! Apprentice
- Posts: 22
- Joined: Mon Jun 30, 2008 9:52 pm
Re: jostag 1.5 native — support
well done, vegas-kid!
-
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Jun 25, 2013 4:05 pm
Re: jostag 1.5 native — support
awesome ...... !!!!
Thanks you very much!
It works perfectly
Thanks you very much!
It works perfectly
- vegas-kid
- Joomla! Enthusiast
- Posts: 104
- Joined: Tue Aug 29, 2006 6:04 am
- Location: Vegas
- Contact:
Re: jostag 1.5 native — support
Great!zafnath wrote:awesome ...... !!!!
Thanks you very much!
It works perfectly
Just remember that Google is still working through the kinks with this.. It may take a few days before you see your smiling mug in the Search results. That reminds me, your G+ profile image must be a clear headshot. No full body or anything else, just your smiling mug shot.
-
- Joomla! Fledgling
- Posts: 3
- Joined: Tue Jun 25, 2013 4:05 pm
Re: jostag 1.5 native — support
Yup I read the examples and the guidelines over and over :S just the Smilling mug ha ha ha...
Thanks Again.!
Thanks Again.!
-
- Joomla! Apprentice
- Posts: 21
- Joined: Wed Oct 17, 2012 9:33 am
Re: jostag 1.5 native — support
Hi,
Really great extension, but I have found two little problems :
1) I was not able to make work the code example you give in the instructions :
{tag}meta name="googlebot" content="noindex, no follow"{/tag}
{tag}script src="myjavascript.js" type="text/javascript"> </script{/tag}
I think should be :
{tag}meta name="googlebot" content="noindex, no follow"{/tag}
{tag}script src="myjavascript.js" type="text/javascript{/tag} {tag}/script{/tag}
2) The source code of my page shows the lines inserted after the last script of the head, but before the stylesheets so if I code this :
{tag}link rel="stylesheet" type="text/css" href="stylesheetthispage.css"{/tag}
stylesheetthispage.css is not the last css code of the head and could be overwritten.
Is there any way that jostag writes just before < /head> tag ?
Really great extension, but I have found two little problems :
1) I was not able to make work the code example you give in the instructions :
{tag}meta name="googlebot" content="noindex, no follow"{/tag}
{tag}script src="myjavascript.js" type="text/javascript"> </script{/tag}
I think should be :
{tag}meta name="googlebot" content="noindex, no follow"{/tag}
{tag}script src="myjavascript.js" type="text/javascript{/tag} {tag}/script{/tag}
2) The source code of my page shows the lines inserted after the last script of the head, but before the stylesheets so if I code this :
{tag}link rel="stylesheet" type="text/css" href="stylesheetthispage.css"{/tag}
stylesheetthispage.css is not the last css code of the head and could be overwritten.
Is there any way that jostag writes just before < /head> tag ?
- infograf768
- Joomla! Master
- Posts: 19133
- Joined: Fri Aug 12, 2005 3:47 pm
- Location: **Translation Matters**
Re: jostag 1.5 native — support
FYI info, jostag 3.0.0 is now available.
It solves a few issues and add some improvements.
Available here: https://extensions.joomla.org/extension ... on/jostag/
It solves a few issues and add some improvements.
Available here: https://extensions.joomla.org/extension ... on/jostag/
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group