Static Generation {IMAGETITLE} uses spaces rather than _ or -
global $settings, $scriptname; if ($_GET['html'] == 'yes') { // use static html path $altered = linkreplacements($settings->htmlautogeneratelin, $this); if ($settings->htmlautogenerateabsurl) $altered = $settings->htmlautogenerateabsurl .'/'. $altered; return $altered; }
global $settings, $scriptname, $pref; if ($_GET['html'] == 'yes') { // use static html path $altered = $settings->htmlautogeneratelin; if (strstr($altered, 'TITLE}')) { $altered = str_replace($pref .'TITLE}', str_replace(' ', $settings->rewritespace, removespecialchars($this->title)), $altered); } $altered = linkreplacements($altered, $this); if ($settings->htmlautogenerateabsurl) $altered = $settings->htmlautogenerateabsurl .'/'. $altered; return $altered; }
This thread is closed, so you cannot post a reply.
Comments on Static Generation {IMAGETITLE}
Beginner
Usergroup: Member
Joined: Dec 21, 2006
Total Topics: 1
Total Comments: 2
Hey There, I'd like to use image title in the static generation the detail page names..
But I've found it example generates
image title.html
rather than
image_title.html
Is there a mod for this?
Id really appreciate some help
Thanks,
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
In classes/onelink.php change to
Beginner
Usergroup: Member
Joined: Dec 21, 2006
Total Topics: 1
Total Comments: 2
thanks paul, great script!