Zum Inhalt springen

Error-Message

Erstellt am 20. Oktober 2004 · 6 Antworten · letzte Antwort am 21. Oktober 2004

Tags: Frage

burna ·

Schau in die Doku!
Und dann auch noch der coole thread-titel 😉

Mfg,
burna

P.S: Ah, wollte sowas schon immer mal machen #giggle#

.....

Aber weil das Forum nicht umsonst "Anfängerfragen" heissen soll, du musst ein Template erstellen.

jenses ·

I Love Fotografie

Dann poste doch mal ein "Foto" von deinem Code,
wenn du möchtest, daß man dir hilft.

viele Grüße
jenses

tmallee ·

Im Prinzip sagt die Fehlermeldung, dass das Template fehlt bzw. entscheidenden Teile davon.

Da muss im Setup mindesten sowas in der Art stehen (Page configuration) :

page = PAGE
page.typeNum = 0

Gruss

Thomas

projectx ·

so schaut das momentan aus...
templates wurden angelegt, i bin zwoa a noob, owa so bled bin i a ned.

Mfg
projectX

Constants:
 feuser_admin 
 [GLOBAL]
plugin.feadmin.fe_users {
  file.templateFile = EXT:feuser_admin/pi/fe_admin_fe_users.tmpl

  email = 
  emailName = 

  pid = 
  usergroupOverride = 


  wrap1 = <font face="verdana" size=2 color=black> | </font>
  wrap2 = <font face="verdana" size=1 color=black> | </font>

  color1 = #cccccc
  color2 = #999999
  color3 = #333333

}
 
 

SETUP:
 feuser_admin 
 [GLOBAL]
plugin.feadmin.fe_users >
plugin.feadmin.fe_users = USER_INT
plugin.feadmin.fe_users {
  userFunc = user_feAdmin->init
  includeLibs = media/scripts/fe_adminLib.inc
  templateFile ={$plugin.feadmin.fe_users.file.templateFile}

  wrap1.wrap = {$plugin.feadmin.fe_users.wrap1}
  wrap2.wrap = {$plugin.feadmin.fe_users.wrap2}
  color1.wrap = {$plugin.feadmin.fe_users.color1}
  color2.wrap = {$plugin.feadmin.fe_users.color2}
  color3.wrap = {$plugin.feadmin.fe_users.color3}

  table=fe_users
  defaultCmd=create
  debug=0

  setfixed=0
  delete=1

  infomail = 1
  infomail.default {
    label = FORGOTPASSWORD
  }

  create = 1
  create.preview = 1
  create.fields = username,password,name,email,usergroup,address,telephone,fax,title,company,zip,city,country,www
  create.required = username,password,name,email
  create.overrideValues {
    usergroup = {$plugin.feadmin.fe_users.usergroupOverride}
  }
  create.evalValues {
    password = twice, atLeast[5]
    username = uniqueLocal, atLeast[4]
    email = email
  }

  edit < .create
  edit.overrideValues {
    username =
  }
  edit.evalValues {
    username = unsetEmpty
    usergroup = unsetEmpty
  }


  parseValues {
    username = lower,nospace,trim
    email < .username
    password = trim
  }
  evalErrors {
    password.twice = You must enter the password twice.
    password.atLeast = There must be at least %s characters in your password!
    email.email = The email address is not validly formed. Must contain @ and a domain
    username.uniqueLocal = The username exists already. Please select another one.
    username.atLeast = There must be at least %s characters in your username!
  }
  pid = {$plugin.feadmin.fe_users.pid}
  fe_userOwnSelf = 1
  fe_userEditSelf = 1

  cObjects.LOGIN = < tt_content.login.20

  email.from = {$plugin.feadmin.fe_users.email}
  email.fromName = {$plugin.feadmin.fe_users.emailName}
  email.admin = {$plugin.feadmin.fe_users.email}
  email.field = email
}
burna ·
projectx schrieb

[...] i bin zwoa a noob, owa so bled bin i a ned.

Nunja...
da fehlt trotzdem dein Page-setup...

page = PAGE 
page.typeNum = 0

mfg,
burna