A new tutorial has been added on phplinkdirectory.com to integrate your tweets on Twitter with your phplinkdirectory.
Twitter: Micro blogging platform that is creating waves on Internet, just like sms did to mobile phones
phplinkdirectory: Web Directory Script for storing web links and categorize.
Here is the process to IntegrateTwitter and phpLD
This tutorial will show you how to add Twitter to the homepage of your phpLD site. You can see an example at Link Spectacular.
Step 1: Uploading the javascript files
Download the files
Then upload the javascripts folder to the root of your directory
Step 2: Editing header.tpl
Locate header.tpl for the template you are using and open it with a text editor such as Notepad++
Find:
<script type=”text/javascript” src=”{$smarty.const.DOC_ROOT}/javascripts/jquery.js”></script>
REMOVE IT
Find:
<script type=”text/javascript” src=”{$smarty.const.DOC_ROOT}/javascripts/tiny_mce/tiny_mce.js”></script>
{/if}
{/if}
{/if}
AFTER add these lines of code:
<script type=”text/javascript” src=”{$smarty.const.DOC_ROOT}/javascripts/jquery.js”></script>
<script type=”text/javascript” src=”{$smarty.const.DOC_ROOT}/javascripts/jquery.veetter.js”></script>
<style type=”text/css”>
@import “{$smarty.const.DOC_ROOT}/javascripts/jquery.veetter.css”;
</style>
Step 3: Edit main.tpl
Find the following code (in 3.4)
</div>
{if $uLevel == ‘1′}
</div>
{/if}
{/if}
After add:
{if !$uid & !$search & empty($category.ID) & !$list & $scriptname == “index”}
<script type=”text/javascript”>
{literal}
$(document).ready(function() {
$.veetter.go({
userName: “your-twitter-username”,
tweets: 10,
veetterDiv : ‘veetter’,
loaderText: “Loading tweets…”
});
});
{/literal}
</script>
<div id=”veetter”></div>
{/if}
Step 4: Configuration
From Step 3 above replace your-twitter-username with your handle on twitter. Also, right now it shows “tweets: 10,”. You can change the number, and this number will determine how many tweets will be displayed.
Step 5: Enjoy!
Read the Original: Add Twitter to phpLD
Flush DNS in Linux: How Do I Flush DNS?
Stolen Domains Alert: Domain Hijacking Alert!
If you have a problem with phpLD or need to share your views, do share your comments with us!
To your success,
Pubdomains – Web Hosting, Domain Registration, SEO Human Edited Web Directory, .IN Indian Domain Registrar
————————————————————-
Current Promotions @ Pubdomains – August SALE – Register .IN Domain
Popularity: 2%
Comments