I upgraded theme journal from 1.8.2 to 2.1 and the text “Welcome visitor…..” with login and register links disappeared. I can do my own in secondary menu, but then when I login, it will not change to name and logout link. What to do?
Go to Journal > Menus > Secondary Menu and in Link use Opencart Page & Login (Account) to display the name when logged in and Opencart Page & Register (Logout) to display the logout link.
Also have a look at the screenshot http://imgur.com/a/A2DG2
Related
I wanted to customize my django admin route
Not from /admin to something else but to add new clickable custom route inside admin panel
Currently I have created superuser using python manage.py createsuperuser command.
I can login to django admin panel , but what I want is to have a custom route to be displayed in left sidebar or anywhere else after logging into django admin panel. My custom route is like localhost:8000/my-view/ and my-view should be displayed somewhere in admin panel.
TIA.
I would like to have a dropdown list in the login field of authenti(fi)cation panel in Django : for admin and for a worker. Do you have any idea how to implement it?
I have Post model and have it registered in admin. It has description of TextField() but while adding new post from admin panel, description area does not support newline or <br> or any kind of formatting.
I have no usage of forms and only way to add post is through admin panel.
https://docs.djangoproject.com/en/3.0/ref/templates/builtins/#linebreaks
this reference worked for me.
I have installed zinnia on my website and everything works fine, except that I can not add a new category in the admin. When I click on "Add Category" in admin, it takes me to the homepage of my website.
I am using Django 1.6 and Zinnia 0.14 versions.
As I have a custom user model in my app, I have made changes to few templates as per issues
https://github.com/Fantomas42/django-blog-zinnia/issues/323
https://github.com/Fantomas42/django-blog-zinnia/commit/4c9809f98b48254d03173432e09d88074f660316
After making the above changes, I can add a new entry in the admin but I can not add a new category in the admin interface and it takes to my homepage when i click on 'Add Category' (url is admin/zinnia/category/add) button.
Any ideas on what I am missing ?
Thanks
I have managed to find what the problems is. The problem lies in the order my urls's are defined.
My app has below urls defined in the urlpatterns
url(r'category/(?P[-\w]+)/$', 'individual_item_page', name='individual_item_page''),
and if I put the above url before the zinnia url
url(r'^blog/', include('zinnia.urls')),
then when i click on "Add Category" (admin/zinnia/category/add) on zinnia category list in admin, it is going to the view individual_item_page instead of zinnia one's. Not sure why it is calling my app view rather than zinnia views.
I changed the order of urls by putting zinnia urls before my custom urls and it works fine.
How to create two forms: (login form, register form) and they submitted to my component.and admin has to approve registred user
You can use default User Manager com_users in Joomla , You just need to create a menu then assign the Menu Item Type to Login Form/Registration Form under the user manager list and enter the further details and just save it.
More detail you can find here :
Help25:Users User Manager
Help25:Menus Menu Item User Login
Help25:Menus Menu Item User Registration
Hope this will help you.