GetSimple Support Forum
News with special pages - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Feature Requests (http://get-simple.info/forums/forumdisplay.php?fid=7)
+--- Thread: News with special pages (/showthread.php?tid=4415)



News with special pages - Superbobo - 2013-03-04

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.


RE: News with special pages - mvlcek - 2013-03-04

(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.


RE: News with special pages - Superbobo - 2013-03-04

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.