Management Panel renderPanel core script question

I am adding to my community site a dynamic header and this header has a "form" where we do a AJAX call to another site request from my company.

There is this RenderPanel JS script from the "core" functionality which seems to not be accesible through widgets or anything and is appending the "dynamic" visible manage panel to the left side on the "first" form.

This is causing issues because I am applying some custom CSS to the content on this form and is hiding the panel and not showing it on the page anymore.

core Script sample from the community "hidden" js:

function renderPanel(context, options) {

		// init container if not inited
		if(!context.container) {
			context.container = $($.telligent.evolution.template.compile(context.panelContainerTemplateId)()).appendTo('form').first();
			handleSearching(context);
			handlePanelFilterLinks(context);
		}
		
		.....
}

EDIT: is there anyway to change this script? and update the "form" to a more specific telligent one?

Parents
  • This is not the only script that has a dependency on a single <form /> tag existing on the page. If the purpose of the new <form /> is to issue a post request via AJAX, why not use a direct AJAX request perhaps on a CORS-enabled remote site? This would prevent the need for the <form />.

  • I dont have control over this form, this "search"/html section is returned from another CORS request because it dynamic and controlled by another admin (We have a centralized code to manage navigation and certain page designs).

    why not make this functionality specific to your form, this means that I can not have multiform page rendering in telligent?

Reply
  • I dont have control over this form, this "search"/html section is returned from another CORS request because it dynamic and controlled by another admin (We have a centralized code to manage navigation and certain page designs).

    why not make this functionality specific to your form, this means that I can not have multiform page rendering in telligent?

Children