• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tagging system in CI

#1
[eluser]danijelb[/eluser]
I am writing CMS for personal use and for learning.

I am completely done just with login Smile
And I am working on articles, pages and image galleries.

They are almost done, but I want to add tagging system to them. So that I can tag each article/page/image and then on front-end show related articles, and tag-cloud.

Is there any tutorial out there on how to this in CI, because I want to move on, build some new things, and I can't if this isn't done. Smile

Thanks in advance.

#2
[eluser]Mareshal[/eluser]
First of all, I wouldn't start with login. Login system is the last on my list.

search for code igniter tutorials on google and you will find thousands at this moment

#3
[eluser]danijelb[/eluser]
Well, as I wrote I am almost done with articles/pages/image galleries except tagging system.
And I started with login system as it is part of Admin_Base controller which I am using to extend all other admin classes. So Admin_Pages extends Admin_Base and Admin_Base extends Controller. Smile

#4
[eluser]jegbagus[/eluser]
i think you should add 2 more table,
master tag that hold all kind of tag, and tag that connect between the object with the tag.

table :
mstag (tag_id, tag_name, tag_desc, insert_date)
tag (tag_id, obj_id, type)
type is kind of the tagged object (image / post / etc)
obj_id will be the id of tagged object (imageid, postid, etc)


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.