Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Developers:
any equivalent to mode hooks in the themes?
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 11/09/10 03:19 
is there any equivalent to mode hooks in the themes?

If there is somewhere in a skin that i want to add to, or inject near, i can use the mode hooks.

If i wanted to do the same thing for a page in a theme is there any close equivalent?

http://www.jamroom.net/Jamroom_Modules_Mode_Hooks

for example, say i wanted to add to the 'Songs' tab on this page:
http://demo.jamroom.net/Some_Punk_Band/

the page that is call creates the songs tab is:
http://demo.jamroom.net/Some_Punk_Band/songs.php

any way to inject info into this page through a module without altering the core .tpl files?

Thanks


_________________
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: 11/10/10 19:02 
I'm not quite sure what you mean - do you mean module theme.php files?

http://www.jamroom.net/Jamroom_Modules_theme_php

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: 11/12/10 01:21 
Hi Kyle,

I looked through them. figured out what i want to do isnt possible and gave up. but that is as close as i came.

What i wanted was to piggy back in on a vairable that i know was already going to be output in all of the themes and inject some code into the themes that way.

Gave up on it and just created a variable that is available in the themes and customize the themes by adding the variable.

I was looking for a way to allow a module to add output to the themes without any changes to default jamroom themes. So zero customization necessary for standard jamroom themes for the end user.

Not looking for any way to do it anymore. Just making a personal module.

Thanks


_________________
Michael Ussher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
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.