Hi all,
I have three replicas of elgg's blog plugin which i created by replacing "blog" with "poem", "story" and "article" these are 3 independent plugins made by changing the word blog to respective names, poem, story and article
I want to convert the subtype=>'poem' to 'blog' so that i can delete the mod poem and all poem will be listed under blogs. Is this possible?
Also if it is possible to add a specific category tag to the converted blogs from poem?
thank you.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- ihayredinov@ihayredinov
ihayredinov - 0 likes
- Nikolai Shcherbin@rivervanrain
Nikolai Shcherbin - 0 likes
- ihayredinov@ihayredinov
ihayredinov - 0 likes
- Satheesh PM@thuvalpakshi
Satheesh PM - 0 likes
- Avicena AlGhiffar Alsharaawy@AVicenaGhifa
Avicena AlGhiffar Alsharaawy - 0 likes
- ihayredinov@ihayredinov
ihayredinov - 0 likes
- ihayredinov@ihayredinov
ihayredinov - 0 likes
- Avicena AlGhiffar Alsharaawy@AVicenaGhifa
Avicena AlGhiffar Alsharaawy - 0 likes
You must log in to post replies.@RvR, that's a partial and somewhat risky solution, as it may corrupt the database with duplicate subtype ids for blogs.
I have created this gist: https://gist.github.com/hypeJunction/6102206a998496a015cc
@Ismayil Kharedinov Thanks for sharing. Bookmarked ;)
There you go: https://community.elgg.org/plugins/1908807/1.0/subtype-change-tool
thank you RVR and ismayil
you saved my day.....!!!!!!!!!!
@ismayl , Is that code still working right know , because i want to change 'blog' to 'article' ,
How about you try and let everybody know. I don't keep track of how usable 3-year old code is I once posted somewhere.
It would help if you did some basic research before asking questions: https://github.com/hypeJunction?page=1&tab=repositories&utf8=%E2%9C%93&q=subtype
thanks ismayl :)