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.074 seconds

Let me first state that this is an amazing and fascinating product exactly what I was looking for. In just a few hours (listening to the very well made and clearly understandable videos learning doing) I completed and installed my first component. I am now in the second refining phase. I will make a recommenation in JED. Thanks for the effort in creating such a great product. Incidentally some of the best Joomla extension I use are of French origin !
Giori (Forum)

Get Started