Forum Activity for @paul

paul
@paul
07/30/14 05:05:01AM
4,335 posts

How do I show different things for different profiles?


Design and Skin Customization

Probably the easiest way is to allocate the 'profile groups' separate quotas, then use the $profile_quota_id variable in the templates to show the different options -
{if $profile_quota_id == 1}
Do This
{elseif $profile_quota_id == 2}
Do That
{else}
Do the Other
{/if}
Put a {debug} in the template first to make sure $profile_quota_id is a valid variable for the template. It might be part of the $_items array if the template you want to modify is a 'row' template.
hth
Pa
paul
@paul
07/27/14 11:38:41PM
4,335 posts

mp3 sales without signup


Using Jamroom

jrFoxyCart
paul
@paul
07/25/14 12:35:48PM
4,335 posts

Sorting the $_items array according some field


Jamroom Developers

Check that there is a datastore field called 'venues_title'. Are you sure its not 'venue_title', say, or you've not named it something else in your custom module?
Maybe try taking out the ASC bit. It should default to that anyway.
If all else fails, give me access to your site via a support ticket and I'll check it out for you.
Pa
paul
@paul
07/25/14 08:59:32AM
4,335 posts

Sorting the $_items array according some field


Jamroom Developers

Not sure if its the issue but try taking out the two spaces between venues_title and ASC. Leave just one space.
If its still the same, how is it not working? No results at all, or not in the specified order?
paul
@paul
07/25/14 07:16:23AM
4,335 posts

Sorting the $_items array according some field


Jamroom Developers

That looks like the code of the 'item_list' that the jrCore_list calls.
Assuming that this is a Venue module following the conventional JR module structure, the jrCore_list call that you need to modify will be in the /templates/item_index.tpl file.
paul
@paul
07/25/14 04:33:50AM
4,335 posts

Sorting the $_items array according some field


Jamroom Developers

For audio, say -

{jrCore_list module="jrAudio" order_by="audio_title ASC" etc. etc. . . . }

Change the module and order_by parameters to suit for other modules/lists.
hth
Pa
paul
@paul
07/25/14 03:34:02AM
4,335 posts

Sorting the $_items array according some field


Jamroom Developers

It can be done in the template, but if it can be done in the jrCore_list call using the order_by parameter that would be a lot better.
What are you trying to do?
paul
@paul
07/18/14 08:57:24AM
4,335 posts

jrFile module not working


Installation and Configuration

Its working ok on my test system. Is it enabled for all quotas in the ACP?
I wonder if the downloadable version is corrupted at all - what version do you have?
paul
@paul
07/17/14 06:13:24AM
4,335 posts

Avoid Event Listeners


Jamroom Developers

What skin are you using?
What page view generates this error?
  390