(2016-03-03, 22:02:49)linden Wrote: Is it possible to use this plugin for rendering a component together with i18n-specialpages? I mean it does work if i use for example (% component %) in the specialpage content. But would want to create a specialpage with new field, type "wysiwyg" and render the component in that field. Is this possible? Not sure if i am explaining well enough
Nope, I suppose it's not explained well enough.
If you wanted to
- create a special page type with an additional WYSIWYG field, e.g. 'wysiwyg'
- and code to display both this field and the regular content (special page type tab 'view', text area 'HTML/PHP code for the display of a page'), e.g.
Code:
<div><?php get_special_field('wysiwyg'); ?></div>
<div><?php get_special_field('content'); ?></div>
you would have
- created such a special page type,
- created a test special page, e.g. with the following in the additional WYSIWYG field (note the curly braces for dynpages)
Code:
Test component: {% mycomponent %}
- viewed the page
- and seen that the component 'mycomponent' was correctly displayed
So please try to better explain what you want to achieve.