I want to put up a submission guidelines on my directory http://www.fesu.net , where would a good place to put the guidelines. And how could i implement them on php2.1. As you can see its a small template.
Submit page is a good place to put, but we make a submission guide page, you make put more informations for yours
I have two copies: a dedicated submission page that goes into detail, and on the submission page itself where the most important points are highlighted above each field. I also have a javascript function that alerts submitters if they type in certain words that I'm likely not to want to see, such as obvious promotional language. I know that not everyone has it enabled, but those who do certainly get fair warning.
i would say make a separate page for guidelines ... as xx.com/guidelines.php if you want the tut it is below right here Note: This is a tutorial from my designing teacher (Jamey) also known as optmit at phpld forums or SiteExpress here at dp. First, create a page and name it whatever you want your new page to be and add a .php extension, then save it to your root folder with the other php pages. Example would be newpage.php Below is the code for the php page to be save in the root directory. Be sure to replace the bolded text appropriately. <?php require_once 'init.php'; $path = array (); $path[] = array ('ID' => '0', 'TITLE' => _L(SITE_NAME) , 'TITLE_URL' => DOC_ROOT, 'DESCRIPTION' => SITE_DESC); $path[] = array ('ID' => '0', 'TITLE' => _L('[B]Newpage[/B]'), 'TITLE_URL' => '' , 'DESCRIPTION' => _L('No authorisation')); $tpl->assign('path', $path); //Clean whitespace $tpl->load_filter('output', 'trimwhitespace'); //Compress output for faster loading if (COMPRESS_OUTPUT == 1) $tpl->load_filter('output', 'CompressOutput'); //Make output echo $tpl->fetch('[B]newpage[/B].tpl'); ?> Code (markup): Now create a page with the same name, but with a .tpl extension, and save it to your templates folder. Add these contents to the tpl page and replace the bolded text with the appropriate text. {capture name="title"} - {l}[B]Your META Title[/B]{/l}{/capture} {capture assign="in_page_title"}{l}[B]Your Page Title[/B]{/l}{/capture} {capture assign="description"}{l}[B]Your Page Description[/B]{/l}{/capture} {include file="header.tpl"} {include file="top_bar.tpl"} {strip} [B]Your html code for the page goes here.[/B] {include file="footer.tpl"} {/strip} Code (markup): then add a link to wherever you want, something like this. Again, replace the bold text appropriately <a href="{$smarty.const.DOC_ROOT}/[B]newpage[/B].php">Link Title</a> Code (markup): I hope that helps
Thanks will try this out later.. id like to add a seperate page for guidelines so i can add more guidelines.
smub thats too much trouble just use {include file="somefile.tpl"} in your submit.tpl file someplace and put your text in that somefile and you are done, place it along with submit.tpl file ofcourse. Saves lots of time . Example : http://www.freephpldtemplates.h-log.com/phpld32/submit.php , that submit page uses that function. Easy and time saving . Also best place for guidelines is at submit page, but ofcourse no one really cares to read them ..