Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to place user-editable blocks in template
#2
Use components

Create a page called aboutus

Make a component
say
"block_aboutus"
put
Code:
get_page_content('aboutus');


In your template
put
Code:
get_component('block_aboutus');

psuedo code
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
how to place user-editable blocks in template - by shawn_a - 2012-08-27, 23:53:15



Users browsing this thread: 1 Guest(s)