html javascript

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

html javascript

Postby cybergenesis » Fri Jan 14, 2011 5:05 pm

Enjoying the script.

Where can I modify the html output, specifically would like to remove "control panel" link in the upper right hand corner for a user and also remove the export xml and remove rss feed from the user logged in area?

Where do I modify the javascript validation for registration to require telephone to be validated?

Thanks for help in advance.
cybergenesis
 
Posts: 5
Joined: Thu Jan 13, 2011 7:13 am

Re: html javascript

Postby shannah » Fri Jan 14, 2011 6:57 pm

1. Removing certain links like "control panel" and export XML can either be done via permissions or by overriding actions to require a different permission. Check the xataface wiki for info on permissions or actions... there should be some examples on how to disable actions in both the wiki and the forum.

2. For making a field mandatory you can either change it to a not null field in the database, or you can add the validators:required=1 directive for the field in the fields.ini file for the users table.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: html javascript

Postby cybergenesis » Fri Jan 14, 2011 9:37 pm

Thanks Shannah,
I was able to make all the changes I wanted. Thanks for fast reply.
cybergenesis
 
Posts: 5
Joined: Thu Jan 13, 2011 7:13 am


Return to Web Auction Discussion

Who is online

Users browsing this forum: No registered users and 24 guests

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