1
rewrites
xyp4all double contents in 'city' field - help!
  • 2005/9/13 17:30

  • rewrites

  • Just popping in

  • Posts: 16

  • Since: 2005/5/18


Hi

Am using xyp4all as a listing module, but have noticed that anything entered in the 'city' field is returned twice in final viewed page, for instance:

Her Maj. Queen Elizabeth
Buck House
London London
ER11 HM10

As a definite non-coder and all round XOOPS novice, any ideas would be very welcome.

Thanks

PH

2
LazyBadger
Re: xyp4all double contents in 'city' field - help!

Update vesrion to latest or edit template and remove doubled <{$link.city}>
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

3
rewrites
Re: xyp4all double contents in 'city' field - help!
  • 2005/9/17 17:27

  • rewrites

  • Just popping in

  • Posts: 16

  • Since: 2005/5/18


thanks for the reply Lazy badger. I have the latest version installed.

Which particular template needs to be edited and which $link.city line? I have opened the listingfull.html template and tried to delete the various $link.city entries there, but nothing seems to be working.

Thanks for the help so far.

4
mongrel
Re: xyp4all double contents in 'city' field - help!
  • 2005/12/15 17:50

  • mongrel

  • Just popping in

  • Posts: 62

  • Since: 2005/1/15


Has a filename/line number ever been identified as the culprit for this double posting of the city name? I have the xyp_listingfull.html template open, which I think should be the right one, but I'm not confident that I'm about to delete the corect thing.

Anyone?
Improve the time.

5
mongrel
Solution Re: xyp4all double contents in 'city' field - help!
  • 2005/12/15 19:28

  • mongrel

  • Just popping in

  • Posts: 62

  • Since: 2005/1/15


Okay, I figured it out. The file is indeed xyp_listingfull. My lines 18, 19, and 20 of code look like this.

18  <{/if}>
19  [color=990000]<{$link.city}>[/color]    
20  <{if $link.city != ""}><{$link.city}>, <{/if}> <{$link.state}> <{$link.zip}><br>


The <{$link.city}> on line 19 has to go. Re-upload the file, go to your module admin page, and then update the module.

Empty your browsers cache and take a look at one of your listings. The double city listing should be gone.

I was reckless and did this without backing up my database first (prolly not necessary, but what do I know about MySQL sites?
Improve the time.

6
LazyBadger
Re: Solution Re: xyp4all double contents in 'city' field - help!

Cloned templateset allow you to edit templates online and see changes without updating module
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

Login

Who's Online

153 user(s) are online (99 user(s) are browsing Support Forums)


Members: 0


Guests: 153


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