Home
Test of selected pages
Pages on this site Using Blog Layout
- What is Lorem Ipsum (2024-Jun)
- Why Do We Use It (2023-Jun)
- Where does it come from (2022-Jun)
- Made for people (2020-Dec)
- Blog example page (2020-Apr)
- Blog TOP (1969-Dec)
random fruit list
- Blog example page (2020-Apr)
- History (1969-Dec)
- Home (1969-Dec)
Home Page Story
I know I can add Page Settings / Meta Data to top of each md page and use yellow to search and filter to select pages with that meta value.
In an extensions I can use onParseMetaData to work with and add Page Settings. Those new values become available on the output of those pages. For example in an onParseMetaData, I can:
$page->set('layout', 'Mylayout');
$page->set('mycustomfield', 'Projects');
All works well when I display page. Uses the layout I specify instead of default, and I can use mycustomfield value in the page.
But I can't figure out how to make these settings be used when later I do a search. For example this will not find mycustomfield. Any Advice or suggestions to look into? Yellow pretty awesome, so I don't want to assume this is not possible! But if not, no worries.
// does this get all pages and run onParseMetaData each file??
$pages = $this->yellow->content->index();
// $pages has all files
$pages->filter("mycustomfield", 'Projects');
// returns nothing.....
The jac Family History Extension. Select the Family Tree link in the main navigation.
This is a barebones fresh install of the standard yellow download package with edit and images included.
I also installed the gallery plugin and clarity theme and copenhagen theme.
That's all and then installed the jacfamilyhistory extension.
Markdown Test Page | HTML Test Page
You can edit this page or use a text editor. Get help.
You can select from these default themes: clarity | berlin | karlskrona | paris | wittstock | stockholm | philly (picocss) | seoul (cutestrap) | jaccopenhagen-orange | jaccopenhagen-blue | copenhagen | sunya |