solved Combining some Lucid and Elastic2 features

resif
@resif
6 years ago
187 posts
i want to add some features from lucid to Elastic2

its about just homepage desing.. under header pic items... editor choices latest topic and others

i will copy some codes from Lucid index.tpl to elastic2 index.tpl page..

and i will create some required pages like profile.sidebar.tpl

but problem with css... there are many css files... what can i do...

how can import lucid css styles from Lucid directory to elastic2...

is it posiblle to add css source to index.tpl in Elastic2
updated by @resif: 12/24/18 03:26:44PM
resif
@resif
6 years ago
187 posts
i will add all Lucis css files to include.php at Elastic2

under this

// Bring in all our CSS files
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'html.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'grid.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'site.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'page.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'banner.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'header.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'footer.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'form_input.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'form_select.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'form_layout.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'form_button.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'form_notice.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'form_element.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'list.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'menu.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'table.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'tabs.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'image.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'profile.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'skin.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'slider.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'text.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'base.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'slidebar.css');

jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'admin_menu.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'admin_log.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'admin_modal.css');

jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'override_tablet.css');
jrCore_register_module_feature('jrCore', 'css', 'jrElastic2', 'override_mobile.css');

// Register our Javascript files with the core
jrCore_register_module_feature('jrCore', 'javascript', 'jrElastic2', 'responsiveslides.min.js');
jrCore_register_module_feature('jrCore', 'javascript', 'jrElastic2', 'jrElastic2.js');

// Slidebars
jrCore_register_module_feature('jrCore', 'javascript', 'jrElastic2', APP_DIR . '/skins/jrElastic2/contrib/slidebars/slidebars.min.js');

// Tell the core the default icon set to use (black or white)
jrCore_register_module_feature('jrCore', 'icon_color', 'jrElastic2', 'black');
// Tell the core the size of our action buttons (width in pixels, up to 64)
jrCore_register_module_feature('jrCore', 'icon_size', 'jrElastic2', 25);
// Hide module icons
jrCore_register_module_feature('jrCore', 'module_icons', 'jrElastic2', 'show', false);

// Our default media player skins
jrCore_register_module_feature('jrCore', 'media_player_skin', 'jrElastic2', 'jrAudio', 'jrAudio_player_dark');
jrCore_register_module_feature('jrCore', 'media_player_skin', 'jrElastic2', 'jrVideo', 'jrVideo_player_dark');
jrCore_register_module_feature('jrCore', 'media_player_skin', 'jrElastic2', 'jrPlaylist', 'jrPlaylist_player_dark');

jrCore_register_event_listener('jrCore', 'form_display', 'jrElastic2_insert_field');

return true;
}
michael
@michael
6 years ago
7,748 posts
They are different skins, they have different features just throwing them all together is not going to get you the result you want.

think: "I like the body of the Camario, but I want the engine of the Corvette in it" You need to get rid of some things, add others, move others then re-wire it.

Start by getting the HTML in place, then see what classes it has, maybe those classes exist in your current site, mabye they don't.

Jamroom is designed as an extensible platform for developers, but its not a sectional clip-together system.

I think you'd be better gaining an understanding of how it works then building the thing you need rather than trying to merge stuff.
resif
@resif
6 years ago
187 posts
i will do cos i need that... stop advice please i dont need...
michael
@michael
6 years ago
7,748 posts
:thumbs-up:

Tags