PDA

View Full Version : version 112



rieco
08-10-2003, 05:02 AM
Hi,

when i go to the site i get an error (javascript) but not every time
its on line 25 syntax error/runtime

I found some text that wasn't put in languages vars in the file
listingsearch.php

line 11: Search Listings
line 14: Find the perfect property:
line 38: Show only listings with images

also when i'm on the site there is a listbox above price from ..
but there is no label in front of this (when i list it it seems to look the username) so i think this must be the 'agent' label

languages vars in the file
listingview.php

line 85: Mortgage Calculator
line 86: Add to favorites
line 87: Printer Friendly Version of This Page
line 88: Email This Listing to a Friend
isnt' it an idea to make things like these put on with a switch?
for example the yahoo maps doesn't work with dutch address

rentalsearch.php

line 11: Search Listings
line 14: Find the perfect property:
line 48: Show only listings with images

email_listing.php

line 43: Could not send mail.
line 47: Return to listing
line 76: You must have something to email!

calc.php

line 11: Amortization Calculator
line 28: Your monthly payment for a ... month loan at ... % would be
line 53: Loan Amount
line 56: Down Payment
line 59: Interest Rate (APR)
line 62: Term
line 64: Months
line 65: Years
line 69: Calculate

savesearch.php

line 37: Enter a title for the search:
line 61: Enter a title for the search:

isn't there a way to put the text items off these files in a langues file so all language custumising is on one place?
index.php
legal.php
contactus.php
aboutus.php
admin_bottom.html
user_bottom.html

maybe put them in the database?
i use something like 'content page' (or integrate this with extra_pages?).
In the database we add the pages (html enabled) and the just add this in the menu (for example index.php?contentid=1)
maybe when you put something like this in we can put more textitems on the site like this?

when i look to the metatags in the headers they aren't all there.
Isn't it an idea to put also these tags in the database (i have one 'site' -> 50 urls) and depending on the url i read from the database what info i need for this site. per site i have things like
url, sitename, title, description, keywords, language, stylesheet to use
(and depending on the site id we build the menu dynamicly because all the menu items are in a database table also) -> i can give you the code for that part (reading part and build menu part, because i update directly in the database ;-) )

for all the sites there are other general items like
date last updated, copyright notice, etc. in an other table.
maybe an idea to put this in OR to?

if you would like i can also give you a javascript thats a simple calculation for the maximum mortage sum depending on income that we use in Holland

marb
08-10-2003, 07:53 AM
The yahoo map works only in the US and Canada.

Instead of the yahoo map you can use routenet from www.routenet.nl
You can find the Dutch language file in; include/language.
If necessary you can change the file to your own idea.
there is also a Dutch file for extra pages, but you must fill in the text your self. (look at the English text file in extra pages)
The other problems you have can get can be answerd by someone else.

met vriendelijke groet,

marten :)

greengiant
08-10-2003, 09:05 AM
Th lang files need to be cleaned up thanks for providing me with the line numbers where the lang tags are missing. I will work on getting this all done. My focus is on 2.0 right now, so it will be a couple of days before i release a new 1.1.X release with these fixes.