We have an issue that is a simple one. Portal 0 Content Pane contains a Slider. We want child portals to have an HTML / Text module in its place. This is because the slider on Portal 0 is for a message to new clients and once a person is a client they'll want to put a logo / text in that same place on their fundraiser.
Edit 20141226_14:34: From what I can see, there is no <pane> entry in the Template file if there is no module to be placed in it. Is it correct to assume then, to have nothing in that pane to eliminate the entire entry that contains the Speedy App Slider that we want to replace? I ask this because there are no empty <pane> tags in the <panes> section, so removing any module related elements from the pane but leaving all others would probably break the file.
Well, the module can be found easily enough in the template and removed. But simply replacing it with an existing Text / HTML module, which has its own Unique ID, won't work as that unique ID obviously can only be used once.
Because many reps will be creating fundraisers, we want to programmatically do this. Any time we update the template, doing tedious manual edits and testing / re-iterating, will be cumbersome.
I can find the wiki page on Portal Templates but no real docs on the type of edits I'd like to do. What's needed is a way to programmatically replace the Slider XML entry with an HTML/Text module when we export it.
If that capability is in the automated creation of the template I've missed it. Writing the XML functionality is easy enough but there isn't a lot of time to fully research this, test it, etc. Could use some documentation on working with the file with XML methods, if such a doc exists.