Joomla Drag&Drop Component

For Joomla 1.0.x and 1.5.x (legacy)

Ready to download!

Need a custom feature? Contact us!

Unique Drag and Drop joomla tool for individual approach to your visitors!


FEATURES

If your aim is to draw attention to your site and keep the visitors coming back to it over and over again, we've created a unique tool for you. It's just what you've been thinking of!

With the help of the component:

  • you manage the content of the site
  • add as many drag&drop items as you wish
  • allow the client/visitor of the site to finish your work

And this component works on any Template!

You configure the layout of the site's modules at the back end and your clients rearrange them suitably to their perception and convenience at the front end.

Feel free to browse the support forum.

F.A.Q.

Why the Drag&Drop modules are not displayed on the page after I have opened the menu item (although a drag&drop was assigned to this menu item in the MenuManager)?

It's possible that you haven't assigned a specific template that will launch the display of drag&drop modules.

Why the Drag&Drop modules are not displayed on the page after I have opened the menu item (although a specific template was assigned to this menu item)?

It's possible you haven't selected the drag&drop which should be displayed on this link. Go to the MenuManager and do that.

Why in the drop-down list on the MenuManager page none of the drag&drop items is displayed (the only inscription is "В–Select drag&drop-")?

This means that you don't have any published drag&drop items. Go to the List Drag&Drop and publish the necessary drag&drop items.

How can I add the positions to the matrix when I choose the Structure tab on the List Drag&Drop page?

You'll see two pluses. By clicking on the upper a column will be created. By clicking on the lower a row will be created. The position will be displayed as soon as the column and the row will cross.

After I have created and saved the module positions, the columns displayed at the frontend don't have the width I wanted.

This can be set once the structure is saved. On the tab Options you'll see the field for Size DIV Column # (the numbering starts from the left). Here you can set the width of each column that contains a block. It can be set either in pixels or in percentage of the block's output area width.

The icon image is not displayed after is has been saved in the Drag&Drop item.

It is possible that you didn't set copywrite on the folder where the images are relocated. Set the attributes 0777 on the folder В‘images/joomdragdrop_images/'.

F.A.Q. addon

The most widespread slicing for Joomla templates is performed in two ways.

Let’s examine two variants here:

when a template is sliced with divs

<div>
        <div>  
                <div>
                        content
                <div>
        </div>
</div>

when a template is sliced with tables

<table>
        <tr>
                <td>
                        Content
                </td>
        </tr>
</table>
 

All that is situated between <div></div> represents a block. It can include constructions of various difficulties from other ‘divs’ to tables. The main thing is to detect correctly where the div begins and closes. The slicing process comprises strict elements hierarchy. Every div can be inserted into another one and so on.

Tables are organized in the following way.  A table comprises lines, lines are parted with cells.

<table> - means that a table started.
<tr> - means that a line started.
<td> - means that a cell started.
Text –  cell’s content.
</td> - means that a cell ended.
</tr> - means that a line ended.
</table> - means that a table ended.
 

There can be placed any number of lines into the table.

There can be placed any number of cells into the line.

Thus you reach the necessary dimensionality of the table.

 

We will provide an example of a table of two lines and three columns.

<table>
                <tr>
                                <td>
                                                Content
                                </td>
                                <td>
                                                Content
                                </td>
                                <td>
                                                Content
                                </td>
                </tr>
                <tr>
                                <td>
                                                Content
                                </td>
                                <td>
                                                Content
                                </td>
                                <td>
                                                Content
                                </td>
                </tr>
</table>
 
What we’ll get will be the following table:
Content
Content
Content
Content
Content
Content
 

In order to insert correctly a line of component’s integration into the template it’s necessary to delete blocks (divs or tables) with the maximum nesting gradually until you get the required result that the area where you want to output the component is empty. Here is an example:

 
<div>
<div>
<table>
                <tr>
                                <td>
                                                Content
                                </td>
                                <td>
                                                Content
                                </td>
                                <td>
                                                Content
                                </td>
                </tr>
                <tr>
                                <td>
                                                Content
                                </td>
                                <td>
                                                Content
                                </td>
                                <td>
                                                Content
                                </td>
                </tr>
</table>
</div>
<div>
<table> We’re deleting this table.
                <tr>
                                <td>
                                                Content
                                </td>
                                <td>
                                                Content
                                </td>
                                <td>
                                                Content
                                </td>
                </tr>
                <tr>
                                <td>
                                                Content
                                </td>
                                <td>
                                                Content
                                </td>
                                <td>
                                                Content
                                </td>
                </tr>
</table>
</div>
</div>
Content
Content
Content
Content
Content
Content
Content
Content
Content
Content
Content
Content
 
 
We’ll get:
<div>
<div>
<table>
                <tr>
                                <td>
                                                Content
                                </td>
                                <td>
                                                Content
                                </td>
                                <td>
                                                Content
                                </td>
                </tr>
                <tr>
                                <td>
                                                Content
                                </td>
                                <td>
                                                Content
                                </td>
                                <td>
                                                Content
                                </td>
                </tr>
</table>
</div>
<div>

<?php require_once ("$mosConfig_absolute_path/components/com_joomdragdrop/joomdragdrop.php"); global $option, $Itemid; dragdrop_view($option, $Itemid); ?>

</div>
</div>
We’ll get:
 
Content
Content
Content
Content
Content
Content
The component’s  JoomDrag&Drop output is here.
 
 
 

In order to understand which div or td tag (in case of slicing the template using the tables) should exactly be changed, we suggest using the Firefox browser and a its free add-on FireBug:

After you launch this add-on open your site’s page and click the green icon in the right bottom corner of the browser to start the add-on.

Further you need to click the Inspect button in the add-on and pointing your mouse over the site’s page find and select with the mouse click the area where you are going to activate modules dragging with the help of our component.

Then, in the back-end of your Joomla site you need to open the HTML code of the template being used and find the tag which was defined with FireBug. This tag’s content (this can be either div or td tag) should be replaced with the following:

<?php require_once ("$mosConfig_absolute_path/components/com_joomdragdrop/joomdragdrop.php"); global $option, $Itemid; dragdrop_view($option, $Itemid); ?>

 

Be careful! You shouldn’t delete the tag itself – you need to replace the content between <div> and </div> or <td> and </td> tags!