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

Freakin' Awesome!!! J-Cook is simply awesome - whether you're a highly experienced developer or complete novice whether you're building a small inventory component or a complete community solution! The beauty comes from a fast slick and reliable platform that readily provides developers with everything they'll need to build the backbone of a solid and secure component with wizards for authoring access publishing aliasing created/modified by dates... you name it COOK provides it! J-Cook really surpasses all of the 'competition' as far as MVC tools are concerned! Try love it and get cooking!
learnthrusong (JED)
          

Get Started