Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notebook Slideshow Extension , Toggle button not showing #6511

Closed
fera0013 opened this issue Sep 21, 2014 · 3 comments
Closed

Notebook Slideshow Extension , Toggle button not showing #6511

fera0013 opened this issue Sep 21, 2014 · 3 comments
Milestone

Comments

@fera0013
Copy link

I have just installed the great slideshow extension to IPython 2.2.0 and NBViewer Version aff720d. However, I don't seem to get the normal/slideshow toggle button, as you can see from the following screenshot:

What could be the problem?

@Carreau
Copy link
Member

Carreau commented Sep 21, 2014

NBViewer Version aff720d

Nbviewer has nothing to do with slideshow.

I supposed yo installed https://github.com/ipython-contrib/IPython-notebook-extensions, did you pay attention at selection the 2.x branch ? and modifying your custom.js to load the ext ? if so try to flush your browser cache.

@Carreau Carreau added this to the no action milestone Sep 21, 2014
@fera0013
Copy link
Author

Here are the things I verified:

// Example for custom.js

// we want strict javascript that fails on ambiguous syntax
"using strict";

// activate extensions only after Notebook is initialized
require(["base/js/events"], function (events) {
    events.on("app_initialized.NotebookApp", function () {
    /*
     * all exentensions from IPython-notebook-extensions, uncomment to activate
     */

    // PUBLISHING
   IPython.load_extensions('publishing/nbviewer_theme/main')
   IPython.load_extensions('publishing/gist_it')
   IPython.load_extensions('publishing/nbconvert_button')   
   IPython.load_extensions('publishing/printview_button')
   IPython.load_extensions('publishing/printviewmenu_button')

    // SLIDEMODE
   IPython.load_extensions('slidemode/main')


    // STYLING
   IPython.load_extensions('styling/css_selector/main')

    // TESTING
//    IPython.load_extensions('testing/hierarchical_collapse/main')
//    IPython.load_extensions('testing/history/history'])
//    IPython.load_extensions('testing/cellstate')

    // USABILITY
//    IPython.load_extensions('usability/aspell/ipy-aspell')
//    IPython.load_extensions('usability/codefolding/codefolding')
//    IPython.load_extensions('usability/dragdrop/drag-and-drop')
//    IPython.load_extensions('usability/runtools/runtools')
//    IPython.load_extensions('usability/chrome_clipboard')
//    IPython.load_extensions('usability/navigation-hotkeys')
//    IPython.load_extensions('usability/shift-tab')
//    IPython.load_extensions('usability/toggle_all_line_number')
//    IPython.load_extensions('usability/help_panel/help_panel')
//    IPython.load_extensions('usability/hide_input')
//    IPython.load_extensions('usability/search')
//    IPython.load_extensions('usability/split-combine'')
//    IPython.load_extensions('usability/read-only')
//    IPython.load_extensions('usability/init_cell/main')
//    IPython.load_extensions('usability/autosavetime')
//    IPython.load_extensions('usability/autoscroll')
//    IPython.load_extensions('usability/breakpoints')
//    IPython.load_extensions('usability/clean_start')
//    IPython.load_extensions('usability/comment-uncomment')
//    IPython.load_extensions('usability/linenumbers')
//    IPython.load_extensions('usability/no_exec_dunder')
//    IPython.load_extensions('usability/noscroll')
//    IPython.load_extensions('usability/hide_io_selected')
//    IPython.load_extensions('usability/execute_time/ExecuteTime')
//    IPython.load_extensions('usability/python-markdown')

    });
});

Everything in the toolbar looks alright, I can create slides, sub-slides and so on, but I dont get that toggle button:

https://cloud.githubusercontent.com/assets/1273515/4348252/6d596fc4-4183-11e4-8974-e8166d1e2a87.jpg

@Carreau
Copy link
Member

Carreau commented Sep 21, 2014

Yes I know the button extension you are talking about. the first screenshot you show indicate that none of your extension are loaded. Can you hava a look at the javascript console and see if there is any error messages ?

The toolbar and ability to tag cell is independant from having extensions installed.

Also try to not get 100ds of extension working at once, just enable them one by one, it will be easier to spot mistakes.

Closing here, as not IPython issues. We'll continue discussion at ipython-contrib/jupyter_contrib_nbextensions#107

@Carreau Carreau closed this as completed Sep 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants