Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

MEDIUM - FK IMages not coming through 24 May 2015 15:25 #13172

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
I have a fly brick that pulls in info from a FK (front end, not tested back end). One of those pieces of information is an IMAGE FIELD.

I have uploaded an image in the table, but when I referencing it as an FK nothing comes through, it is as though the model is blank

Here is the generated front end code
<div class="control-group field-_pin_logo">
    	<div class="control-label">
			<label>Logo</label>
		</div>
		
        <div class="controls">
					</div>
    </div>

There is definitely an image uploaded and in the database
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla

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

MEDIUM - FK IMages not coming through 25 May 2015 16:01 #13178

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
There is absolutly no problem in your component.

I tried it, and everything is fine.
In your Deal item, check that 'pin' FK is not null.

The generated component works well.

By the way, be carefull, your rename property is incorrect for Deal_image
you have set : {RAND) instead of {RAND}
(closing bracelet)

No error there.
Coding is now a piece of cake

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

  • Page:
  • 1
Time to create page: 0.070 seconds

Awards for the best Joomla app. This product is gonna win an award for this amazing job. Cook Self Service is the the best application from all over the Joomla universe ! It brings Joomla to a professional level really advanced for developers. It is a real fun to develop with it. The ACL part and security checks implementation are just... so much hours saved. I can now concentrate myself more on the design part and the creative works. Thank you so much. Guys I offer you all my congratulation ! Keep up the works because Joomla is needing it to increase the quality of extensions availables on the JED. I also learned a lot because I can see how to code at the proper place and I found all my answers reading the forum.
lack_hanson (JED)
          

Get Started