Page 1 of 1

external application within Admin

Posted: Sun Jun 06, 2010 11:21 pm
by mw
I recently added a page to a website that needed to be updated by google spread sheets which was a little confusing for the editors to update as they not only needed to login to the cmsms admin but also google spreadsheets.
to get around this I installed the "Skeleton" module: http://dev.cmsmadesimple.org/projects/skeleton
and simply edited the "adminpanel.tpl" to look like:

Code: Select all

{$tabs_start}
   {$start_general_tab}
      {$mod->Lang('welcome_text')}
<__iframe src ="http://mysite.com/modules/Skeleton/form/my-google-spreadsheet-form.html" width="100%" height="900">
  <p>Your browser does not support iframes.</p>
</__iframe>
   {$tab_end}
   {$start_prefs_tab}
          	<div class="pageoverflow">
   <__iframe src ="http://someothersite.com/bla/anotherpage.html" width="100%" height="900">
  <p>Your browser does not support iframes.</p>
</__iframe>
      	</div>
     {$tab_end}
{$tabs_end}

That's really all there is to it. This way everything is done inside the admin.
I'm sure this is a no-brainer for most here but I got an "aha" moment :) so thought I would share
of course this works with any external webpage...

Re: external application within Admin

Posted: Mon Jun 07, 2010 1:02 am
by JeremyBASS
"aha" moments are the best... they lead to more and more :) it's easy and fun to play with cmsms