Forum Activity for @michael

michael
@michael
06/03/16 12:04:45AM
7,839 posts

Recurring search error in Activity Log


Using Jamroom

this part:
 [0] => leigh

It probably should have a location, look more like:
 [0] => gallery_% like leigh

currently is saying "search the leigh" where as it should be saying "search the gallery for anything with leigh in it"

Its probably a jrCore_list call somewhere that looks like this:
{jrCore_list moudle="jrGallery" search1="leigh"}


updated by @michael: 06/03/16 12:05:31AM
michael
@michael
06/02/16 09:31:57PM
7,839 posts

php warnings from smarty templates


Jamroom Developers

http://stackoverflow.com/questions/4261133/php-notice-undefined-variable-and-notice-undefined-index#4261200
Quote:......Although PHP does not require variable declaration, it does recommend it.....

Its just a note saying active's not set. If if it is set is what's being checked for, then go with just isset
{if isset($entry.active)} active{/if}

Get the peace of mind of being overly-correct. :)
michael
@michael
06/02/16 09:22:52PM
7,839 posts

New 'Group Mailer' Module


Announcements

Thanks Strumelia. :)
michael
@michael
06/02/16 08:13:38PM
7,839 posts

Jquery in TPL Help


Using Jamroom

presuming you have the closing {/literal} at the other end of it then nothing needs to be done.

if you have things like
.......auddio4_html5({var a=5
thats fine for javascript, but smarty sees {v and thinks "looks like its a smarty function :)". you can get around it by making sure you have a space between any { and the first thing after it { var a=5 would be fine.
michael
@michael
06/01/16 02:43:14AM
7,839 posts

Media Url Scanner


Using Jamroom

done, thanks. not big enough to warrant a release, but it will be trimmed in the next version.
michael
@michael
05/30/16 08:02:44PM
7,839 posts

Display a New Module Template?


Design and Skin Customization

Ken Rich:.....Is there a link to those rules?.....

http://www.smarty.net/

And to do the docs searching for you on this occasion, this is the docs page regarding embedding multi-part variables in double quotes:

"Embedding Vars in Double Quotes"
http://www.smarty.net/docs/en/language.syntax.quotes.tpl

Another location that is very helpful to developers is:
http://stackoverflow.com

The search term "smarty3" will bring up many question/answer pairs.
michael
@michael
05/30/16 07:50:12PM
7,839 posts

Add all modules to profile automatically


Suggestions

izhmel:....Each time you create a profile you have to add the modules to the profile ....
You're going to need to outline in steps what you mean here, its not obvious.

You don't add modules to a profile, you do it once to a quota. The new profile gets all the modules that are active for the quota.

Create 100 profiles in 'quota A' and each of them gets all the modules that are active for 'quota A' there is no adding modules to profiles.
  390