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 1121 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 830 postParser->parse_message
/showthread.php 1121 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 1121 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 830 postParser->parse_message
/showthread.php 1121 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
News with special pages
#1
Hi,

I have created over special news pages and I want them to find and display specific fields. I would like to see in the search all the news where it shows the name, date, image (thumbnail), part of the text and read it. Show it by time and a limited number of results.
Reply
#2
(2013-03-04, 07:13:50)Superbobo Wrote: I have created over special news pages and I want them to find and display specific fields.

Assuming you are using I18N Search, you just need to select how to index the fields in "Edit Special Page Type", "Fields" tab, column "Index". If you change this when you already have pages of this type, edit/save any page to trigger I18N Search reindexing.

(2013-03-04, 07:13:50)Superbobo Wrote: I would like to see in the search all the news where it shows the name, date, image (thumbnail), part of the text and read it.

That's what the "search" tab is for. Just copy the example code into the edit field and modify it using get_special_field(...) calls.

(2013-03-04, 07:13:50)Superbobo Wrote: Show it by time and a limited number of results.

See here for I18N Search parameters to specify sorting and number of results.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply
#3
Hi,

could you expand even more, including the code? I can not so much English nor PHP, as this will grieve for a long time. I have news of fields: Label, date, image, thumbnial, text.

EDIT:
Awesome, I know. Thank you.
Reply




Users browsing this thread: 2 Guest(s)