Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
Bootstrap [responsive, mobile-ready]
Bootstrap* / / / / / / / Version Notice * I'm running this on Mysidia v1.3.4 - however, I can't think of too many reasons why it wouldn't be backwards compatible with older versions, so it's worth a shot? * End Notice / / / / / / / * Features:
Download: http://sta.sh/0ny9dwq3t9o * / / / / / / / Update * FEB.04.2014: - 99% of css related things moved from js-kyt to style-kyt - sidebar login inputs no longer clip out of the sidebar - all form input fields are now fully mobile ready - available adoptables table narrower on desktops - all table cells are now vertically aligned - added first optional mod FEB.02.2014: - profile tab bug fix and prettification - classes added to input, textarea, and selection form elements - classes added to table elements - page flicker fix added JAN.31.2014: - launch * / / / / / / / To Do * - swap out icons in Manage Adopts, Trade Center, Members List, etc - swap out social networking icons in the Profile - remove MSN from contact info in the Profile, add Tumblr? - remove carets entirely, at least until I can place them only on drop downs - wrap Search form elements in .form-groups divs * / / / / / / / Known Bugs * n/a Bugs will be fixed in the next major release. Until then, check back here and attempt replacing your js-kyt.js with the above before reporting a bug. But please do report bugs! InstallationTo install this theme, all you need to do is upload one folder inside your templates folder. No edits to Mysidia's PHP class files are required, this is done for you client-side via jQuery. The theme folder is called 'Bootstrap' and it belongs in templates/. So, for example, the path to your template.tpl will be templates/Bootstrap/template.tpl. Admin side: Once you have the files in place, go to Admin CP and down to Themes and install the theme there. Enter the theme name (Bootstrap) and folder (Bootstrap). Leave the header, body and style part all blank. (In Mysidia v1.3.4 you must click on the checkbox beside 'The style has been uploaded to the site, and is pending for installation' at the very bottom of the theme creation form. Not doing so will wipe the template files you just put in place.) Submit! It can now be found in your list of themes that members can choose from. (http://YOURSITEHERE/changestyle/) Please note: You will NEED to go into Links > Edit Links and make sure your top-level categories are pointing to pages other than index, as the drop down menus have been removed for devices smaller than tablets! Make pages for your top-level categories that include all relevant links, so users on smaller screens can navigate all parts of your site. You can safely remove the link to 'Home' as it is redundant and will inaccurately display a drop down caret even though it has no drop down children. Setting it as the default Mysidia template: If you would like to set it as your main theme later, in the Admin CP go down to Settings > Basic Settings and this will open up a page for Global Site Settings. Write 'Bootstrap' in the Default Theme input box and hit 'Change Global Settings' to save it. If you'd like to remove people's ability to select other Mysidia themes, in the Admin CP go to Links > Edit Links and it will open up the Site Links Manager. All you have to do is remove the link that would take visitors to changestyle. Setting default Bootswatch theme: The theme changer remembers what the user's preference is, but if YOU have a preference for the initial look of the site, read the commentary in the header.tpl. Disabling the Bootswatch theme switcher: Don't want your users to be able to change the theme on their own? Remove the link to themeswitcher-kyt.js at the bottom of the template.tpl - and/or if you're sure you'll never need it again, just delete themeswitcher-kyt.js. Consider only removing themes just the themes you hate from the list (the list must remain all in one line, sorry). (Said list is also populated within the themeswitcher-kyt.js - if you need help, don't be afraid to contact me.) Adding your custom StyleBootstrap.info theme: If you want it as your site default, again, view the the header.tpl for instructions. (( If you want to add it to the Bootstrap theme switcher, open up themeswitcher-kyt.js and read the commentary there for instructions. edit: I AM NO LONGER SUPPORTING THE THEME SWITCHER WHATSOEVER, DELETE IT IF IT CONFUSES YOU. )) Further Implentating BootstrapVisit the official Bootstrap site for documentation on other cool features you can add to your page's content. Read up on Bootstrap's: CSS classes and helpers (including a grid system): link Components (wells, panels, thumbnails, etc): link and Javascript (tooltips, modal boxes, dismissable notices): link Last edited by Kyttias; 08-12-2016 at 08:45 AM. Reason: new release |
Tags |
bootstrap, jquery, mobile-first, responsive |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Bootstrap [AdminCP version] | Kyttias | Templates and Themes | 15 | 03-12-2021 06:07 PM |
Basic Browser Game Tutorial using Smarty and Bootstrap | Kesstryl | Programming and Game Development | 3 | 10-29-2014 10:15 PM |
I created a responsive template | audition | Questions and Supports | 0 | 02-01-2014 05:02 PM |
Request - Responsive Themes | Kesstryl | Templates and Themes | 4 | 01-29-2014 10:21 PM |
Responsive design | Kesstryl | Suggestions and Feature Requests | 5 | 03-06-2013 02:34 PM |
What's New? |
What's Hot? |
What's Popular? |