array('title' => LAN_DEFAULT, 'description' => 'unused'), 'videos' => array('title' => "Videos (experimental)", 'description' => 'unused'), ); // Default $NEWS_VIEW_WRAPPER['default']['item']['NEWSIMAGE: item=1'] = '{---}'; $NEWS_VIEW_WRAPPER['default']['item']['NEWSRELATED'] = '
{---}
'; $NEWS_VIEW_TEMPLATE['default']['caption'] = '{NEWS_TITLE}'; // null; // add a value to user tablerender() $NEWS_VIEW_TEMPLATE['default']['item'] = ' {SETIMAGE: w=900&h=600}
{GLYPH=user}  {NEWSAUTHOR}   {GLYPH=time}  {NEWSDATE=short}
{GLYPH=tags}  {NEWSTAGS}   {GLYPH=folder-open}  {NEWSCATEGORY}

{NEWSIMAGE: item=1}

{NEWS_SUMMARY}

{NEWS_BODY=body}
{NEWSVIDEO: item=1} {NEWSVIDEO: item=2} {NEWSVIDEO: item=3}

{SETIMAGE: w=400&h=400}
{NEWSIMAGE: item=2}
{NEWSIMAGE: item=3}
{NEWSIMAGE: item=4}
{NEWSIMAGE: item=5}
{NEWSVIDEO: item=4} {NEWSVIDEO: item=5}
{NEWS_BODY=extended}

{NEWSCOMMENTLINK: glyph=comments}{PRINTICON}{ADMINOPTIONS}{SOCIALSHARE}
{NEWSRELATED} '; /* *

About the Author

{SETIMAGE: w=80&h=80&crop=1}{NEWS_AUTHOR_AVATAR: shape=circle}

{NEWS_AUTHOR}

{NEWS_AUTHOR_SIGNATURE} My Articles
*/ $NEWS_VIEW_TEMPLATE['default']['schema'] = ' { "@context": "https://schema.org", "@type": "NewsArticle", "mainEntityOfPage": { "@type": "WebPage", "@id": "{NEWS_URL: full=1}" }, "headline": "{NEWS_TITLE}", "description": "{NEWS_DESCRIPTION}", "image": [ "{SETIMAGE: w=800&h=800}{NEWS_IMAGE: item=1&return=url}" ], "author": { "@type": "Person", "name": "{NEWS_AUTHOR=nolink}" }, "publisher": { "@type": "Organization", "name": "{ORGANIZATION}", "logo": { "@type": "ImageObject", "url": "{SITEBUTTON: type=url}" } }, "datePublished": "{NEWS_DATE=atom}", "dateModified": "{NEWS_MODIFIED=atom}", "articleBody": "{NEWS_BODY=raw}" } '; // @todo add more templates. eg. 'videos' , 'slideshow images', 'full width image' - help and ideas always appreciated. // Videos $NEWS_VIEW_TEMPLATE['videos']['item'] = '
Empty news_view_template.php (videos) - have ideas? let us know.
'; // Navigation/Pagination $NEWS_VIEW_TEMPLATE['nav']['previous'] = ''; $NEWS_VIEW_TEMPLATE['nav']['current'] = '{LAN=BACK}'; $NEWS_VIEW_TEMPLATE['nav']['next'] = ' ';