Forum Activity for @garymoncrieff

gary.moncrieff
@garymoncrieff
06/01/15 10:15:32PM
865 posts

Profile Layouts


Design and Skin Customization

Still dont understand why this code doesnt work, is there a bug with assign and the media_player function?
gary.moncrieff
@garymoncrieff
05/30/15 08:01:11AM
865 posts

Profile Layouts


Design and Skin Customization

No luck just shows

{jrCore_media_player} no media found for player

if album isnt set as featured
gary.moncrieff
@garymoncrieff
05/29/15 04:40:57PM
865 posts

Profile Layouts


Design and Skin Customization

This is the basic code I am t=using to show the featured album

                            {jrCore_media_player module="jrAudio" field="audio_file" search1="_profile_id = `$_profile_id`" search2="audio_featured = on" limit="21" type="jrAudio_blue_monday"}

So I have tried things like this but to no avail

{jrCore_media_player module="jrAudio" field="audio_file" search1="_profile_id = `$_profile_id`" search2="audio_featured = on" template="null" assign="show_featured"}

                        {if $show_featured}
                            {jrCore_media_player module="jrAudio" field="audio_file" search1="_profile_id = `$_profile_id`" search2="audio_featured = on" limit="21" type="jrAudio_blue_monday"}
                        {else}
                            <div class="block">
                                {jrCore_include template="profile_index_image.tpl"}
                            </div>
{/if}
gary.moncrieff
@garymoncrieff
05/29/15 04:07:54PM
865 posts

Audio module request


Suggestions

Hey guys

A quota option to show albums view as default on profiles would be nice if possible.
updated by @garymoncrieff: 07/03/15 04:55:13AM
gary.moncrieff
@garymoncrieff
05/29/15 03:54:41PM
865 posts

Profile Layouts


Design and Skin Customization

Always fall into the same trap when to use " or '.

However this isn't going to be as simple as I first thought. In the audio album edit details form I have an audio_featured field of this is checked the player shows on the profile. If its not checked it shows a media message about no file.

What I want to do is show something else in its place if no album is featured on profile.

So I guess I need some way to surface that field variable on a profile in order to determine if its checked out not.

On my cell phone so can't even post code I use to pull the featured album up. Two search criteria one for the current profile and another to search audio_ featured = on
gary.moncrieff
@garymoncrieff
05/29/15 09:39:58AM
865 posts

Profile Layouts


Design and Skin Customization

oh man do I hate checkboxs, what is the correct smarty notation for

if checkbox is checked

and if checkbox is not checked
gary.moncrieff
@garymoncrieff
05/29/15 08:02:35AM
865 posts

Profile Layouts


Design and Skin Customization

Think I am almost there now with this 1 layout (another 9 or 10 to go).

halleberry1.png halleberry1.png - 912KB

updated by @garymoncrieff: 05/29/15 08:03:03AM
gary.moncrieff
@garymoncrieff
05/29/15 12:49:02AM
865 posts

Profile Layouts


Design and Skin Customization

The widths are basically determined by the col width it's the height I will need to really control.
gary.moncrieff
@garymoncrieff
05/29/15 12:23:22AM
865 posts

Profile Layouts


Design and Skin Customization

A few more things on this specfic layout, I can forsee an issue going forward where image sizes will through out the layout, is there a way set a hard size in the {jrCore_module_function function="jrImage_display"}?

Also what format would calculating the Age take, I know it's Todays Date - DOB but is there a smarty way of doing this?
updated by @garymoncrieff: 05/29/15 12:23:38AM
gary.moncrieff
@garymoncrieff
05/28/15 06:47:50AM
865 posts

Profile Layouts


Design and Skin Customization

I gave up on the pure css method and registered a new js file with the theme to get it to work.
  41