Follow via:
RSS
Email Alert
Question
0 Votes
+ -

Page displays ok thru 1 link, not thru other - same code?

I'd be most grateful if anyone could shed any light on the following issue:

Short Description: When you navigate to a particular page via route 1, all info called from the database shows perfectly, but, when you navigate to what is ostensibly the same page (same lines of php producing the display) via route 2, nothing shows?

Read More... : I have a Joomla site which includes a real estate component that I have modified a little, mostly re-styling & re-labeling, but a little bit of gentle code changes & re-arranges. Because I have no knowledge of php most of my changes involve careful copying/cutting and pasting of existing code, and some commenting out of unnecessary extraneous html e.g. table entries my site does not need (I have a decent grasp of html).
So, if you visit http://www.stuandstu.co.za/verano/ and click on 'Agent' then 'view all properties', you see a property shortlist as it should look.
Then, if you visit http://www.stuandstu.co.za/verano/ and click on 'To Let' then 'view all properties', you see a property shortlist with none of the property details.

The two property shortlists are the same bit of code, but evidently, I'm missing something.

Any thoughts much appreciated, my last hurdle before delivery of this site!

Thanks.
23rd Jul

Answers (1)

0 Votes
+ -
Solved
I found 'function showCategory'
and
$query = "SELECT h.id, h.hits,h.hlocation, h.htitle, hc.idcat AS catid, h.fk_rentid, h.price, h.priceunit, h.year,h.link, h.image_link, h.listing_type
which became
$query = "SELECT h.id, h.hits,h.hlocation, h.htitle, hc.idcat AS catid, h.fk_rentid, h.price, h.priceunit, h.year,h.link, h.image_link, h.listing_type, h.bedrooms, h.bathrooms, h.broker, h.lot_size, h.description
and job done.
23rd Jul
Answer the question
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.