This topic is locked

Bug in build 379

5/12/2008 1:04:10 PM
PHPRunner General questions
J
Jepsen author

I have the following observation which is a problem to me:
I have an application with photographs, but I am not inserting any of these on the "_list.php" page. Whatever I do, it is not possible to make any of the photos on the "_view.php" page to appear in a IBOX.
As soon as I add one of the photographs to the "_list.php" page and have it displaied in a IBOX, display of all photos in the "_view.php" page also work in IBOX. If I then remove the photo from "_list.php" page, nothing will work in IBOX.
This is rather inconveniant as I do not want any photos on the front page.
Have you got a fix for this?
Best regards

Morten

X
xliner 5/12/2008

I have the following observation which is a problem to me:

I have an application with photographs, but I am not inserting any of these on the "_list.php" page. Whatever I do, it is not possible to make any of the photos on the "_view.php" page to appear in a IBOX.
As soon as I add one of the photographs to the "_list.php" page and have it displaied in a IBOX, display of all photos in the "_view.php" page also work in IBOX. If I then remove the photo from "_list.php" page, nothing will work in IBOX.
This is rather inconveniant as I do not want any photos on the front page.
Have you got a fix for this?
Best regards

Morten


Morten,
I understand PHPR 4.2 - Build 379 - to generate Ibox related PHP code under interactive relationship between PHOTO in the VIEW page and its THUMBNAIL on the LIST page. Any "manual" removal of the thumbnailed photo on the LIST page by means of a "CUT" action under the visual editor tab has henceforth immediate impact on non-functional code. A kind of workaround could be to make the size of the thumbnail as small as possible, if not to say, to simply to try to hook off the thumbnail display on the list page within the section "Choose fields to appear on this page". My testing on the Ibox issue had been successfully happening immediately it came out, or say, lines above are basing on what I have seen working with my eyes months ago.
HTH - Hajo

J
Jepsen author 5/12/2008

Hajo
Thanks for your reply. Afraid your suggestions don't work, and making thumbs smaller is not a solution.

I'm afraid the PHPR team have to wake up here
Morten

X
xliner 5/12/2008

Hajo

Thanks for your reply. Afraid your suggestions don't work, and making thumbs smaller is not a solution.

I'm afraid the PHPR team have to wake up here
Morten


Morten,
content of:
http://www.ibegin.com/labs/ibox/readme.php#images
and looking at the iBox code, I fear, there is no other way around than thumbnailed to large based code and I don´t think a blame on Xlinesoft´s team could be really grounded.
HTH - Hajo

J
Jepsen author 5/12/2008

I found a workaround
Include one photo om the list page

Format the photo with IBOX etc

Build project

delete column with photo on list page

build project again
Then IBOX work on View page without any photo on view page.
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=29129&image=1&table=forumreplies' class='bbc_emoticon' alt=';)' />

Morten

X
xliner 5/12/2008

I found a workaround

Include one photo om the list page

Format the photo with IBOX etc

Build project

delete column with photo on list page

build project again
Then IBOX work on View page without any photo on view page.
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=29134&image=1&table=forumreplies' class='bbc_emoticon' alt=';)' />

Morten


<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=29134&image=2&table=forumreplies' class='bbc_emoticon' alt=':ph34r:' /> I ever knew one thing to still work in this crazy world, i.e. a trained PHP Ninja shall always find his way...

Alexey admin 5/13/2008

Morten,
thank you for pointing me to this bug.

We'll fix this with the next update of PHPRunner.
To fix this now modify view.htm file in C:\Program Files\PHPRunner4.2\templates\layouts\<layout name> folder .

Find this line there:

##foreach Fields as @f filter @f.bListPage && @f.bUseiBox && @f.bShowThumbnail##



and replace it with:

##foreach Fields as @f filter @f.bViewPage && @f.bUseiBox && @f.bShowThumbnail##

J
Jepsen author 5/13/2008

It is testet and it works <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=29213&image=1&table=forumreplies' class='bbc_emoticon' alt=':D' />
Thanks
Morten