Skip to content

How to put a search field in my sitemap? #875

Discussion options

You must be logged in to vote

The shortcut parsing event has been renamed and modified in the latest API. Please replace the line:

<?php echo $this->yellow->page->parseContentShortcut("search", "", "block"); ?>

With:

<?php echo $this->yellow->page->parseContentElement("search", "", "", "block"); ?>

See also: #967 and Yellow parse events in the API documentation.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@derion1
Comment options

@schulle4u
Comment options

Answer selected by derion1
@derion1
Comment options

@annaesvensson
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants