1
Peekay
Change phone format in Mxdirectory 3.0 RC1?
  • 2006/6/29 12:39

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


I would like to change ph# to Tel: in the drop-down menus. Is there a variable I can change somewhere?
A thread is for life. Not just for Christmas.

2
andycleff
Re: Change phone format in Mxdirectory 3.0 RC1?
  • 2006/6/29 16:34

  • andycleff

  • Not too shy to talk

  • Posts: 108

  • Since: 2005/4/29


Obviously the first place to look is in the language files.

If that turns up nothing, the next course of action is to do a text string search on the entire module directory.

Sometimes developer hard codes the string in one of the templates, sometimes it exists outside of the language files.

Doing a module wide search will locate where you need to make the change.

If it was in one of the template files, don't forget to "upate" the module via system admin.
Andy Cleff
Ampersand Design, Inc
Doylestown, PA
-----
Helping our clients bring great ideas into shape through integrated marketing, creative branding, print and web strategy, online learning and e-commerce.

www.ampersandesign.net

3
tripmon
Re: Change phone format in Mxdirectory 3.0 RC1?
  • 2006/6/29 17:26

  • tripmon

  • Module Developer

  • Posts: 462

  • Since: 2004/2/28


Navigate to:
your-mx-directory-path\language\english(or other lang)\main.php

variable is _MD_BUSPH... change it to whatever in there and save the file.

4
Peekay
Re: Change phone format in Mxdirectory 3.0 RC1?
  • 2006/6/30 0:07

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Thx andycleff. What software do you use for a multi-folder text search? Can you do this in Windows search? (never tried it and going to try it now).

and Tripmon, thx for a very nice module. Level options are great and CSS control is a big plus. I have found one annoying hard-coded 1px table rule - top and bottom of category listings heading. Looks o.k. in IE but Firefox doesn't like it and you get two fat, dark-grey rules that can't be changed in CSS. I'll post the exact code position in case you want to change the template for a future release.

Only other point is... it's great to see you can now disable submission of edited listings by registered users. I always imagined that would cause problems between rival listing clients. But, it would be nice if you could disable it for other registered users, yet allow the creator of the listing to still edit their own entry.

IMHO, of course
A thread is for life. Not just for Christmas.

5
McDonald
Re: Change phone format in Mxdirectory 3.0 RC1?
  • 2006/6/30 0:16

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


@Peekay,

With the editor ConTEXT you can do a search within all files that are opened in the editor.
I often open all the files from one folder and do a search in all those files at once.

6
Peekay
Re: Change phone format in Mxdirectory 3.0 RC1?
  • 2006/6/30 8:18

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Hey, thx McDonald that's a great editor! I use an old copy of PHPEd and the commands in ConText are similar. The tabbed docs are easier to work with and the multi-file search is brilliant.

Should be in an 'Essential Tools' section in the FAQ.
A thread is for life. Not just for Christmas.

7
McDonald
Re: Change phone format in Mxdirectory 3.0 RC1?
  • 2006/6/30 8:26

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Another good free php tool is Dev-PHP IDE which has also plenty features.

8
Peekay
Re: Change phone format in Mxdirectory 3.0 RC1?
  • 2006/7/2 20:39

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Quote:

Peekay wrote:
Only other point is... it's great to see you can now disable submission of edited listings by registered users. I always imagined that would cause problems between rival listing clients. But, it would be nice if you could disable it for other registered users, yet allow the creator of the listing to still edit their own entry.


Doh!. That is the way it now works. Very nice!
A thread is for life. Not just for Christmas.

9
andycleff
Re: Change phone format in Mxdirectory 3.0 RC1?
  • 2006/7/3 21:49

  • andycleff

  • Not too shy to talk

  • Posts: 108

  • Since: 2005/4/29


Quote:
What software do you use for a multi-folder text search? Can you do this in Windows search? (never tried it and going to try it now).


Try Abacre.com's Advanced Find and Replace.

Or if you are using a site management tool - Dreamweaver or GoLive - they both have built in search tools for this sort of thing.

Or you could switch to the Mac OS - multi-folder text search is built in. Grin.
Andy Cleff
Ampersand Design, Inc
Doylestown, PA
-----
Helping our clients bring great ideas into shape through integrated marketing, creative branding, print and web strategy, online learning and e-commerce.

www.ampersandesign.net

10
Peekay
Re: Change phone format in Mxdirectory 3.0 RC1?
  • 2006/7/4 7:09

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Thx Andy. I never thought of using Dreamweaver for that. With Xoops/PHP/ASP sites I seem to spend my life in a text editor.

Already a Mac fan! With Xoops, I generally do the graphics on a Mac and assemble the sites on the PC. I've been threatening to set up PHP/MySQL on a Mac for ages.
A thread is for life. Not just for Christmas.

Login

Who's Online

181 user(s) are online (124 user(s) are browsing Support Forums)


Members: 0


Guests: 181


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits