Forum Activity for @michael

michael
@michael
08/19/19 06:42:17PM
7,822 posts

If/Else Loops in Templates: Question


Using Jamroom

Almost right

Docs: "{debug}: Arrays"
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/1477/debug#arrays

try
{if $_post['option'] == 'adjectives'}
blah blah
{/if}
or
{if $_post['_1'] == 'adjectives'}
blah blah
{/if}
michael
@michael
08/17/19 05:35:17PM
7,822 posts

Wishing Simple Podcast Fields For Audio Module


Suggestions

User side audio form will be added using the Form Designer.

Output is handled by the templates, so probably "Using the Template Editor" or skin customization.

Docs: "Using the Form Designer"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-admin-handbook/1275/using-the-form-designer

Docs: "Using the template editor"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-admin-handbook/3183/using-the-template-editor
michael
@michael
08/17/19 05:32:47PM
7,822 posts

Youtube Views On JR VS Views On Youtube?


Using Jamroom

Youtube has access to video length so can call a "play" watching 5 seconds of the clip or watching the whole thing. Jamroom has no way of knowing if the play button was actually clicked so plays on jamroom will be opens of the detail page ( I think from memory )
michael
@michael
08/17/19 05:19:42PM
7,822 posts

If/Else Loops in Templates: Question


Using Jamroom

You could just use your IF/ELSE to put the title in there at the top, then you dont need to add in any html to the title.
michael
@michael
08/16/19 09:09:01PM
7,822 posts

Wishing Simple Podcast Fields For Audio Module


Suggestions

Its all customizable. You can restructure it to have it in any format you like.
michael
@michael
08/16/19 09:05:04PM
7,822 posts

If/Else Loops in Templates: Question


Using Jamroom

Looks like item_category_index.tpl to me.
location.jpg location.jpg - 450KB
michael
@michael
08/15/19 01:16:13AM
7,822 posts

Email Course Module Setup: Auto Enroll New User on Signup Not Working


Using Jamroom

This is fixed in version 1.1.3 of the Email Course module
Version 1.1.3:
 - Bug Fix: Users created by admin from the ACP were not getting joined to auto-join courses
michael
@michael
08/14/19 07:09:38PM
7,822 posts

If/Else Loops in Templates: Question


Using Jamroom

"Template name in source" is not currently on. If it was I would be able to see what templates are being used on this page:

https://americymru.net/americymru/documentation/adjectives
source.jpg source.jpg - 835KB
michael
@michael
08/14/19 06:23:31PM
7,822 posts

If/Else Loops in Templates: Question


Using Jamroom

No need to assume anything, use the "Template Name in Source" so you dont have to guess. Because nothing happened its most likely not the right template.
michael
@michael
08/14/19 05:34:59PM
7,822 posts

If/Else Loops in Templates: Question


Using Jamroom

Yes its possible.

The steps are:
* identify which template it is where you want to change stuff
* use the {debug} in there to see if you can location the variable that contains the value "adjectives". It will be a $_post variable because it comes from the url.

Then add something like this to the template:
{if($_post['whatever-value-you-found-from-debug'] == 'adjectives')}
 whatever you want to put just on that page goes here.
{/if}

Use the "Template name in Source" tool from developer tools to find the template you need.

Docs: "Template name in source"
https://www.jamroom.net/the-jamroom-network/documentation/modules/932/developer-tools#template-name-in-source

Docs: "{debug}"
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/1477/debug

If you get stuck we can help.
  82