The following warnings occurred:
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message



GetSimple Support Forum
Tab Creation - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: Tab Creation (/showthread.php?tid=17132)



Tab Creation - millermms - 2023-11-28

I'm creating my first customer tabs. I simply created the file and the tab appears, but only admin has permission to click on it. Help? Thx


RE: Tab Creation - islander - 2023-11-28

Is this on front end or in admin?

Can you paste code you are using to do this?


RE: Tab Creation - millermms - 2023-11-29

(2023-11-28, 22:40:17)islander Wrote: Is this on front end or in admin?

Can you paste code you are using to do this?

Backend Admin.  I'm creating a Tab at the top menu. All I've done is create a php file in the plugins directory with this:  add_action( 'nav-tab', 'createNavTab', array( 'Products', '$thisfile', 'Products', 'prodFun' ) );

The tab appears but if I log into the admin as another user to test and click on the new tab, I get permission denied.  Thx