This question about Using an extension: Task closed
Use ExpandTopic to create a static page from dymanic content
From my reading of the plugin description it sounds like its possible to use
ExpandTopic to create a static page from a dynamic source.
Enable overwriting existing topics by the expanded content of a template topic. E.g. to create flat static base line document that can be updated from a template topic that contains formatted searches, INCLUDEs, and other macros. This is done by making a creator topic that contains an HTML form that targets the base line topic and contains a hidden input field with .. <input type="hidden" name="text" value="%EXPANDTOPIC{"TemplateTopic" encode="entiry"}% />
Essentially I want to create a static Topic for each of my users that is populated at creation with data from my LDAP server. This way the users would be able to edit and customize their information, without having to fill in every detail.
Using
ExpandTopic I can extract the raw populated text from my template topic but the issue I encounter is getting that raw text into the user topic. All my attempts so far have just copied the %ExpandTopic{...}% statement instead of the raw text. I think the issue I have is in the proper use of forms as mention above, simply put I am clueless as to what the author was saying in reference to using forms for this purpose.
Found a solution
I was able to find a solution via the
NewUserPlugin. By placing %STARTEXPAND% and %STOPEXPAND% around the call to
RenderLdapUser in
NewLdapUserTemplate I was able to achieve what I needed.