The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sun May 13, 2012 7:51 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Apr 21, 2012 11:58 pm
Posts: 3
Hey there,

I have developped a joomla component (to manage collection of stuffs) following MVC pattern.
On the front end i display a list of items. I want the user to be able to click on one item then it opens a modal dialog box displaying some more details not displayed on the grid.

I did everything requested in order to use SqueezeBox.
I inserted :
"
JHTML::_('behavior.modal');
...

<td><a rel="{handler: 'iframe', size: {x:700, y: 500}}"
href="/joomla_1.5.26/index.php?option=com_collection&controller=item&layout=show&task=show&cid[]=10005"
class="modal">"
in my view displaying the grid.

and in the show.php that should display details form, i have displayed only 'details' text.

Here is the result when i click on 'jim'; dialog box is opened but it does not only display the content of my show.php code but also all the rest of the website !!!

Image

Anyone can help ? i searched for 4 hours trying everything without success.
I am pretty sure this can be done as it works on PREVIEW for article.

anyone have any idea ?

T H A N K S !!!!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 



Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group