Show Latest Photos, Videos and Music on Home Page |
| |||
With the help of this link "[url]http://www.jcow.net/docs/?s=custom_home"[/url] it is discovered that now you can also show recent Music files on your site home page. To show latest photo albums, latest videos and latest music add this code to your home.tpl.php in the end in blue theme. echo '<div class="block"> echo '<div class="block"> echo '<div class="block">
|
| |||
em.. how about on facebook theme??
|
| |||
put on /page.tpl.php but make sure put the function first before the content..
|
| |||
em.. which one is function?? can u give me in separated code?? Thank You,
|
| |||
[quote=king10magi]em.. which one is function?? can u give me in separated code?? Thank You, [/quote] function get_list($app, $type = '') { echo '<div class="block"> echo '<div class="block"> echo '<div class="block"> or you can make above code a custom .php file and then include on /page.tpl.php include_once ('yourlocation/customfile.php'); im also learning.. :-)
|
| |||
emm..thank you anyway...how about u give me ur page.tpl?? i mean the code?? then i will paste into mine its more easy Thank You,
|
| |||
[quote=king10magi]emm..thank you anyway...how about u give me ur page.tpl?? i mean the code?? then i will paste into mine its more easy Thank You, [/quote] i had send you a message. you can look at my page.tpl.php but maybe you not all work on your website. tq
|
| |||
ohh..okay i will make backup first then i will try.. Thank you very much!
|
| |||
thanks it is working in my site, but how to make it small size. [url]http://speakasiaonlinemoney.com/penalist[/url]
|