Forum Activity for @michael

michael
@michael
03/09/15 05:14:40PM
7,832 posts

Ning Ninga skin vs Site Builder


Using Jamroom

Nice explanation. Site Builder can be made to work with any skin. Its just like you say. The drag-n-drop method for adding menu item, then a drag-n-drop method for page structure, and a drag-n-drop method to put content into that page.
michael
@michael
03/09/15 04:37:26PM
7,832 posts

Ning Ninga skin vs Site Builder


Using Jamroom

Changing the color for the background of the site is un-related to Site Builder. Its the same for all skins in that the location to do it is from:
ACP -> SKINS -> (skin name ) -> STYLE

Tab.

Or by CSS in the skin itself. I do want to get a site builder style system in place for customizing skin design, but right now its not there.
michael
@michael
03/09/15 04:15:09PM
7,832 posts

Out-of-the-Box Setups


Suggestions

Just went to check this out and discovered the functionality is already there. Just needed a button.

The only thing is it will only work for timeline entries that have been entered via the textbox, not for timeline entries that are auto-generated like when you add an audio file and it posts to the timeline.

Which makes sense.
michael
@michael
03/09/15 03:44:29PM
7,832 posts

Out-of-the-Box Setups


Suggestions

Its always better to ask for new stuff in specificly titled threads. This on "Out of the Box" setups is not the location we'd go looking for feature requests when we have nothing to do. Better in a new thread:
"Ability to edit timeline entries".

I love marking threads as SOLVED so when things are on topic and I can do it and mark it SOLVED i get a sense of satisfaction. :)

--edit--
suggestion is noted though, thanks :)
updated by @michael: 03/09/15 03:45:25PM
michael
@michael
03/09/15 03:38:12PM
7,832 posts

Ning Ninga skin vs Site Builder


Using Jamroom

perrie:...I have never felt so stupid as I do today...
Wow, thats my fault then for building such an non-intuitive system.

We'll work on getting it made easier. Sorry for the hassle.

Color of the background is not a thing you can control. That system isn't there.

It works like this:
* First you have a blank page after adding that page to the menu.
* Then you choose the Page Layout of what containers you want on the page.
* Then you drag Widgets into the containers.

Widgets will be a piece of content. When you click on the gear icon on each Widget, you can edit that widgets content. It will just be an editor with a title field.

Into the Widgets you put the content that you want to display. What are some of the things you're trying to accomplish. Take it one step at a time.
michael
@michael
03/09/15 02:41:52PM
7,832 posts

Date drop down showing date when not entered


Design and Skin Customization

its got to have a type.

Here is what one from the blog module looks like:
    // Blog Publish Date
    $_tmp = array(
        'name'     => 'blog_publish_date',
        'label'    => 22,
        'help'     => 23,
        'type'     => 'datetime',
        'validate' => 'date',
        'required' => false
    );
    jrCore_form_field_create($_tmp);

Try adding 'value' => false to that structure

    $_tmp = array(
        'name'     => 'task_completed_date',
        'label'    => 10653,
        'help'     => 'whatever help text your after goes in here...',
        'type'     => 'datetime',
        'validate' => 'date',
        'value'    => false,
        'required' => false
    );
    jrCore_form_field_create($_tmp);
michael
@michael
03/09/15 02:37:19PM
7,832 posts

Ning Ninga skin vs Site Builder


Using Jamroom

Ningja skin supports drag'n'drop. No need to decide. :)
michael
@michael
03/09/15 02:36:00PM
7,832 posts

Jamroom.net code highlighter


Jamroom Developers

Which setting are you setting it to for ujEditorCodeMirror module?

The settings for the Forum code block are at:
/modules/jrForum/plugins/code.php
{lineNumbers:true,indentWithTabs:true,tabSize:2,matchBrackets:true,readOnly:true,lineWrapping:true,mode:\'smarty\'}); }

I tried out:
* 'javascript' // works perfect for your block of code above, but grey for smarty code.
* 'htmlmixed'
* 'html'
michael
@michael
03/09/15 02:32:19PM
7,832 posts

Best Demo Template for Development?


Design and Skin Customization

Hard to say because each skin has a different purpose. Genosis has a bunch of features, but those features are for creating Family ancestory websites so are un-related if your planning a music site.

Check out the demos and see if anything looks close to what your after and go from there.

The oinkba skins got ported to JR5 but its not a free upgrade. The prices of them came down from about $300 to $49 which is much more reasonable. They're nice skins for staring a music site on.

If you're comfortable editing code, then don't worry about integrating with Site Builder, its a system for those that don't want to look at code. You have more fine-grain control over building if you don't use it.
michael
@michael
03/09/15 02:26:16PM
7,832 posts

moving data from one module to another


Design and Skin Customization

First figure out how you want to move them. If you want to move them by you visiting a url, then you want a new view in the index file of your module.


eg:
function view_xxYourModule_somewhere($_post, $_user, $_conf)
{
fires when you visit the url
your-site.com/yourmodule/somewhere

If you want to fire the module once a day then use events and listeners to fire the module's function off when 'daily_maintenance' fires.

To do that, add the name of the function you want to fire into your modules _init() function, eg:

jrCore_register_event_listener('jrCore', 'daily_maintenance', 'jrPanel_daily_maintenance_listener');

is in the include.php file for the jrPanel module and it fires jrPanel_daily_maintenance_listener() once a day.

The next thing you need to do is to get the datastore items your interested in, so need to know which those are, then search for them.

To look for examples of searching for stuff inside a function search for '$_sp =' and that will show you other locations where modules are searching for stuff. It looks like this:
    $_sp = array(
        'search'   => array(
            "guestbook_owner_id = " . intval($_post['profile_id'])
        ),
        'order_by' => array(
            '_created' => 'DESC'
        ),
        'limit'    => 250
    );
    $_rt = jrCore_db_search_items('jrGuestBook', $_sp);
( example above ^ came from jrGuestBook )
That will give you all the found items inside $_rt['_items'] so then check that the array exists to make sure you have items, then itterate over them but change the prefix.

so:
if (isset($_rt) && is_array($_rt['_items'])) {
  $pfx = jrCore_db_get_prefix('xxDestinationModule'); //replace destination module with where you want to put the new info.
  foreach($_rt['_items'] as $item){
    $_sv[] = array(
    $pfx.'_title' = $item['whatever_title'],
    $pfx.'_description' = $item['whatever_description']
    ); // continue on with that with the fields your after.
  }
}

Then you have an array of items to either be created or updated. I think your after creating, so
jrCore_db_create_multiple_items('xxDestinationModule', $_sv);
should get the new stuff saved in the wanted datastore.
  572