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:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I implement additional (custom) fields?
#4
svedish Wrote:I downloaded the I18N Custom Fields plugin, which seems to do what I was after (apart from the fact that the images Browser - for an Image field - shows a blank page even though I got a couple of images in 'Files') and looks pretty easy to use. So that is good.

To use browsing with link and image fields, turn on site wide cookies in gsconfig.php:
Code:
define('GSCOOKIEISSITEWIDE', TRUE);

svedish Wrote:However there is one more thing that I'm not sure this system can do. Since I may have different type of pages (say a book page type and a magazine page type) and each of those page templates may have different custom fields, is there a way to associate groups of fields to a page template and not see all of them on each new page I create? This way I can create different templates for different page types and see only the related fields for each of them, if it makes any sense. Smile

This extension of I18N Custom Fields is still in development :-(
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
How do I implement additional (custom) fields? - by mvlcek - 2011-12-31, 01:09:21



Users browsing this thread: 3 Guest(s)