Fork me on GitHub
Current releases are 2.1.3 (9 Sept 2014) and (5 Aug 2014)

Ready for 2.1? Find out if your plugins are compatible. 2.0 will no longer be updated after Dec 2014.

Name conflicts in theming?

LincLinc Community InstigatorDetroit Vanilla Staff
edited January 2010 in Vanilla 2.0 Help
The theming README says:
if you wanted to edit the html for the discussion list, you could
copy the views from /applications/vanilla/views/discussions to
/themes/yourtheme/views/discussions and edit them there.

Doesn't that create a huge potential for naming conflicts? For instance, both Garden and Vanilla have a /views/settings folder, so what happens if I create /themes/yourtheme/views/settings/index.php? Does it overwrite both of them? Am I misunderstanding this, or does every views subfolder have to be uniquely named between every potential app for theming purposes?

Sr Developer at Vanilla Forums, humble servant of Lord Brackos, & pro smatcher. [GitHub, Twitter]


Sign In or Register to comment.