Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Author Message
  Topic: Comments for albums
dizpers

Replies: 2
Views: 2694

PostForum: Jamroom Developers   Posted: 10/22/11 23:39   Subject: Comments for albums
But what about using {jr_rank ...} for creating comments, associated with my module (which receives necessary album and inserts comment form in necessary place). I tried this - and it works for me fin ...
  Topic: Comments for albums
dizpers

Replies: 2
Views: 2694

PostForum: Jamroom Developers   Posted: 10/19/11 06:27   Subject: Comments for albums
Hi! How can I make comments form for each album of band?
  Topic: Where songs.php (in profile page) is generated
dizpers

Replies: 5
Views: 3138

PostForum: Jamroom Developers   Posted: 10/19/11 04:13   Subject: Where songs.php (in profile page) is generated
Thx ussher I do like this - and it works fine!Smile

And another question - how I can load to player all this songs?
  Topic: Where songs.php (in profile page) is generated
dizpers

Replies: 5
Views: 3138

PostForum: Jamroom Developers   Posted: 10/19/11 03:19   Subject: Where songs.php (in profile page) is generated
Are you wanting to actually modify the underlying PHP code that creates the profile pages? Or just the templates and how they look?

Kyle

Kyle, my task now is to display songs from selected album ...
  Topic: Using $jamroom_db in include dir of my module
dizpers

Replies: 10
Views: 3403

PostForum: Jamroom Developers   Posted: 10/16/11 04:29   Subject: Using $jamroom_db in include dir of my module
Nevertheless defining $jamroom_db as global variable works fine. You are right, thank you!Smile But one problem does not disappear: table names which I define in include.php of my module are not in $jamr ...
  Topic: Using $jamroom_db in include dir of my module
dizpers

Replies: 10
Views: 3403

PostForum: Jamroom Developers   Posted: 10/14/11 07:23   Subject: Using $jamroom_db in include dir of my module
Doesn't work.

PS
In $GLOBALS array I can't see my vars (assigned in include.php of my module) - I think - it's my main problem here.
  Topic: Where songs.php (in profile page) is generated
dizpers

Replies: 5
Views: 3138

PostForum: Jamroom Developers   Posted: 10/14/11 07:17   Subject: Where songs.php (in profile page) is generated
Hi I need to have my own modified song list (like song_list.tpl in Nova theme). I copy this template and insert into my module templates set. But here is one problem. This .tpl use some specific smart ...
  Topic: Using $jamroom_db in include dir of my module
dizpers

Replies: 10
Views: 3403

PostForum: Jamroom Developers   Posted: 10/13/11 10:56   Subject: Using $jamroom_db in include dir of my module
Hm... I added

global $jamroom_db;

and it's dont solve the problem

any suggestions?

upd:

I do like this:


<?php

defined('IN_JAMROOM') or exit();

class Albums ...
  Topic: Using $jamroom_db in include dir of my module
dizpers

Replies: 10
Views: 3403

PostForum: Jamroom Developers   Posted: 10/11/11 23:37   Subject: Using $jamroom_db in include dir of my module
Thx, I will try this now:)

PS
Hm, I use phpStorm (and yes - its really awesome!) and it's no red underlining $jamroom_db ...
  Topic: Using $jamroom_db in include dir of my module
dizpers

Replies: 10
Views: 3403

PostForum: Jamroom Developers   Posted: 10/11/11 10:03   Subject: Using $jamroom_db in include dir of my module
Hi! I create new module. I have a main file (in jamroom root dir: /myModule.php ). I use this file as router. The code is like this:


<?php

require('include/jamroom-include.inc.php') ...
  Topic: Passing vars to .tpl
dizpers

Replies: 7
Views: 5197

PostForum: Jamroom Developers   Posted: 10/09/11 11:39   Subject: Passing vars to .tpl
Thx, I'll bear in mind this rule:)
  Topic: Passing vars to .tpl
dizpers

Replies: 7
Views: 5197

PostForum: Jamroom Developers   Posted: 10/08/11 08:54   Subject: Passing vars to .tpl
So, I solved my problem by adding in /themes/Nova/Menu.cfg:

[m_albums]
page = "../../jrAlbumsList.php"
text_default = "Albums"
onclick_add = " ...
  Topic: Passing vars to .tpl
dizpers

Replies: 7
Views: 5197

PostForum: Jamroom Developers   Posted: 10/08/11 07:59   Subject: Passing vars to .tpl
I have some problems with adding new section to profile page (site.com/member/2 for example).

1. In file /themes/Nova/Menu.cfg I added a new section:



[m_albums]
page = &q ...
  Topic: Passing vars to .tpl
dizpers

Replies: 7
Views: 5197

PostForum: Jamroom Developers   Posted: 10/07/11 21:11   Subject: Passing vars to .tpl
Big thx to you! And one another question - how I should use $data array in my .tpl file?
  Topic: Passing vars to .tpl
dizpers

Replies: 7
Views: 5197

PostForum: Jamroom Developers   Posted: 10/07/11 08:54   Subject: Passing vars to .tpl
Hi all! I'm a new in jamroom module development and have some questions - could you help me please?Smile I don't understand - how I can pass variables from controller (which located in root directory) to ...
 
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.