jostag 1.5 native — support

This forum is for general questions about extensions for Joomla! version 1.5.x.

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.
tekstlogo
Joomla! Intern
Joomla! Intern
Posts: 86
Joined: Sun Jan 11, 2009 9:55 pm

Re: jostag 1.5 native — support

Post by tekstlogo » Sat Dec 15, 2012 2:23 am

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}

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: jostag 1.5 native — support

Post by infograf768 » Sun Dec 16, 2012 10:56 am

I used TinyMCE with that exact code you posted.

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

chilly_bang
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Tue May 16, 2006 6:32 pm

Re: jostag 1.5 native — support

Post by chilly_bang » Mon Jan 14, 2013 11:50 am

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

chilly_bang
Joomla! Apprentice
Joomla! Apprentice
Posts: 32
Joined: Tue May 16, 2006 6:32 pm

Re: jostag 1.5 native — support

Post by chilly_bang » Mon Jan 14, 2013 6:45 pm

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:

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}'); ?> 
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

User avatar
vegas-kid
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 104
Joined: Tue Aug 29, 2006 6:04 am
Location: Vegas
Contact:

Re: jostag 1.5 native — support

Post by vegas-kid » Fri Jan 25, 2013 1:04 am

Hi infograf!

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"/>
EDIT -

It works!! Wooooo :D :D :D

I suspect many people concerned with Google Author status are going to be very pleased!

tekstlogo
Joomla! Intern
Joomla! Intern
Posts: 86
Joined: Sun Jan 11, 2009 9:55 pm

Re: jostag 1.5 native — support

Post by tekstlogo » Wed Mar 27, 2013 3:51 pm

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.

chit107
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Mon Jun 30, 2008 9:52 pm

Re: jostag 1.5 native — support

Post by chit107 » Tue May 07, 2013 6:18 pm

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!

zafnath
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Jun 25, 2013 4:05 pm

Re: jostag 1.5 native — support

Post by zafnath » Tue Jun 25, 2013 4:10 pm

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

vegas-kid wrote:Hi infograf!

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"/>
EDIT -

It works!! Wooooo :D :D :D

I suspect many people concerned with Google Author status are going to be very pleased!

User avatar
vegas-kid
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 104
Joined: Tue Aug 29, 2006 6:04 am
Location: Vegas
Contact:

Re: jostag 1.5 native — support

Post by vegas-kid » Tue Jun 25, 2013 4:26 pm

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

chit107
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Mon Jun 30, 2008 9:52 pm

Re: jostag 1.5 native — support

Post by chit107 » Tue Jun 25, 2013 4:29 pm

well done, vegas-kid!

zafnath
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Jun 25, 2013 4:05 pm

Re: jostag 1.5 native — support

Post by zafnath » Tue Jun 25, 2013 5:33 pm

awesome ...... !!!!

Thanks you very much! :pop

It works perfectly

User avatar
vegas-kid
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 104
Joined: Tue Aug 29, 2006 6:04 am
Location: Vegas
Contact:

Re: jostag 1.5 native — support

Post by vegas-kid » Tue Jun 25, 2013 5:46 pm

zafnath wrote:awesome ...... !!!!

Thanks you very much! :pop

It works perfectly
Great!

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.

zafnath
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Jun 25, 2013 4:05 pm

Re: jostag 1.5 native — support

Post by zafnath » Tue Jun 25, 2013 6:24 pm

Yup I read the examples and the guidelines over and over :S just the Smilling mug ha ha ha...
Thanks Again.!

ylodis
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Wed Oct 17, 2012 9:33 am

Re: jostag 1.5 native — support

Post by ylodis » Fri Jan 17, 2014 4:44 pm

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 ?

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: jostag 1.5 native — support

Post by infograf768 » Wed Mar 07, 2018 11:43 am

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/
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group


Locked

Return to “Extensions for Joomla! 1.5”