1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-29 17:19:56 +02:00

Custom Field Fixes. Theme pref default fix. Shortcode updated: {CHAPTER_MENUS: name=chapter-sef-url}

This commit is contained in:
Cameron
2017-01-25 17:57:38 -08:00
parent 01801d6b94
commit 5c3ce83168
6 changed files with 63 additions and 23 deletions

View File

@@ -461,6 +461,15 @@ class cpage_shortcodes extends e_shortcode
return $tp->toHtml($row['chapter_name'], false, 'TITLE');
}
/**
* Alias for {CHAPTER_NAME}
* @example {CHAPTER_TITLE}
*/
function sc_chapter_title()
{
return $this->sc_chapter_name();
}
/**
* @example {CHAPTER_ANCHOR}