Confused about different files to modify

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

Postby andrewr » Wed Sep 26, 2007 8:49 pm

Hi,

I am a little confused about the different files to modify.

When I look in the root of webauction I see conf.ini & conf.ini.dist

on the surface - they appear to be the same, except that 1 has my database info set - the other does not.

I guess my question is : is the .dist the origional file prior to installer modification?

------

The next question:

in the conf.ini there is this section:

[_auth]
;auth_type=cas
;url="https://my.sfu.ca/cgi-bin/WebObjects/cas.woa/wa"
users_table = users
username_column = username
password_column = "password"
allow_register=1
;ldap_host = "ldap.sfu.ca"
;ldap_port = "1389"
;ldap_base = "ou=people, o=SFU, c=CA"

Which of those fields need to be modified, and what settings go in?

-------

Third:

and this is more on the modifications:

from the dataface_logo file

_tpl_vars['ENV']['DATAFACE_URL']; ?>
/images/emptybowls.jpg" alt="Maranatha Broadcasting Group - Empty Bowls Auction"/>

My alternate text shows - but no image.
Is the image supposed to go in the dataface directory or the webauction images directoy?

**** alright question answered myself - in the dataface images directoy - seems a tad backward to put it there, but it works.

------
Alrighty - I think that is all that my tired noggin can process tonight - so I am outa here.
Thanks

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

Postby shannah » Wed Sep 26, 2007 11:51 pm


When I look in the root of webauction I see conf.ini & conf.ini.dist

on the surface - they appear to be the same, except that 1 has my database info set - the other does not.

I guess my question is : is the .dist the origional file prior to installer modification?


Yes. You are correct.


Which of those fields need to be modified, and what settings go in?

None of them needs to be modified. Any of them can be modified depending on what you are trying to accomplish.


Is the image supposed to go in the dataface directory or the webauction images directoy?

It looks like you are trying to put PHP in the logo file. This a smarty template, so you should use smarty template syntax.
http://smarty.php.net

E.g. instead of $_tpl_vars['ENV']['DATAFACE_URL'] it would just be
{$ENV.DATAFACE_URL}

See http://lamp.weblite.ca/dataface-0.6/docs/index.php?-table=Classes&-action=browse&ClassID=%3D41
for a quick overview of some of the variables available in the template and what they mean.

Two useful ones are
{$ENV.DATAFACE_SITE_URL} : the URL to the webauction folder.
{$ENV.DATAFACE_URL} : the URL to the dataface folder.

So if you wanted to include a logo that is in the %webauctionroot%/images, you would do
Code: Select all



-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Web Auction Discussion

Who is online

Users browsing this forum: No registered users and 20 guests

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