The New Way to Build with AI! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Browse ReUI Pro

Metronic Django


Please, on django why didn't you give even one exemple of how you link pages in _menuSibar ?


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)

 
Deleted comment

Thanks for sharing nice information with us. i like your post and all you share with us is uptodate and quite informative, i would like to bookmark the page so i can come here again to read you, as you have done a wonderful job.
Raped


 
Deleted comment
 
Deleted comment
Deleted comment
Deleted comment
Deleted comment
Deleted comment

Hi Meschac Lubula,

To link the menu element "File Manager" with the app file manager, you can follow these steps:

You can refer from the existing Dashboards module or reuse the existing dashboard module in your project.

Inside the dashboard/urls.py file, create a URL pattern for your page. For example:

<pre> # dashboard/urls.py from django.urls import path from . import views urlpatterns = [ # ... other dashboard URLs ... path('file-manager/', views.file_manager, name='file_manager'), ] </pre>

For the file manager HTML template, you may need to copy it from the Metronic HTML version and customize it according to your needs.

To update the menu URL, navigate to the following file: /starterkit/_templates/layout/partials/sidebar-layout/sidebar/_menu.html

Locate the entry for "File Manager" and update the href attribute with the URL you defined in the dashboard/urls.py file:

<pre> <a href="{% url 'file_manager' %}" class="menu-link">File manager</a> </pre>

Ensure the {% url 'file_manager' %} matches the name you assigned in the urls.py file.

If you encounter any issues or need further assistance, feel free to ask!


I want to link the menu's elements "File manager" with the app file manager, I don't find details in the documentation


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
buy metronic keenthemes mega bundle

ReUI

Open-source React components, blocks and templates built on shadcn/ui and Tailwind CSS by Keenthemes.