toctree dropdown menu - dropdown

I want to get a dropdown menu when listing pages in Sphinx. I am using toctree.
But when this list appears, all the subsections also appear in the list. Is there a way to either:
Get a dropdown menu or
Not show the subsections

If you want to make a dropdown you can use the dropdown directive.
.. dropdown:: Dropdown menu title
Dropdown text only
Dropdown text with an internal link :doc:`directory/file_name`
Keep in mind that in order to use the dropdown directive, you will need to install the dropdown directive by running pip install sphinx-panels in your environment.
Make sure to also add 'sphinx_panels' to your extensions inside of your conf.py file.
You can find more examples for how to do that here

Related

Dropdown with hypelink in title that displays contents on click

I'm looking a way to display the text to appear down from a hyperlink. In the current page I need to include links to different pages, website links, link to text to same page once the link is clicked it will expand down.
I'm able to achieve the same using below code using sphinx-panels.
* `Web Interface <https://example.com>`__
.. dropdown:: * Software Stack
Line1
Line2
.. code:: bash
$ some commands
Here I'm actually looking the hyperlink should be in same format. But in my code, you can the second one is a dropdown link. This looks my overall looks of that page is not perfect.
Using the sphinx-design extension this can be achieved by writing the hyperlink directly into the directive argument, in your example if you write:
.. dropdown:: `Web Interface <https://example.com>`__
*Software Stack*
Line1
Line2
.. code-block:: bash
$ some commands
You get a dropdown with a clickable hyperlink in the title that expands and collapses the dropdown (usually directives don't allow hyperlinks in the argument but .. dropdown:: supports it). Any further styling would have to be done using custom CSS and setting one of the class properties on the directive.

Intellij not displaying file when clicking on it in project view

When I click on a file in the project view, it shows me a dropdown listing all the methods in the file.
I don't want that - I just want it to display the file on the main window.
How do I accomplish this?
Right click on the Project title bar or click Show Options Menu cog, and deselect Show Members:
If this option is on, the files in the tree that contain classes turn
into nodes. When such node is unfolded, the contained classes with
their fields, methods, and other members of the selected item are
shown.

Eclipse plugin Development- How to remove search again menu item from search result page

I am new to eclipse plugin development.
I am creating a separate search for my project.
I have already added a new search page to existing search dialog and even getting the results in the search page.
But I am struggling to access get the search again menu to work .It always remain disabled I am not able to remove it nor able to enable it.
I am working on eclipse kepler.
This menu item cannot be removed.
The enablement of the item is controlled by your ISearchQuery.canRerun() method.

Issue on using "scrolling text" module in Joomla

I have downloaded and installed various module for scrolling text horizontally using these websites.
After I created new module and point out the position of that module, I can view that module in my web page. The text didn't appear because I didn't mention it in my module.
In Both of those modules, I couldn't find out that where have to I place the text to be scrolled in that particular modules?
I have searched a lot. But I couldn't get anything.
Any help will be appreciated!
Thank you in advanced!
These extensions display text from articles. So all you have to do is simpley:
Create a category in the Content Manager
Create some articles and assign them to your newly created category
In the Module settings, there will be an option to choose which category you wish to display the articles from, simply select your category
Hope this helps
There is no need of using any other modules for scrolling the text.
I used Custom HTML as menu type and write the code on editor.
The steps I have done as below:
Go to site -> Global configuration -> set Editor-None in default editor
Go to Extension-> module Manager -> New -> select the module type as Custom HTML
Copy the html code for scrolling text and Paste it in the text part and save the module.
Check your site. Now, your site is having the scrolling text. Then, You can change the Editor as before.

reset fck editor values yii

I am using yii framework and i have fck editor in form. If i click reset button all the fields in the form get empty but the editor doesn't. This is the code for fck editor
$this->widget('application.extensions.fckeditor.FCKEditorWidget',array(
"model"=>$model, # Data-Model
"attribute"=>'content', # Attribute in the Data-Model
"height"=>'400px',
"width"=>'100%',
"fckeditor"=>Yii::app()->basePath."/../fckeditor/fckeditor.php",
# Path to fckeditor.php
"fckBasePath"=>Yii::app()->baseUrl."/fckeditor/",
# Relative Path to the Editor (from Web-Root)
"config" => array("EditorAreaCSS"=>Yii::app()->baseUrl.'/css/index.css',),
# Additional Parameters
How can i do that?
AFAIK FCKEditor (and any other similar) is based on simple textbox (HTML element textarea).
If you're using jQuery, I would consider adding a simple piece of code to onDocumentReady function in the view that is generated after reset of the form (or directly to the Reset Button's onClick code, if you're not reloading page after reset). In this code I would simply force field that is used as base for FCKEditor to make sure it is empty.
Something like this:
$('#editor').val('');
Written from memory, not tested though.