yasen6275 Hi, I supose this has to be done by someone and I dont want reivent the wheel. I'm Creating a new wiki, have a list of pages i should have, made empty file for each of them. I found [[plugin:var]] that gives me the name of the page without txt extension and converts _ to spaces. Now i need a way to make every word to start wit capital letter. Any ideas ae wellcome
yasen6275 Hacked var plugin. case 'PAGE': $xhtml = strtr(noNS($ID),'_',' '); $meta = $xhtml; break; case 'CPAGE': $xhtml = ucwords(strtr(noNS($ID),'_',' ')); $meta = $xhtml; break; case 'USER': $xhtml = $_SERVER['REMOTE_USER']; $nocache = true; break;