Answering you question, Yes, you should create ALL the variables on your controller. When a user access your controller, you can check in there for "needed" tags, and then display only the needed tags, based on user preferences or your app's requirements. On the views you should only display the tags. If you're doing calculations and changing values on the views that's breaking the entire MVC concept, the entire reason of CodeIgniter.
You shouldn't be creating variables in the controller just because you can :) They need to be created only when needed by your visitors. If you're creating all the tags but not displaying all of them on the views, perhaps you need a way to identify just the needed tags and then create new ones based on user selections and needs, using another controller or the same, with received information.
If you're doing calculations on your controller and then more calculations on the views, that code is not correct for the MVC model. Calculations and definitions have to be done in the controllers. In the views, you can choose if you want to display that variable, based on the condition you need, but never change their content.
In conclusion, all the variables have to be created in the controllers in order to maintain the MVC concept.
Hope this helps you to understand a little more about CodeIgniter. It's an awesome framework, you just need to be sure that you're using it in the right way.
Kind regards.
Developerand not inany views,Ex.There is a view calledshow_productand developer can use any product related activities on that view.ex<div>%products?id=5description=false%</div>it simply means that show the product withid=5but do not show itsdescription,its looks like i need to extend the Parsing class. - Red