tag:blogger.com,1999:blog-4217215092335810253.post5348589680590269570..comments2024-02-23T11:26:10.754+05:30Comments on Shehan's blog : Adding categories and sub categories to blogspot mbshttp://www.blogger.com/profile/12123122274249679744noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-4217215092335810253.post-15811031497729357162021-10-19T15:54:31.466+05:302021-10-19T15:54:31.466+05:30It doesn’t work for me, I don't know why. I fo...It doesn’t work for me, I don't know why. I followed every step.Yai Minhttps://www.blogger.com/profile/10469421643982237282noreply@blogger.comtag:blogger.com,1999:blog-4217215092335810253.post-92106550309697262942013-04-22T13:21:27.303+05:302013-04-22T13:21:27.303+05:30Yes,but you should edit the dtree.js (Java Script)...Yes,but you should edit the dtree.js (Java Script) file that you added with this line "script src='http://blogcat.site40.net/dtree.js' type='text/javascript'"<br />you can follow the URL "http://blogcat.site40.net/dtree.js" -> save as -> dtree.js on your computer and edit the code...<br />THIS LINE :<br />this.icon = {<br /><br />root : 'http://blogcat.site40.net/img/base.gif',<br /><br />folder : 'http://blogcat.site40.net/img/folder.gif',<br /><br />folderOpen : 'http://blogcat.site40.net/img/folderopen.gif',<br /><br />node : 'http://blogcat.site40.net/img/page.gif',<br /><br />empty : 'http://blogcat.site40.net/img/empty.gif',<br /><br />line : 'http://blogcat.site40.net/img/line.gif',<br /><br />join : 'http://blogcat.site40.net/img/join.gif',<br /><br />joinBottom : 'http://blogcat.site40.net/img/joinbottom.gif',<br /><br />plus : 'http://blogcat.site40.net/img/plus.gif',<br /><br />plusBottom : 'http://blogcat.site40.net/img/plusbottom.gif',<br /><br />minus : 'http://blogcat.site40.net/img/minus.gif',<br /><br />minusBottom : 'http://blogcat.site40.net/img/minusbottom.gif',<br /><br />nlPlus : 'http://blogcat.site40.net/img/nolines_plus.gif',<br /><br />nlMinus : 'http://blogcat.site40.net/img/nolines_minus.gif'<br /><br />};<br /><br />now you see this are images .gif format...if you want to change them YOU CAN!<br />just put your image hosted urls and i you're done.<br />AND I FORGOT! you should re-host the dtree.js file on site like yourjavascript.com or other and link the new hosted .JS file to your site/blogtvretrohttps://www.blogger.com/profile/03989343323332211548noreply@blogger.comtag:blogger.com,1999:blog-4217215092335810253.post-90719445132143513352013-04-22T13:18:40.023+05:302013-04-22T13:18:40.023+05:30This comment has been removed by the author.tvretrohttps://www.blogger.com/profile/03989343323332211548noreply@blogger.comtag:blogger.com,1999:blog-4217215092335810253.post-86171907694858477142013-04-22T12:48:34.229+05:302013-04-22T12:48:34.229+05:30Hello! This is awesome. It works...but when i refr...Hello! This is awesome. It works...but when i refresh the page everything that was expanded,remains expanded...is there any way this can be done automatic...for example i click on sub-category -> linked with label URL but the main category is still expanded,i noticed the CloseAll function in the script <br />dTree.prototype.closeAll = function() {<br /><br /> this.oAll(false);<br />But how can be implemented to CloseAll on every loading on every page?<br />tvretrohttps://www.blogger.com/profile/03989343323332211548noreply@blogger.comtag:blogger.com,1999:blog-4217215092335810253.post-33302412406846400992013-04-19T16:19:01.418+05:302013-04-19T16:19:01.418+05:30Is there a way to do this, but replace the format ...Is there a way to do this, but replace the format with more attractive buttons?Crazy Narcolepsyhttps://www.blogger.com/profile/03947868989889957816noreply@blogger.comtag:blogger.com,1999:blog-4217215092335810253.post-7291671678915464822013-03-28T12:52:09.533+05:302013-03-28T12:52:09.533+05:30Fernando, thanks a lot, that's great.
I will t...Fernando, thanks a lot, that's great.<br />I will try, probably during the week-end.<br /><br />Kind,<br />NicolasAnonymoushttps://www.blogger.com/profile/16569330520529145049noreply@blogger.comtag:blogger.com,1999:blog-4217215092335810253.post-76721673412159075932013-03-27T15:22:24.275+05:302013-03-27T15:22:24.275+05:30ok i will do my best to explain this
d.add(0,-1,...ok i will do my best to explain this<br /><br /><br />d.add(0,-1,'Blog Categories');<br />you must add above line anyway,inside the d.add() <br />0 means it's index no<br />-1 means parent index(no parent) <br />'Blog Categories' is parent category<br /><br /><br />Think if you have label called opencv you can add it using following line (// represent comments )<br />d.add(1,0,'OpenCV'); //OpenCV category<br />in this case inside d.add() function <br />1 means opencv category has index no 1<br />you can allocate index 1 to 99 for categories/labels<br />next parameter 0 means it's parent index (look at previous d.add() , we added 0 as it's index)<br />important : parent index all the categories/labels<br />should be 0 ,<br />for ex :- if you have second label called "Linux"<br />d.add(2,0,'Linux'); <br /><br />that's the way of adding categories/labels<br /><br />======<br />then you can add URL to each category like this<br />d.add(100,1,'OpenCV installation','http://techtute.blogspot.com/2011/01/opencv-22-installation-on-visual-studio.html','opencv 2.2 installation on visual studio 2008');<br /><br />important : all URL index are starting from 100 and if you add second URL it should be 101.<br />in this case 1 is parent index (look previous d.add() 1 represent "opencv category")<br /><br />---<br /><br />if this is not work send me your few labels and their URLs , i will make it for you !<br /><br />mbshttps://www.blogger.com/profile/12123122274249679744noreply@blogger.comtag:blogger.com,1999:blog-4217215092335810253.post-6655001148372036972013-03-26T23:45:32.604+05:302013-03-26T23:45:32.604+05:30That's really tricky, and not easy to grasp fo...That's really tricky, and not easy to grasp for a non-programmer.<br />I really do not know how to move foreward.<br />In the subcategory fields, you have three items :<br />d.add(100,1,' ','','')<br />One is the link, but the two others...<br />Don't you have the possibility either to explain step by step how too proceed, or may be even better making a widget with fields to fill out?<br />That would bee of great help.<br />At this stage I am completely stick.<br />Anyway many thanks for your patience.Anonymoushttps://www.blogger.com/profile/16569330520529145049noreply@blogger.comtag:blogger.com,1999:blog-4217215092335810253.post-67005454150651554762013-03-26T19:40:40.544+05:302013-03-26T19:40:40.544+05:30did you see my categories on top right hand side ?...did you see my categories on top right hand side ?<br />This is totally manual process .<br />you have to create categories for each label manually and need to add related URL to that.<br /><br />d.add() function can be used create categories and adding related URL. mbshttps://www.blogger.com/profile/12123122274249679744noreply@blogger.comtag:blogger.com,1999:blog-4217215092335810253.post-64953848630897253062013-03-25T23:12:42.890+05:302013-03-25T23:12:42.890+05:30Then I do not understand how to create 'catego...Then I do not understand how to create 'categories'. Those labels in the top menu of my blogspot page are simply labels selected with the corresponding 'category' widget. So does this mean I need to select ALL labels in this widget?<br />I don't see the category widget on your blogspot page, how can it be?<br /><br />Thanks for your kind help.Anonymoushttps://www.blogger.com/profile/16569330520529145049noreply@blogger.comtag:blogger.com,1999:blog-4217215092335810253.post-49318410410376912672013-03-25T08:08:16.681+05:302013-03-25T08:08:16.681+05:30you have done a mistake here
http://nicolaskokel.b...you have done a mistake here<br />http://nicolaskokel.blogspot.com/search/label/EUR%2FUSD-CT <br /> <br />is not valid URL , looks like your trying to enter label which is not possible . it should be end with .html for ex:- http://www.tectute.com/2013/01/adding-sub-categories-to-blogspot.html (refer this page URL) mbshttps://www.blogger.com/profile/12123122274249679744noreply@blogger.comtag:blogger.com,1999:blog-4217215092335810253.post-67435797189498508552013-03-24T23:30:30.115+05:302013-03-24T23:30:30.115+05:30Fernando, That's still not clear.
I tried the ...Fernando, That's still not clear.<br />I tried the following for testing purposes, but it does not show any category :<br /><br /><br />d = new dTree('d');<br /><br />d.add(0,-1,'Rubriques du blog'); //<br />d.add(1,0,'FOREX'); //Rubrique FOREX<br />d.add(100,1,'EUR/USD Court terme','http://nicolaskokel.blogspot.com/search/label/EUR%2FUSD-CT'); //Libellé EUR/USD-CT<br />document.write(d);Anonymoushttps://www.blogger.com/profile/16569330520529145049noreply@blogger.comtag:blogger.com,1999:blog-4217215092335810253.post-45633306949434806482013-03-24T21:37:55.285+05:302013-03-24T21:37:55.285+05:30I just make some changes to my article, hope now i...I just make some changes to my article, hope now it is clear for you. <br />If you have any question pls. post them here mbshttps://www.blogger.com/profile/12123122274249679744noreply@blogger.comtag:blogger.com,1999:blog-4217215092335810253.post-40921394387507597532013-03-24T17:14:03.598+05:302013-03-24T17:14:03.598+05:30Fernando,
I can follow your explanations until 3....Fernando,<br /><br />I can follow your explanations until 3. and then obtain the following aappearance :<br />http://nicolaskokel.blogspot.com/<br /><br />Then I can understand the relationship between 4. and 5., but since I am not a programmer, and you do not mention it, I have no idea at which position to paste the two pieces of code from these two catégories.<br /><br />Could you please be so kind as to explain it?<br /><br />Thanks a lot,<br />NicolasAnonymoushttps://www.blogger.com/profile/16569330520529145049noreply@blogger.com