Forum Activity for @michael

michael
@michael
02/05/15 12:02:49PM
7,839 posts

No Spellcheck? I'm surprised


Suggestions

Its built into the browser. I use firefox and it works on any text area. Are you using the editor in your forums? Is there a spell checker extension? If there is it can be turned on.
michael
@michael
02/05/15 12:09:08AM
7,839 posts

Build Selected Pages Only in Site Builder?


Installation and Configuration

Strumelia:Yes I want to know this too. I'm still wary of losing what I've done so far by 'starting over' in site builder.

Back it up. Auto backups should be kicking of every day. You can revert to them from the IMPORT tool in the Site Builder - Panels module.

To do a manual backup go to
ACP -> SITE BUILDER -> PANELS -> TOOLS -> EXPORT.

Check all the checkboxes for all the menu items you have created and EXPORT. then DOWNLOAD it to keep a local copy so you can import it anywhere. Peace of mind.
michael
@michael
02/05/15 12:05:52AM
7,839 posts

Build Selected Pages Only in Site Builder?


Installation and Configuration

Sure. Site builder is the fall back option

If you try to add a menu item called 'audio' and the audio module is installed, then the page will display
your-site.com/audio

which is the audio modules, so it will show.

If you DONT have the audio module then you will be able to build a Site Builder panels page at
your-site.com/audio

But if you turn the audio module on after that then it will take precedence and show.

SO....

Templates also take priority. If you add a template file to the skin
/skins/(YOUR SKIN)/unicorns.tpl

It will be visible at
YOUR-SITE.com/unicorns

If you add a menu item 'unicorns' that will have the url
YOUR-SITE.com/unicorns

so that .tpl file will show. If its not there, then this page is created for you:
{jrCore_include template="header.tpl"}

{jrPanel_display name="unicorns"}

{jrCore_include template="footer.tpl"}

You can put fixed stuff around a panel if you set it up like that. Or have no panel at all. Its very flexible.
michael
@michael
02/04/15 11:47:50PM
7,839 posts

new page titles and meta tags


Using Jamroom

Its not a fixed explanation because I've never built what your wanting before. Its just a guide to how I would look for how to do it.

I'm not certain which the best way would be. Depends on how many pages need to be done with different titles to their menu links.
michael
@michael
02/04/15 11:41:29PM
7,839 posts

Performance Test - Details


Using Jamroom

It compares
* the processor calculation speed
* the database read/write speed
* the file system access speed

of the server that your running to a baseline system of a "XEON @ 2.8GHz, 1 GB RAM and Fast SSD Disk"

The exact process can be seen in the view_jrCore_performance_check() function in
/modules/jrCore/index.php
michael
@michael
02/04/15 11:22:55PM
7,839 posts

Embedding A Form


Design and Skin Customization

I know you've been playing with the Site Builder, so if your on one of those pages, put the code into the CODE tab of the widget, not the editor.

eg:
* add a widget
* click on the "Widget Settings" button to show the editor
* look in the top left corner of that popup and you will see EDITOR | CODE. Click on the CODE button to change the editor to the code view.

The EDITOR and the CODE views are completely separate its one or the other that is showing. If your wanting to put in some script, then use the CODE.

eg, to put the twitter widget code in there, use this code:
            <a class="twitter-timeline"  href="https://twitter.com/jamroomdev" data-widget-id="456325856210599936">Tweets by @jamroomdev</a>
            <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
          

That example code will put the twitter widget for @jamroomdev on your page.

One important thing to note though that could screw things up, is if the code is compressed.

Smarty code is enclosed in brackets {$something} and javascript also uses {}. Smarty will ignore javascripts brackets as long as there is a space between the { and the first letter.

So if your code looks like this:
.....mentById(id)){js=d.createE.......
you need to add a space between the { and the next character.

Needs to become
.....mentById(id)){ js=d.createE.......

So a working version of that twitter code above would be:
<a class="twitter-timeline"  href="https://twitter.com/jamroomdev" data-widget-id="456325856210599936">Tweets by @jamroomdev</a>
<script>!function(d,s,id){ var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){ js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
          
michael
@michael
02/04/15 10:16:47PM
7,839 posts

Bad Code - Front Page Disappeared


Design and Skin Customization

A new version is in the marketplace that now checks that the code is good in the widget before its saved. So going forward, you shouldn't be able to break it anymore.

If you try to save with bad code it will say
Quote:"There is a syntax error in your template - please fix and try again"

If you do find ways to break it, let us know.
michael
@michael
02/04/15 08:15:01PM
7,839 posts

new page titles and meta tags


Using Jamroom

This is implemented in jrMenu version 1.0.10 and is in the marketplace now.

The menu name is set in
/modules/jrMenu/templates/page.tpl

to use the $menu_title. If you could setup a way to add extra stuff to the menu item, you could use that in a template over-ride at
/skins/(YOUR SKIN)/jrMenu_page.tpl

and retrieve the info you wanted for the page title and use that. Its a bit fiddley because the jrmenu system doesnt use the Form Designer, but possible.
michael
@michael
02/04/15 07:29:41PM
7,839 posts

Site Builder Menu Wrong Way Round


Using Jamroom

Yeah, its possible, it just needs to be implemented at the skin level. It requires the templates to be shuffled around a bit. I'll have to check with Doug before fiddling with the skins.

if you want to implement it for yourself, the solution is here

http://stackoverflow.com/questions/7614717/li-elements-have-float-left-to-be-aligned-to-the-right-in-a-container

in
/skins/jrNingja/css/menu.css
#menu li {
    float: left;
    border-right: 0 solid #000;
    position: relative;
}

and
#menu, #menu ul {
    padding: 0;
    list-style: none;
    float: right;
}

That will reverse the order of the menu items in the header menu. Then swap the order in the templates:
/skins/jrNingja/header_menu_desktop.tpl and
/skins/jrNingja/header_menu_mobile.tpl
michael
@michael
02/04/15 06:58:08PM
7,839 posts

Return all items in a long list


Using Jamroom

so if im understanding correctly the question is now a CSS question about fixed height div's not looking the same across browsers?

Got a link so I can fiddle with firebug?
  589