The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
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
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
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
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Theme Settings
#24
(2016-01-01, 10:23:45)Arugula Wrote: One problem though:   on the settings page, when user presses the 'Save Settings' button, the data he'd put in the entry fields disappears.   It IS sent to LESS/css, because the edit changes show correctly on the pages.   But I'd really like the 'current value' for each of those fields to show in the boxes, even when the user logs back in weeks later, so he or I can see the current value, before attempting to change it. 

Did you include the value="<?php get_theme_setting('fieldname'); ?>" in your input tag (as shown in the example on http://mvlcek.bplaced.net/get-simple/theme-settings)?
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
Theme Settings - by mvlcek - 2014-07-12, 08:34:42
RE: Theme Settings - by shawn_a - 2014-07-12, 08:51:27
RE: Theme Settings - by Carlos - 2014-07-12, 17:32:34
RE: Theme Settings - by mvlcek - 2014-07-12, 18:22:34
RE: Theme Settings - by Tzvook - 2014-07-15, 20:47:06
RE: Theme Settings - by Tzvook - 2014-07-15, 21:50:44
RE: Theme Settings - by Tzvook - 2014-07-15, 22:33:26
RE: Theme Settings - by Oleg06 - 2014-07-13, 05:25:31
RE: Theme Settings - by Oleg06 - 2014-07-15, 23:13:45
RE: Theme Settings - by Tzvook - 2014-07-15, 23:22:20
RE: Theme Settings - by Oleg06 - 2014-07-15, 23:34:09
RE: Theme Settings - by Tzvook - 2014-07-15, 23:40:01
RE: Theme Settings - by Tzvook - 2014-07-30, 02:34:35
RE: Theme Settings - by mvlcek - 2014-07-30, 02:49:59
RE: Theme Settings - by Tzvook - 2014-07-30, 03:04:02
RE: Theme Settings - by mvlcek - 2014-07-31, 15:19:23
RE: Theme Settings - by Tzvook - 2014-07-31, 06:12:49
RE: Theme Settings - by Oleg06 - 2014-07-16, 00:36:17
RE: Theme Settings - by Oleg06 - 2015-04-08, 19:58:34
RE: Theme Settings - by mvlcek - 2015-04-09, 06:12:22
RE: Theme Settings - by Arugula - 2015-12-31, 16:31:18
RE: Theme Settings - by mvlcek - 2015-12-31, 23:02:12
RE: Theme Settings - by Arugula - 2016-01-01, 10:23:45
RE: Theme Settings - by mvlcek - 2016-01-01, 20:03:16
RE: Theme Settings - by Arugula - 2016-01-02, 15:56:20
Multi-lang: Theme Settings - by Tzvook - 2016-02-13, 04:28:21
RE: Theme Settings - by mvlcek - 2016-02-15, 02:16:41
RE: Theme Settings - by Timbow - 2016-10-13, 08:04:27
RE: Theme Settings - by DrogoNevets - 2016-10-14, 14:29:33
RE: Theme Settings - by Oleg06 - 2019-11-15, 00:27:47



Users browsing this thread: 2 Guest(s)