Page 1 of 1

PostPosted: Thu Sep 27, 2007 6:50 pm
by andrewr
Hello everybody-

Question - probably a quick one -
All my file names in my templates_c directory are pretty eratic.

%%81^81A^81A2A6A2%%Dataface_Login_Prompt.html.php

would be an example - do I need all the %%81.... stuff?
If that is not what they are supposed to be named - could you perhaps enlighten me how this may have happened?

Just a curious observation.

-

Also - my Client would like to remove the department and title fields from the registration form -
looking on the obvious form
%%32^328^3281D746%%Dataface_Registration.html.php

I cannot see where I would make that change.
Is this something that I should be doing within dataface, instead of Dreamweaver?

Thank you

Andrew

PostPosted: Thu Sep 27, 2007 8:03 pm
by shannah
You shouldn't make any changes to any of the files in the templates_c directory. These are just caches of smarty's compiled templates. Any changes you make will be overwritten by smarty when the original template is changed.

Don't change any templates to remove fields. You can remove the department and title by adding the following to the tables/users/fields.ini file:
Code: Select all
[department]
    widget:type=hidden
[title]
    widget:type=hidden


-Steve

PostPosted: Thu Sep 27, 2007 8:05 pm
by shannah
If you want to start customizing the app, I recommend that you read the getting started tutorial. It doesn't take long to read and it should give you a good grasp of the concepts necessary to make changes the right way.

-Steve

PostPosted: Thu Sep 27, 2007 8:05 pm
by shannah
Note... an alternate way to remove the title and department fields would be to just delete the columns from the users table in the database.

-Steve

PostPosted: Fri Sep 28, 2007 5:16 pm
by andrewr
Fantastic - thank you Steve.

Andrew