File Names and other stuff

A place to discuss and receive support for the Web Auction application.

Postby andrewr » Thu Sep 27, 2007 6:50 pm

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
andrewr
 
Posts: 12
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Thu Sep 27, 2007 8:03 pm

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
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Thu Sep 27, 2007 8:05 pm

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
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Thu Sep 27, 2007 8:05 pm

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
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Postby andrewr » Fri Sep 28, 2007 5:16 pm

Fantastic - thank you Steve.

Andrew
andrewr
 
Posts: 12
Joined: Wed Dec 31, 1969 5:00 pm


Return to Web Auction Discussion

Who is online

Users browsing this forum: No registered users and 23 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved