I've got several reasons for attempting this
the primary is that my php and mysql knowledge is minimum at best and I wanted a base
the old version of the website is static and I have to manually update it myself. the goal here is to make a website that others with very limited knowledge of computers could update
pondered using a wiki, but somehow FAF seems more logically setup and properly skinning some of those wikis can be downright icky. also thinking of using a form-based submission for the events page, and that couldnt happen with a standard wiki
plus, its kinda fun
for refrence, old site:
http://mahahounds.org
First big question, as I'm sure you can see the login section is still visible. I found how to hide it:
http://smarty.php.net/manual/en/languag ... ection.php at the bottom there is the 'show' option
in login.php I have inserted:
code: Select all
$uri = urldecode($_SERVER['REQUEST_URI']);
$action = substr($uri,strpos($uri,'?')+1);
if ($action == "login") {
$showlogin = TRUE; }
// print "true";}
else {
$showlogin = FALSE; }
// print "false";}code: Select all
{section name=login loop=$servers }//show=$showlogin}code: Select all
{section name=login loop=$servers show=$showlogin}the idea is if I or anyone else wanted to login they would type http://blackbirdfly.no-ip.org/maha/index.php?login and magically the box would appear..
it seems to properly decide if it wants to give $showlogin true or false, but it doesnt seem to take it over to login.html like I would like it to
I'm halfway decent with java, but know very little php or smarty tags
and no, most of the sidebar links dont point to their proper places yet.. I'll fix them as I get to them
if this works that would be great, as I could give the people who need it one login, they could go edit what they need to and not have to wait on me.. I'm sure there are easier ways, but yeah



