Forum Activity for @ultrajam

SteveX
@ultrajam
05/30/14 04:23:11AM
2,589 posts

Override icon sprites in skin


Jamroom Developers

Doh, ignore that - it works perfectly as soon as you reload the page in the browser after visiting the url.

Nice icon system - overriding icons is as easy as it gets!
SteveX
@ultrajam
05/30/14 04:17:54AM
2,589 posts

Override icon sprites in skin


Jamroom Developers

I'd like to use different icons in my skin. Looking at the code the core checks for a mySkin/img/icon_black/ directory, but I can't see any changes to the icons after emptying the icon cache.
// Tell the core the default icon set to use (black or white)
jrCore_register_module_feature('jrCore','icon_color','mySkin','black');

I have a directory of icon pngs at mySkin/img/icon_black/ where all files are named the same as the core.

Is there something else I need to do to use those skin icons, or am I approaching this from the wrong direction (looks like there is another way of adding icon sprites using a single sprite image and css file).

Thanks
updated by @ultrajam: 06/29/14 08:27:09PM
SteveX
@ultrajam
05/30/14 04:00:51AM
2,589 posts

template_already_shown and page_begin.tpl


Jamroom Developers

Thanks Michael, but all of the forms need headers and footers.

I'm trying to reach forms where the page title appears at the top to fix a layout glitch in my skin, although ultimately I'd use this to move the main container out of the header.tpl to allow switching between outermost container type within the page flow on certain pages.
SteveX
@ultrajam
05/29/14 03:00:28PM
2,589 posts

template_already_shown and page_begin.tpl


Jamroom Developers

No, they are normal views in the acp.

If you put template_already_shown={$template_already_shown} into page_begin.tpl it will print template_already_shown=1 in the outer iteration and template_already_shown=0 in the inner.
SteveX
@ultrajam
05/29/14 07:54:14AM
2,589 posts

template_already_shown and page_begin.tpl


Jamroom Developers

I'm overriding jrCore page_begin.tpl and page_end.tpl in the skin dir.

page_begin is parsed twice on an admin acp page, and once on an item create/update form.

So I wanted to do this:
{if $template_already_shown === 0}
    <div class="page-wrapper">
{else}
    <div class="just-another-div">
{/if}
(edit: the html is being stripped out by this forum on create post save, but it saves ok updating the post.)


But on the acp page, the first occurrence of page_begin (at the beginning of the page) $template_already_shown = 1
and on the second occurrence $template_already_shown = 0

Shouldn't $template_already_shown have a value of 0 at the beginning of the page and 1 later in the page?

Thanks
updated by @ultrajam: 06/29/14 06:10:37PM
SteveX
@ultrajam
05/28/14 04:34:48PM
2,589 posts

Newsletter templates.


Using Jamroom

I'm not sure what the Jamroom jrMailer will do but I'd guess that it will send whatever you tell it to.

Charts via email would be complicated (lots of up and down arrows) and might not look right in some email clients.

Email works best with pictures, "buttons" and text imo. See, read, click button.

Carefully prepared mailouts rather than automated. It's best not to automate everything. Automated email has a smell.
SteveX
@ultrajam
05/28/14 03:48:48PM
2,589 posts

Newsletter templates.


Using Jamroom

My first thought was that you should automate a screenshot of the charts and send that with some blurb to encourage the click.
SteveX
@ultrajam
05/28/14 01:30:38PM
2,589 posts

World Cup (soccer)


Off Topic

I also do not bet on sport much, and am no longer a fan of football. But I did love this article about Hawking's predictions for the world cup (it's so interesting in so many ways):
http://www.theguardian.com/science/2014/may/28/stephen-hawking-formulae-england-world-cup-success

Marvellous. And for me, probably the best article to be written about the world cup, ever.

Please post suggestions for better articles here, 'cos I'd like to read them.


updated by @ultrajam: 06/29/14 10:37:22AM
SteveX
@ultrajam
05/28/14 11:41:25AM
2,589 posts

Songs still plays full length using the mp3 importer


Using Jamroom

When you use your browser tools it don't work,
when you upload images to this forum it don't work,
when you try to post code it doesnt really work either because you upload a screenshot of the code,
when you use the foolproof installer it don't work,
when you use the foolproof acp skin styler it don't work,
and foxycart really doesn't work for you.

Could be a pattern emerging, but a little early to tell.
  147