Jamroom Help: Jamroom 4.2 Control Panel template upgrade notes
Brian Jamroom Team
Joined: 09 Jul 2003
Posts: 37583
Location: Seattle, WA
Posted: 08/03/10 13:00
I'm posting this here to help anyone that has customized their Jamroom control panel to get a better idea of what changes are in Jamroom 4.2.0, and what you'll need to add to your templates to support the new Jamroom 4.2.0 changes.
If you HAVE NOT customized your control panel form, and your control panel is based on one of our Skins (i.e. Nova, Flashback), the simplest way to "upgrade" is to simply upload the new templates in jamroom/skins/Skin_name/cp to your server, overwriting your existing files.
Otherwise, updating your control panel form.tpl file to support Jamroom 4.2.0 is really the only thing required - your skin and theme templates will continue to function as they did in Jamroom 4.1.x, but you will want to make sure and update your jamroom/skins/Skin_Name/cp/form.tpl to support the new Jamroom Progress Meter.
Edit the file and find the "form_progress" section - it needs to be changed to:
{* this hidden iframe is REQUIRED for the progress meter to function! *}
{jr_random_number min="0" max="1000" assign="rand_id"}
<iframe id="jr_progress_iframe" height="0" width="0" style="display:none;" src="progress.php?mode=template&rand={$rand_id}"></iframe>
{* once the upload is complete, if the Conversion Server is installed, then this next
section will be shown so they can see the file conversion in process *}
With that done, your progress meter should now work properly.
There are other optional changes in the Jamroom templates (such as adding in support for new JS and CSS handling), but they are not required in the upgrade.
Joined: 21 Apr 2009
Posts: 1482
Location: San Francisco CA
Posted: 10/30/10 06:23
Code
There are other optional changes in the Jamroom templates (such as adding in support for new JS and CSS handling), but they are not required in the upgrade.
Is there documentation on adding support for new JS and CSS handling?
Is there a thread that talks more in depth about this?