jAC Family History

Home

Test of selected pages

Pages on this site Using Blog Layout

random fruit list

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

Example

You can edit this page or use a text editor. Get help.

TOP

System Information Page: /
Filename: content/1-home/page.md
ParentFolder:
Parent:
ParentTop: /
Theme: wittstock
Layout: default
LayoutLocation: ../yellow/system/layouts/wittstock/
SystemLocation: ../yellow/system/
SystemPath: /home/jacmgr/jhinline.com/sites/yellow/system/

You can select from these default themes:
berlin | karlskrona | paris | wittstock | stockholm | philly | phillysidebar | seoul | jaccopenhagen-orange | jaccopenhagen-blue | copenhagen | sunya | clarity | delta | w3css | morton | |