Forum Activity for @makande

infinityssm
@makande
02/01/17 10:07:22AM
53 posts

Excluding profiles from lists


Design and Skin Customization

Is there another way to exclude profiles other than "Profile List Exclude" from appearing from lists.
I tried the following

{jrCore_list module="jrProfile" search1="quota_id=9"}

Additionally how can I make a list of just certain quota's. I have tried this but my results show otherwise.

{jrCore_list module="jrProfile" search="profile_active = 1" profile_quota_id="9"}

I have cleared my cache and performed an integrity check to no results.

For starters, I am essentially trying to avoid the admin profile from listing anywhere on the website and secondly I believe I can have better control of displaying content by managing my quotas better.

Any thoughts

Thanks
MAkande


updated by @makande: 05/04/17 11:07:11PM
infinityssm
@makande
01/17/17 10:54:48PM
53 posts

Media Player implementation


Design and Skin Customization

Hi Michael,

Im sorry, I made a mistake in my explanation. The two files that I created were videos.tpl and video_row.tpl. However, thanks to your examples I was able to figure it out. I replaced the "$item._item_id" with "item_id=$item_id"

Videos.tpl - {jrCore_media_player module="jrVideo" field="video_file" item_id=$item_id}

video_row.tpl - href="{$jamroom_url}/Videos/item_id={$item._item_id}">{$item.video_title}

Now I can list all videos and play them on the same videos.tpl page.

So my next problem...

Now that the video plays correctly, how do i avoid the page refreshing with every video click?

I tried the following

Videos.tpl - added a div id="vplayer" to the page

video_row.tpl - onclick="jrLoad('#vplayer','{$jamroom_url}/Videos/item_id={$item._item_id}');">{$item.video_title}

My first attempt loaded in the correct area, but displayed the whole page instead of just the player.

I then created video_player.tpl with just a player and changed the video_row.tpl to:

video_row.tpl - onclick="jrLoad('#vplayer','{$jamroom_url}/video_player/item_id={$item._item_id}');">{$item.video_title}

but it does not work. What is wrong with the code in the video_row.tpl "onclick" link?

Please advise

Again, thanks for your earlier response

MAkande
updated by @makande: 01/17/17 10:58:08PM
infinityssm
@makande
01/16/17 10:16:38PM
53 posts

Media Player implementation


Design and Skin Customization

Hi,

I need help setting up a media player in my site skin. In my jamroom4 site i was able to figure out how to setup a video.tpl page that listed videos from a video_row.tpl page and played them on the same video.tpl page (not directed or played on the profiles video pages).

I am trying to duplicate this function in jam5. I setup a video.tpl page and inserted the following script.

{jrCore_media_player module="jrVideo" field="video_file" item_id=4}

Tested it and video 4 works fine when I load the page. Now I want to be able to successfully load videos 5 or 6 or 7 by linking from a video_row.tpl I created.

How do I code the video.tpl page? I tried replacing

{jrCore_media_player module="jrVideo" field="video_file" item_id=4}

with;

{jrCore_media_player module="jrVideo" field="video_file" item=$item},

{jrCore_media_player module="jrVideo" field="video_file" item=$item.video_url},

{jrCore_media_player module="jrVideo" field="video_file" item=$item._item_id}

Tested each and when I load the page, nothing. What am I doing wrong?

and once coded correctly how do i call it from the video_row.tpl. Is the following correct?

{$jamroom_url}/{$murl}/{$item._item_id}/{$item.video_url}">{$item.video_title}

Please advise

Thanks
MAkande

updated by @makande: 05/03/17 05:29:32AM
infinityssm
@makande
12/19/16 05:18:38AM
53 posts

Merging jam 5 sites


Installation and Configuration

My timescale is by end of January, so February would be great. It would definitely allow me to focus on going into production knowing I could always add or import data in phases.

Great news, thanks Paul.
infinityssm
@makande
12/18/16 03:49:59PM
53 posts

Merging jam 5 sites


Installation and Configuration

Thanks Paul,

No that's fine. I know you guys are really busy. I just have a huge project of first upgrading an old site from 4 to 5 then some how merging the results with a seperate jam5 site.

The first part is easy, thanks to you guys. I'll figure out the second part.

Thanks again
infinityssm
@makande
12/18/16 11:17:27AM
53 posts

Merging jam 5 sites


Installation and Configuration

Is there any way to merge two jam5 sites? Or import users and profiles from an older jam5 install to a newer implementation?

Thanks
MAkande

updated by @makande: 05/26/17 12:20:15PM
infinityssm
@makande
12/14/16 02:44:43PM
53 posts

Seperate header or footer


Design and Skin Customization

Thanks Paul,

This is great information.
infinityssm
@makande
12/14/16 12:03:43PM
53 posts

Seperate header or footer


Design and Skin Customization

Two of the template pages in the events module use the same footer. I would like to use seperate footers for the list.tpl and the page that renders the calendar.

I tried several different {if} statements like the sample you provided above. However non of my scripts worked.

So what {if} statement could I use to render a seperate footer for the calendar.tpl page.

Thanks
infinityssm
@makande
12/14/16 11:32:40AM
53 posts

Seperate header or footer


Design and Skin Customization

Thanks Michael,

I tried several different {if} statements like the sample you provided above. However non of my scripts worked. Is there a specific {if} statement that I can use, like for page title.

For example on the events module the JavaScript needed to render the events lists is different from what I need for the calendar page.

So what {if} statement could I use for the calendar.tpl page.

Thanks
  4