How to display the first level title in the left sidebar - docusaurus

When there is only one markdown in the doc page, the left sidebar of the page is the primary directory of markdown, and the right sidebar is the subdirectory of the current primary directory. How can I implement it

Related

Using two different blog listing page templates for the two different blogs in our shop

Hi we have two blog types defined within our shop and they both use the same template right now.
Specifically I want to make changes to just one of the two blogs listing pages (the page where a summary and thumbnail of each blog article is shown).
How can I achieve this? Will this automatically happen if I name the templates to something specific a bit like how wordpress handles templating ?
What you need to do is:
in admin/themes click on the three dots and edit the code
in the left pane create a new template in the templates directory
select blog as template and give it a name, e.g. second_blog
this will create a new template file blog.second_blog.json
go back to admin: /admin/blogs
select the blog to which you want to assign the new template
on the bottom right in the theme template dropdown, select the template second_blog
In the theme editor select the new template and make the desired changes
You now have two blog templates which you can design individually
What you need to do is:
in admin/themes click on the three dots and edit the code
in the left pane create a new template in the templates directory
select blog as template and give it a name, e.g. second_blog
this will create a new template file blog.second_blog.json
go back to admin: /admin/blogs
select the blog to which you want to assign the new template
on the bottom right in the theme template dropdown, select the template second_blog
In the theme editor select the new template
and make the desired changes
You now have two blog templates which
you can design individually
The process is documented here.

Vue - Anchor Menu highlight current item

I have built a single page application using VueJS. There are multiple sections with IDs. In the header I have an <a> tag that links to the corresponding IDs in order to simulate a (sticky) header (-> the header is visible throughout the whole page)
I would like to highlight the current section that the user is looking at. Is there any convenient way (preferably using Vue) to get the nearest/visible/currently active section?

Prestashop how to replace left column with a gallery only on one page

I want to put a gallery instead off left column but only on one page, but i don't find the pagename on theme => advanced.
Go in Module -> Position, search your module and find the hook displayLeftColumn.
Then click on Edit, under the Exceptions box select all the page where you want to 'hide' that module.
You're done

How to remove Social Engine Site Logo Title/Label

Scoured the web for answers, and used file searches but cannot solve this problem.
Currently I have a Logo with a title I did not fill up.
But on my site it is showing as an empty <h3> tag. How do I remove the h3 tag?
It is destroying the layout of the site.
That's your Site Title that you entered during SocialEngine installation and it's being displayed by Logo Widget in the Header template. You can remove the Logo Widget or add your own image as your logo.
1) To completely remove the Logo Widget :
Open Header Template in Layout Editor.
SE Admin Panel -> Layout -> Layout Editor -> Header Template
You'll see the Logo widget in the header template. Click on X to remove it and then click on Save Changes.
2) To replace the site title with your own logo:
First, upload your logo via File Manager.
SE Admin Panel -> Layout -> File Manager
Open Header Template in Layout Editor.
SE Admin Panel -> Layout -> Layout Editor -> Header Template
Click Edit on the widget, choose the uploaded image from dropdown and lastly click on Save Changes.
NOTE : It is highly recommended that you do not modify any core files directly, including the .tpl file of any widgets. If you modify core files, you'll lose all your modifications to those files after installing new upgrade packages that SocialEngine releases regularly.
You can remove h3 tag in modules->core->widgets->menu-logo->index.tpl

Piranha CMS UI menu returns empty on post page

I have the default template menu from the piranha install. It works very well for all the pages of the site, but when it comes to viewing individual post pages the menu bar is empty, even when I specifically define root node as the startpage of the site.
Why is this? Can I make UI.Menu output the same html as on the other pages of the site in any way?
If you specify a root node, or start level for the menu, that page, or a child of the page has to be active in order for the menu to render. This is the logic that enables you to easily render submenus by typing:
#UI.Menu(StartLevel: 2)
When you render a post you don't have a selected position in the site map, so rendering the menu from a certain root node will most likely return empty. However, rendering the level without a root node should give you a menu, for example:
#UI.Menu(StopLevel: 2)
To help you out I need to know just how you're invoking the menu-helper from you .cshtml file.
Regards
HÃ¥kan