Brent W
Well-known member
I want to create an addon that does the following:
Create an Options Group
Have two fields in the options group:
One field will have an html link.
The other field will be a box where I can throw a bunch of random things in there (javascript for example)
I want to attach both fields to a template modification.
So for example in field one I would attach it someone in the footer template.
Field two would be appended to the end or near the end of the footer template.
My question is is this the best method of doing this for the future? Basically, the first field will be a link to me company website and will attach it next to the xenForo copyright.
The second field will contain certain javascript such as Quantcast, Skimlinks, Vibrant Media, etc etc.
I have many sites and want to use this addon as a way to easily streamline adding this content, which is basically the same across all sites, to each site.
Any ideas on best approach to this?
Create an Options Group
Have two fields in the options group:
One field will have an html link.
The other field will be a box where I can throw a bunch of random things in there (javascript for example)
I want to attach both fields to a template modification.
So for example in field one I would attach it someone in the footer template.
Field two would be appended to the end or near the end of the footer template.
My question is is this the best method of doing this for the future? Basically, the first field will be a link to me company website and will attach it next to the xenForo copyright.
The second field will contain certain javascript such as Quantcast, Skimlinks, Vibrant Media, etc etc.
I have many sites and want to use this addon as a way to easily streamline adding this content, which is basically the same across all sites, to each site.
Any ideas on best approach to this?