Joomla tags

a real free joomla tag system

  • Increase font size
  • Default font size
  • Decrease font size
 Joomla Tags Support Forum :: Feature Request
Welcome Guest   
 Subject :Replace space with - in Tag Sef Plugin.. 2009-07-05 04:12:31 
GabyZ
Intern
Joined: 2009-07-03 14:00:54
Posts: 7
Location
<p>Hi,</p><p> </p><p>Tag urls have %20 in their name, so i'm getting urls like /tag/tag name.html  (recognized as /tag/tag%20name.html  ny google), can you put - instead of spaces? My Sef component Sef advance does that for all the urls but not the tag urls. </p><p> </p><p> </p>
 Subject :Re: Replace space with - in Tag Sef Plugin.. 2009-07-09 01:33:19 
joomlatags
Master
Joined: 2009-02-15 12:36:41
Posts: 581
Location
<p>In fact, tags sef plugin use the tag name directly as the url.</p><p>So, we can't change the url, otherwise, we can't find the tag any more. </p>
 Subject :Re:Replace space with - in Tag Sef Plugin.. 2009-07-15 13:12:06 
network
Intern
Joined: 2009-06-21 19:00:24
Posts: 8
Location: Paris
<p>In the tag plugin I do : $tag = Str_replace ("","-", $tag);<br /><br />And at the begining of \com_tag\views\tag\tpl\default.php<br /><br />$tag = Str_replace ("-"," ", $tag);<br /><br />And it work ;)</p>
IP Logged
 Subject :Re:Replace space with - in Tag Sef Plugin.. 2009-12-06 03:31:34 
khaled8
Apprentice
Joined: 2009-12-06 10:28:45
Posts: 1
Location
<p><strong>network</strong></p>
<p><br /><strong>Can please explain more ? i spent hours trying to do what you said but it's very unclear, can please specify the files and lines to edit ? it will be a great help.</strong></p>
<p><br /><strong>Thanks you.<br /> </strong></p>
IP Logged
 Subject :Re:Replace space with - in Tag Sef Plugin.. 2009-12-18 11:52:59 
abct34
Enthusiast
Joined: 2009-11-11 23:14:33
Posts: 10
Location
<p>@Joomlatags,</p>
<p>Do you have any idea how to fix this bug.</p>
<p>I think its not very convenient to have such urls.</p>
<p>it cant even lowercase the url. I like using capitalized letter in my tags as I have names, authors etc.</p>
<p>Could you at least tell us what "network" may have meant by this</p>
<p><em>In the tag plugin I do : $tag = Str_replace ("","-", $tag);<br /><br />And at the begining of \com_tag\views\tag\tpl\default.php<br /><br />$tag = Str_replace ("-"," ", $tag);<br /><br />And it work ;)</em></p>
<p><br />Thanks for this great component.<em><br /></em></p>
IP Logged
 Subject :Re:Replace space with - in Tag Sef Plugin.. 2009-12-21 08:41:49 
hli
Apprentice
Joined: 2009-11-05 17:24:19
Posts: 3
Location
<p>Hi,</p>
<p>I suggest to offer a field "Word Separator" in plugin configuration to customize the way multi-word URLs are built.</p>
<p> </p>
IP Logged
 Subject :Re:Replace space with - in Tag Sef Plugin.. 2009-12-28 20:55:51 
joomlatags
Master
Joined: 2009-02-15 12:36:41
Posts: 581
Location
<p>Since a lot of users have request this feature, we will fix this problem in the next release.</p>
<p>We will add a new field(alias) to database, so that we can keep the tag as the user input, and use the alias to build the url.</p>
<p> </p>
IP Logged
 Subject :Re:Replace space with - in Tag Sef Plugin.. 2010-01-05 19:20:02 
haci
Apprentice
Joined: 2009-11-24 11:54:55
Posts: 1
Location
<p>its not working with $tag = Str_replace ("","-", $tag);</p>
<p> </p>
<p>what are you doing @network??? can you explain step by step?</p>
<p> </p>
<p>("-"," ", $tag) or ("","-", $tag) which one?</p>
IP Logged
 Subject :Re:Replace space with - in Tag Sef Plugin.. 2010-03-05 14:21:16 
sevenrussian
Apprentice
Joined: 2010-03-05 21:08:09
Posts: 1
Location
<p>Do that:</p>
<ol>
<li>in <span style="text-decoration: underline;"><strong><em>components/com_tag/route.php</em></strong></span> before string "<em>return $segments;</em>" insert: "<em>$segments = str_replace(' ','_', $segments);</em>"</li>
<li>in <span style="text-decoration: underline;"><strong><em>plugins/system/tagSEF.php</em></strong></span> in <strong>function prehandle($uir)</strong> before "<em>JRequest::setVar('tag',$tag);</em>" insert "<em>$tag = str_replace ('_',' ', $tag);</em>"</li>
</ol>
<p>Do this you have url type: "<strong>sitename.domain/tags/first_word_and_seond_word.html</strong>"</p>
IP Logged
Last Edited On: 2010-03-05 14:21:16 By sevenrussian for the Reason
 Subject :Re:Replace space with - in Tag Sef Plugin.. 2010-05-17 23:08:10 
joomlatags
Master
Joined: 2009-02-15 12:36:41
Posts: 581
Location
<p>In version 1.3.2, the feature has been done.</p>
IP Logged
Page # 


Powered by ccBoard


Newsletter

Please subscribe to our newsletter to stay up-to-date with the latest news and release notifications delivered to your inbox.
Tags for Joomla



Joomla Plugin:ReadMoreExt