Raghav
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Custom Admin Interface] Admin Menu not workingI found out solutions, may be this is temporary.
Original Error :
//File name wp-custom-admin-interface/inc/options/options-page-admin-menu.js
//this function is required to remove notification numbers from labels function removeNotificationsFromLabels (input){ //declare the input var originalText = input; //check to see if a span exists as this means there's a number if(originalText.indexOf('<span') !== -1) { //find the position of the span and lets get just the content before the span var positionOfSpan = originalText.indexOf('<span'); return originalText.substr(0,positionOfSpan-1); } else { //otherwise just leave the text how it is return originalText; } }
In above code there is below error
TypeError: Cannot read properties of null (reading 'indexOf')
I add one condition so now it is working
if(originalText!== null){ //check to see.... .... }
Final Code :
function removeNotificationsFromLabels (input){ //declare the input var originalText = input; if(originalText!== null){ //check to see if a span exists as this means there's a number if(originalText.indexOf('<span') !== -1) { //find the position of the span and lets get just the content before the span var positionOfSpan = originalText.indexOf('<span'); return originalText.substr(0,positionOfSpan-1); } else { //otherwise just leave the text how it is return originalText; } } }
Please update this plugin in your next update.
Thank you..
Apologies, Forgot to reply.
Code Worked.
Thank you so much ..
Thank you for your support
Please check your mail, I have mailed credential.
Sorry I got disconnected for some time. There is one more problem that, business inbox assign not happening, If you can come on google meet or zoom I can show you complete problem.
Website credentials are already shared with you.
Please check above This create 2 tickets at same time
Sorry !! For Delayed Response, Will Give you update on this shortly
Please check above Screenshot
Please check it
Hii,
Other problem : when we submit form It create same ticket two times in fluent support
- This reply was modified 1 year, 4 months ago by Raghav.
Hii Team,
Any update on issue ?
Thanks for the update, ??
Can you please tell me when will plugin update will come like with in 1 week or 2 week ?
Hii Team,
Please let me know if there is any update ?
Ok !! Thanks for the update let us know once done !!