Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Image in Collapseblock Header

Hi
I have added an image to the header area of a collapse block. It is not displaying. Can this be one or can I only display text?

Thank you.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Image in Collapseblock Header

Hi ,

Yes, you can add image in Collapse Block Header .

Please follow these steps:

1 Add collapsible component into the page.

2 DragNDrop image component into the header of the collapsible element.
Image

3 Select image and select asset for this image.
Image

4 Fill collapsible content with content you need.

After you run the application you'll get something like this:
Image

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Image in Collapseblock Header

Hmm, I did not explain properly.I am going to simplify this.

I have a collapse block that is mapped to data.....

The image renders properly if I put it in the Content area of the Colapse Block.
However when I move it to the Header of the Colapse Block, the Colapse block does not display at all.

Secondly, The colapse block is supposed to be non colapsed. But when running the app it is colapsed.
Image

Thirdly, if I do put the image in the content area, it works, however the colapse block does not display in the correct area on the screen. In other words,

In Design Mode - You can see the Colapse Block should be under the Book Now Button
Image

Actual Display - The colapse button has switched places with the image below it

Image

Sample of mapping when Image is in Content area. As I said when I move the image to the header the colapseblock does not display at all.
Image

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Image in Collapseblock Header

Ok, I now have delete the colapse block and added a new one. The image is now displaying in the header of the colapse block. However the colapse block is still displaying in the wrong position.

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Image in Collapseblock Header

I think I see the problem. I added another datasource to the collapse block and mapped its image to the content area. Its seems that a collapse block cannot cater for two different datasources. Is this correct?

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Image in Collapseblock Header

Still displaying in wrong position and as collapsed.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Image in Collapseblock Header

Deon,

Yea you are right.

If you use some iterating in datasource you cant to use other datasource to change elements inside.
Can you show us screenshot with correct position of Collapseblock?

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Image in Collapseblock Header

It must be right below the booking button as per screenshot of designview above.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Image in Collapseblock Header

Hi Deon,

If we understand you correctly, the image 'Accommodation' should not be between "book now" and "collapsible block", right?

Return to “Issues”