Re: [Rest2web-develop] Uservalues in config file
Brought to you by:
mjfoord
From: Michael F. <fuz...@vo...> - 2006-08-06 13:02:52
|
martin f krafft wrote: > also sprach Michael Foord <fuz...@vo...> [2006.08.05.1609 +0100]: > >>>> The better way of achieving this is to provide uservalues in your site >>>> config file. These are already available to every page. >>>> >>> by site config file, you mean .ini file? >>> >>> >> Yes. >> > > How do I read them? I tried for a while and reread the entire docs. > Sorry, but I couldn't figure it out. > > You *should* be able to do the following : Put something like this in your config file : [uservalues] site_wide_title = 'A nice site title' Then in your templates/pages you should just be able to use the name ``site_wide_title`` directly, it should be in your namespace. Let me know if this doesn't work and I will fix it. Michael > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Rest2web-develop mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/rest2web-develop > |