4,539 questions
Advice
0
votes
1
replies
41
views
Django: Separate session expiry times for "normal" website and admin area
It would be nice if there were an easy way to define separate session expiry time for the admin area of a django website. So, admin users could log themselves into the "normal" website (seen ...
0
votes
0
answers
19
views
Unable to reset the querybook UI Page back to the original localhhost page
At the homepage there used to be 2 options, 1 demo set up and 2 detail setup .
After I established connection with my local postgres , now I cant access the original local host page.
Only the demo ...
-4
votes
1
answer
103
views
Found this error when trying to access my admin page for mysql through XAMPP [duplicate]
This is the error line of my http://localhost/phpmyadmin/
Fatal error: Maximum execution time of 120 seconds exceeded in C:\xampp\phpMyAdmin\libraries\classes\ErrorHandler.php on line 192
Anyone got a ...
0
votes
1
answer
58
views
Django Autocomplete reversed ForeignKey field
I have two models
models.py
class Group(models.Model):
name = models.CharField()
class Book(models.Model):
name = models.CharField()
group = models.ForeignKey(Group, on_delete=models....
0
votes
0
answers
30
views
Lara Nova Admin Package stepanenko3
Has anyone tried stepanenko3 package in Nova Admin?
I have tried:
MenuItem::link('Error Logs', '/nova‑vendor/log-viewer')
MenuItem::link('Error Logs', '/nova‑vendor/stepanenko3/logs‑tool/logs' // ...
1
vote
1
answer
73
views
Highlight order in admin dashboard in woocommerce with specific shipping method
i have more web sites, i have tried to copy a code which is working on one ( same woo version, same php version, same theme, same hosting) to another one, but it is not working.
// **********local ...
0
votes
1
answer
79
views
Custom select disappears after filtering on WooCommerce admin orders page
I added a filter by product to WooCommerce admin orders page, using:
function add_my_product_filter_to_orders() {
global $typenow;
if ($typenow !== 'shop_order') return;
if (!...
0
votes
1
answer
43
views
Django admin: strange view
Couldnt understand what wrong with my admin part. It looks like that:
I understood that this effect may depend on 'static' resources..
HTML preview shows:
<head>
<title>Log in | Django ...
1
vote
1
answer
75
views
How to grant a java program admin privileges during runtime
I have a java program from which i would like to access a file that requires admin privileges. I use IntelliJ IDE for development and I would like to start the program from the IDE.
I have an ...
0
votes
1
answer
146
views
How to set `null` value in sqladmin `form_ajax_refs` form?
In sqladmin I have a model, let's name it Token, in which I have creator that relationship with the User who created that Token. In the admin panel creator by default is realized with a select html ...
0
votes
1
answer
98
views
How to display multiple lines of text in django admin for Headers?
Similar questions that have already been asked are for data fields like in Here and Here
But how to split the header in multiple lines?
Considering a Django app with model and admin setup like this:
...
1
vote
0
answers
78
views
Target class [admin] does not exist Problem in Laravel Version 11.36.1 and php version 6.2.12
I am trying to create a login system where both admin and users can log in using the same form. The problem is when I log in with admin credentials, the URL redirects correctly to admin/dashboard, but ...
0
votes
1
answer
98
views
How to update Business Phone on Admins with Power Automate
I am running a workflow that pulls employee information from a spreadsheet and fills in their contact data and organization data. Everything runs fine except when it gets to updating the business ...
0
votes
0
answers
21
views
django: unable to customise the admin history page
I want to display the old and new values in the history log page.
I have been able to save the data and print it to the server but I cannot seem to customise the history page layout / rendering... it ...
1
vote
1
answer
99
views
Fill the ACF field who modified the user profile
I'd like to record the user_id or display_name of the user (admin, moderator) who modified the members profile ACF field. Because this field will be use to identify who is the responsible user updated ...
1
vote
1
answer
68
views
Shopware 6.6 plugin with administration page
I'm trying to develop a plugin which will have an administration page. The plugin is installed, but when I'm navigating to the custom page URL I see only blank page without any error. In console there ...
0
votes
0
answers
18
views
How can I alter my cron job so that unwanted space is not introduced? [duplicate]
I am running a cron job with the following syntax:
{ crontab -l -u root 2>/dev/null; echo "10 2 * * * python3 main.py /data/log/access.log-\$(date -d \"yesterday\" \"+%Y%m%d\&...
0
votes
1
answer
44
views
Salesforce User with a certain profile can only delete contact base on Account.field__c and the user.field__c is the same
Salesforce User with a certain profile can only delete contact base on Account.field__c and the user.field__c is the same.
do you guys have any ideas on how to do this. I need the user to delete a ...
1
vote
1
answer
299
views
Date range filter issue in WooCommerce admin orders list (HPOS)
I am trying to add a "filter by date range" on admin WooCommerce orders list. I am currently using the code below:
function ts_add_date_range_filter($post_type) {
if ('shop_order' === $...
0
votes
1
answer
26
views
Is it possible to use my own admin panel template created in html, bootstrap for django admin panel
I am new in django and in admin customization i want to know is it possible to use own admin panel created in html, bootstrap instead of django built in admin , or is there any other django admin ...
-3
votes
1
answer
113
views
Invoice Icon in orders with VAT number in woocommerce order admin page
I would like to ask you if there is a posibility to add an Invoice Icon in orders with VAT number in woocommerce order admin page, please see an exaple here https://snipboard.io/r69lIQ.jpg?
For ...
0
votes
2
answers
211
views
How can I hide the total count in changelist_view (Django admin)?
I want to hide the total displayed in changelist_view, as in the following image.
Django admin screen
I searched but couldn't find any way through admin customization.
I know I can modify the template,...
3
votes
1
answer
106
views
How to hide specific fields from WooCommerce Admin Products Quick Edit
I'm trying to hide some WooCommerce fields from the "Quick Edit" window: "Date", "Tax status", "Tax class", "Weight", "L/W/H", "...
0
votes
1
answer
218
views
When hoving the mouse over a variable in a C++ project the Intellisense popup doesn't show if I run VS 2022 as an admin
I'm not sure if it's a setting that I'm missing, or what?
When I open a C++ solution in the Visual Studio 2022 as a standard user, and then start debugging it, the Intellisense shows a popup with the ...
2
votes
1
answer
125
views
Custom WooCommerce Admin notice with a dynamic message
I cannot display an admin message by sending an argument to the function. It was suggested I use a closure function but this does not appear to work. Here is the code
function ...