|
uCoz Community uCoz Modules Site News & Blogs How to set automatic add Tags (separated by comma): |
How to set automatic add Tags (separated by comma): |
Hi all Ucoz staff i need help How to set automatic add Tags (separated by comma): in size news pls help me someone Check this screenshort Attachments:
0557006.png
(17.0 Kb)
Post edited by cracker56 - Sunday, 2011-08-07, 9:59 AM
|
cracker56, I don't believe uCoz has an option for this. I have seen it achieved though through the use of custom scripting. I may be wrong but from what I have seen it can't be done without scripts.
You may find something you could user here: http://ucause.ucoz.com Hope this helps, Jack of all trades in development, design, strategy.
Working as a Support Engineer. Been here for 13 years and counting. |
This website for automatic tag adding is not online is there any other idea
cause I would like this funtion too Added (2012-10-05, 2:35 PM) |
carloscompu, I will get the script for you. I am good friends with the owner of the site and will be able to go in and find it. Would you like me to PM it to you or post it here?
Jack of all trades in development, design, strategy.
Working as a Support Engineer. Been here for 13 years and counting. |
Thanks paradox You can post it or pm dont matter,Its really nesasary in my webpage cause its public posting page,alot of users dont understand the importance of wat tags are or do,so I need to obligate people to add them
so thanks I apreciate it Added (2012-12-13, 12:24 PM) |
put this code in your module to want use
Code $BODY$ <script type="text/javascript"> $(document).ready(function(){ $("form#addEntForm").submit(function(){ if ($('#suggEdit').val().match(/^\s*$/)) { var entryname = $('#blF1').val(); entryname = entryname.split(' ').join(', '); $("#suggEdit").val("" + entryname + ""); }});}); </script> <!-- </body> --> example to blog module put in blog main page and page with full entry text i love ucoz, coz its very simple not like other
www.tech-comps.in | www.NoNames.at.ua watch free movies | ganool.nl watch free movies | bioskop21.info Post edited by cyberworlds - Tuesday, 2013-01-29, 4:22 PM
|
hi this is my first post here. so please be gentle lol, I have been trying to look for an option to take off the tags altogether for any particular module, in this case the blog module. i know this seems unusual but i wish to keep the tag cloud selection within the publisher post and not have blog tags mixed in there, is there a script i need to add to do this? its very frustrating and i cant find
anywhere in the templates where it says ''add Tags (separated by comma):'' yet the feild still displays in the entry option for the blog/. really hope you can help with this one www.realityexplorations.net
|
no i want to remove the tag field altogether for the blog entry form :(
ive attached an image Attachments:
0597827.jpg
(64.2 Kb)
www.realityexplorations.net
Post edited by bioentity - Thursday, 2015-11-26, 1:58 PM
|
here new code
Code <script type="text/javascript"> var result = []; $('input[name="name1"], input[name="title"]').change(function() { for (var i=0; i<$(this).val().split(' ').length; i++) { if ($(this).val().split(' ')[i].length > 3) { result[i] = String($(this).val().split(' ')[i]); } $('input[name*="tags"]').val('$MODULE_NAME$,' + result); } while($('input[name*="tags"]').val().search(/,,/) != -1) { $('input[name*="tags"]').val($('input[name*="tags"]').val().replace(/,,/m,',').replace(/^\,/,'')); } }); </script> |
Is there a possibility to add category tags?
i try to change $MODULE_NAME$ code to $CATEGORIES$ Code $('input[name*="tags"]').val('$CATEGORIES$,' + result); Full code: Code <script type="text/javascript"> var result = []; $('input[name="name1"], input[name="title"]').change(function() { for (var i=0; i<$(this).val().split(' ').length; i++) { if ($(this).val().split(' ')[i].length > 3) { result[i] = String($(this).val().split(' ')[i]); } $('input[name*="tags"]').val('$MODULE_NAME$,' + result); } while($('input[name*="tags"]').val().search(/,,/) != -1) { $('input[name*="tags"]').val($('input[name*="tags"]').val().replace(/,,/m,',').replace(/^\,/,'')); } }); </script> but the problem is that this code contains a link and then the links are placed as tags. And I should name the categories as tags. So can it be put as the following tags: Name + Category names |
| |||
| |||