GetSimple Support Forum

Full Version: Site refresh. Jack.ie
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've redone a magician friend of mines site again.

http://www.jack.ie

Plugin used:

TheMatrix - for almost everything
118n Gallery - Gallery Admin
Sharebar - Social

TheMatrix plugin is used for almost everything on the site. Only About , Guarantee and Contact are GS pages...
(2012-11-28, 23:57:42)n00dles101 Wrote: [ -> ]I've redone a magician friend of mines site again.

http://www.jack.ie

Plugin used:

TheMatrix - for almost everything
118n Gallery - Gallery Admin
Sharebar - Social

TheMatrix plugin is used for almost everything on the site. Only About , Guarantee and Contact are GS pages...

It's a nice site. Wot is this matrix thing?
@timbow, its an unreleased Plugin of mine but you can download and use from Github
( https://github.com/n00dles/DM_Matrix ) if you wish.

Just haven't had time the last couple of months to do the docs fully.

Its basically an XML Datastore plugin. Just setup your tables, enter your records and query them using SQL syntax on the frontend...

e.g. the homepage for the site consist of a table with the follwoing fields:
o - id - int, incremental
o - position - text, position on the front page
o - title - text, title text to display on hover
o - image - imagepicker, image to display
o - url - text, URL link when clicked.

I can then query the table on the frontend using:

PHP Code:
    $myquery "select * from homepage";  
    
$images=DM_query($myquery,DM_MULTI);
foreach(
$images as $image){
        
            echo 
'<div class="portfolio-thumb '.$image['position'].' ">';
            echo 
'    <a href="'.$image['url'].'">';
            echo 
'        <div class="overlay"><h3>'.$image['title'].'</h3></div>';
            echo 
'        <img src="'.$image['image'].'"  alt="'.$image['image'].'" title="'.$image['image'].'" />';                
            echo 
'        <div class="disable  "></div>';
            echo 
'    </a>';
            echo 
'</div>';
        
    }