Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dynpages, components and custom fileds not resolving my porblems
#5
Using a custom field (requires I18N Custom Fields plugin) is a better way to go about it as you get a WYSIWYG editor and the sidebar content is easier to find and edit in the backend. You can then fall back onto a default sidebar component if you wish.
Code:
<?php

if (return_custom_field('sidebar');) {
  get_custom_field('sidebar');
}
else {
  get_i18n_component('sidebar');
}

?>
Modern UI Admin for GetSimple
Watch the demo. Install this plugin. Use this CSS. Enjoy.
Reply


Messages In This Thread
dynpages, components and custom fileds not resolving my porblems - by sal - 2012-08-14, 09:41:29



Users browsing this thread: 1 Guest(s)