Topic: Add new fields
Hey.
I want to add a new field to the plugin pages.
Sequence of actions:
1. Add in the admin side templates required fields:
Form::label('page_keywords', __('Keywords', 'pages')).
Form::input('page_keywords', $post_keywords, array('class' => 'input-xxlarge')).
Html::br(2).
Form::label('page_key_link', __('Keywords', 'pages')).
Form::input('page_key_link', $post_key_link, array('class' => 'input-xxlarge222')).
Html::br(2).
2. Add to file by analogy with keywords file pages.admin.php.
if (Request::post('page_key_link')) $key_link_to_edit = Request::post('page_key_link'); else $key_link_to_edit = $page['key_link'];