Author Topic: In which file is new category created?  (Read 911 times)

yureka

  • Beginner
  • *
  • Posts: 5
In which file is new category created?
« on: March 02, 2013, 13:26:30 pm »
Hello all,
    A new row is inserted into the prefix_virtuemart_categories  when a new category is added. where is this query executed? in which file. I want to do something after a new category is added .Please help me.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10451
  • VM4.0.7 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: In which file is new category created?
« Reply #1 on: March 02, 2013, 22:54:01 pm »
Do you know that you can use joomla system plugins in the description? the file is BE/models/category.php

Maybe it makes sense to add a trigger, so that you do not need to hack the core.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/