i wasn't sure if I should post this here or in the n00b section, but here goes anyway...
How do you make code/template shortcuts?
here's what I mean:
if you've ever used a template-based code like FusionNews (http://www.fusionphp.com/) or Greymatter (http://www.noahgrey.com/greysoft/), you will notice that they help the user create templates for their code with what I like to call "shortcuts".
If you still don't understand, you can see this example from the Fusion site. Those shortcuts somehoe turn into the PHP code, and I want to know how...
To make skins for Fusion news 3.0+
Make your layout, no content. Design it for the main content in one area (posting, editing) and links to diffrent pages (main, post...) in anothter. Use these variables to get the content where you want.
{main} - Main content.
{title} - Title of page.
{linksn} - Normal across links.
{linksb} - brs after each link.
{icons} - Display icons.
{login} - Info about current user.Heres an simple example:
<html>
<title>fusion | {title}</title>
<center><img src="/myskin/title.gif"></center><br/>
<br/>
{linksn}<br/>
<br/>
{main}<br/></html>