Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
p01-contact : simply add contact forms in your pages
#38
Version 0.5
It starts to resemble something usable.

A lot of new things. Make forms from the simpliest to the complex.

Feel free to report any bug, idea...
Good evening!



Zegnåt Wrote:Running something like the following function when a page is being loaded should be able to change the description the way you want it.
Code:
function rewriteDescription() {
   global $metad;
   $metad = preg_replace(); # Strip away your tag here.
}

I don't understand this $metad var... I can change it :
Code:
$metad = 'something';

But i can't recuperate its value like :
Code:
echo $metad;
$metad = 'TEST' . $metad;
So impossible to preg_replace. Weird.

Zegnåt Wrote:The one used in the admin panel? It is stored in $LANG.
Perfect, thanks.

Zegnåt Wrote:Probably at $datac->EMAIL. Please note I’ve never used this one so I can’t be sure.
Thanks. The email is stored in user.xml file, so i retrieved this way :
Code:
$userdata = getXML(GSDATAOTHERPATH . 'user.xml');
$userdata->EMAIL;
Reply


Messages In This Thread
askcopy syntax Not Working - by celextel - 2019-05-24, 01:54:40
RE: askcopy syntax Not Working - by celextel - 2019-05-28, 01:51:47
p01-contact : simply add contact forms in your pages - by p01 - 2010-10-18, 05:59:10



Users browsing this thread: 2 Guest(s)