Keyword

Calling extra field values separately?

  • Johan Mauritzson
  • Johan Mauritzson's Avatar Topic Author
  • Offline
  • New Member
More
14 years 2 months ago #85220 by Johan Mauritzson
Calling extra field values separately? was created by Johan Mauritzson
Hi,I wonder if someone can tell me the answer to a quick question... Sorry for double-posting, seems the other Forum was dead.I need
to hack my Category view and turn it into a table view like this:Address     Rooms    Area    Size    Rent   
Available   Value         Value      Value    Value  
Value   ValueValue         Value      Value    Value   Value   ValueValue        
Value      Value    Value   Value   ValueClicking the address
is the link to the Item view. Now, the item has lots more extra fields
than these, but I only want to show these. What would I do to call on
the specific ones I want to use?I am under a tight deadline (2
days) and could pay pretty good money for someone to do this hack for me
if it turns out it is very complicated. /Johan

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #85221 by william white
Replied by william white on topic Calling extra field values separately?
Any luck?
Attached is code to display extra fields from an item
first - default
second - create an array
third - display directly from the item
Attachments:

Please Log in or Create an account to join the conversation.

  • Johan Mauritzson
  • Johan Mauritzson's Avatar Topic Author
  • Offline
  • New Member
More
14 years 2 months ago #85222 by Johan Mauritzson
Replied by Johan Mauritzson on topic Calling extra field values separately?
Thanks so much William!
I will immediately try it and see if I can get it to work...

/Johan

William White said:Any luck? Attached is code to display extra fields from an item
first - default
second - create an array
third - display directly from the item

Please Log in or Create an account to join the conversation.

  • Johan Mauritzson
  • Johan Mauritzson's Avatar Topic Author
  • Offline
  • New Member
More
14 years 2 months ago #85223 by Johan Mauritzson
Replied by Johan Mauritzson on topic Calling extra field values separately?
Sorry, Can't get it to work... I basically copied it into my category_item.php, which is the page I want to customize like this. I put it before the other "Info-block" to see if it would work at all, but i get.."

"Invalid argument supplied for foreach() in /var/www/02/32/02/kuststaden.se/www/templates/rt_dominion_j15/html/com_k2/templates/lagenhet/category_item.php on line 142"

What am I doing wrong? :-)


JohanM said:Thanks so much William! I will immediately try it and see if I can get it to work...

/Johan

William White said:Any luck? Attached is code to display extra fields from an item first - default
second - create an array
third - display directly from the item

Please Log in or Create an account to join the conversation.

More
14 years 2 months ago #85224 by william white
Replied by william white on topic Calling extra field values separately?
See my PM

Please Log in or Create an account to join the conversation.

  • Johan Mauritzson
  • Johan Mauritzson's Avatar Topic Author
  • Offline
  • New Member
More
14 years 2 months ago #85225 by Johan Mauritzson
Replied by Johan Mauritzson on topic Calling extra field values separately?
Thanks very much William. We are in different time zones here, I will reply to your message ASAP.

Again, thanks!

/Johan

William White said:See my PM

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum