Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Developers:
control panel content not displaying in Jamtube and MediaPro
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 07/08/09 04:31 
I've got a problem with JUST the users control panels in JAMTUBE and Oinkba's MediaPro templates.


Code
public function view(){
  global $config;
  // capture this layout and send to screen.
  ob_start();
  ?>
  <tr>
  <td>
  <img src="<?=$config[jamroom_url]?>/apBusinessCard.php?mode=card_back">
  <img src="<?=$config[jamroom_url]?>/apBusinessCard.php?mode=card">
  </td>
  </tr>
 <?
    $stuff = ob_get_contents();
    ob_end_clean();     
    jrHtmlFormRawText($stuff);     
}


In all the other templates, this function produces 2 images to the screen, however in MediaPro and Jamtube, there is no image.

Its not a CSS problem because it doesn't even show in the source code.

How could a template/skin be effecting Content?


_________________
Michael Ussher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 07/08/09 22:59 
jrHtmlFormRawText just refused to output anything for me. Got the issue fixed by using jrFormElementCell instead.


_________________
Michael Ussher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 07/09/09 15:24 
Those skins might not have a section in the form.tpl file for jrHtmlFormRawText. Check out how it's done in the other skin's form.tpl files.

Kyle


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 07/09/09 17:57 
Yep, as usual, Spot On Kyle. Smile

The part the JamTube and MediaPro are missing that is causing the section not to display is this:

Code
{elseif $_element.type == 'form_raw'}
{$_element.text}
{/if}


form.tpl Line 831 in Nova, and around the same area of Cobalt3. Sage etc.


_________________
Michael Ussher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 07/09/09 18:06 
Sorry it took so long for me to realize it - I finally thought of that on the bike at the gym!

Kyle


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 07/09/09 18:25 
never stop thinking about jamroom. thats dedication! Very Happy

Since this is a template issue, it could be got round by altering the form.tpl if the module was only for one site, but if it was in a module that was being opened for sale that line not being in the form.tpl is a bit of a trip up.

As a suggestion could we get that line into JamTube? MediaPro is Oinkba's so if your reading Huw...

No issue for me here. Im good to go. But it not displaying did come as a suprise.


_________________
Michael Ussher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 07/09/09 18:48 
I agree - I'll add it in to JamTube.

Kyle


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Jamroom Developers

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.