Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Site refresh. Jack.ie
#3
@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>';
        
    } 
My Github Repos: Github
Website: DigiMute
Reply


Messages In This Thread
Site refresh. Jack.ie - by n00dles101 - 2012-11-28, 23:57:42
RE: Site refresh. Jack.ie - by Timbow - 2012-11-29, 09:42:21
RE: Site refresh. Jack.ie - by n00dles101 - 2012-11-30, 00:08:04



Users browsing this thread: 1 Guest(s)