⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Handling creation of new Tags in Grocery Crud



Bibin Mathew

Bibin Mathew
  • profile picture
  • Member

Posted 01 December 2016 - 03:56 AM

Hello all ,

 

 

   I am very new to codeigniter . I have an article table, tag table, tag mapping table.   currently i go to the tags table, create tags and then in the article create page , i use the n_nRelationship with which i could see already created tags and can tag the article correctly .

   

  However my new requirement is to create tags from the article page itself , if the tag doesnt exists.  Is there any way ?

 

 

Current code :

 

 "$this->grocery_crud->set_relation_n_n('tags','dreamon_currentaffairstag','dreamon_vidtags','article_id','tag_id','tag_name');"

 

 

 

Thanks much , Sorry for my bad english.

 

B1