jAC Family History

Home > Post > Post Title

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: morton
Layout: default
LayoutLocation: ../yellow/system/layouts/morton/
SystemLocation: ../yellow/system/
SystemPath: /home/jacmgr/jhinline.com/sites/yellow/system/

testing link colors testing link colors

CSS

The Language for Styling Web Pages

LEARN CSS CSS REFERENCE
body { background-color: #d0e4fe; } h1 { color: orange; text-align: center; p { font-family: "Times New Roman"; font-size: 20px; }

  body {
    background-color: #d0e4fe;
  }
  h1 {
    color: orange;
    text-align: center;
  p {
    font-family: "Times New Roman";
    font-size: 20px;
  }
  
Try it Yourself

JavaScript

The Language for Programming Web Pages

LEARN JS JS REFERENCE


 Click the button to change the color of this paragraph
   
   function myFunction() {
	var x;
	x = document.getElementById("demo");
	x.style.fontSize = "25px";
	x.style.color = "red"; 
}
Try it Yourself

Theme Colors

  • l5 w3-theme-l5
  • THIS IS THE TEXT
  • THIS IS THE TEXT
  • THIS IS THE TEXT
  • l1 w3-theme-l1
  • w3-theme-d1
  • THIS IS THE TEXT
  • THIS IS THE TEXT
  • THIS IS THE TEXT
  • w3-theme-d5