Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: redsquall - maaliskuu 02, 2005, 02:38:16 IP

Otsikko: Error: 'smf_images_url' is undefined (On Posting New Topic screen)
Kirjoitti: redsquall - maaliskuu 02, 2005, 02:38:16 IP
Error: 'smf_images_url' is undefined

is a javascript error that comes up when i go to the post new topic screen

please help.
Otsikko: Re: Error: 'smf_images_url' is undefined (On Posting New Topic screen)
Kirjoitti: Oldiesmann - maaliskuu 02, 2005, 03:56:09 IP
Open up index.template.php and make sure this line is in there (line 60 in the default theme):

var smf_images_url = "', $settings['images_url'], '";
Otsikko: Re: Error: 'smf_images_url' is undefined (On Posting New Topic screen)
Kirjoitti: [Unknown] - maaliskuu 02, 2005, 04:52:42 IP
You're probably using a customized theme.  Remember, SMF's templates assume some standard things will be present.  Unless you want to change all of them, you need to keep some things present.

-[Unknown]