1. Open up the .aspx file responsible for displaying the document list in Sharepoint Designer, in my case it is called AllItems.aspx
2. Select the WebPartPages:ListViewWebPart control. (It is the place where rows of document are listed)
3. Right-click on it, Convert to XSLT Data View
4. Go into the code and find the line that says:
<xsl:value-of select="ddwrt:UrlBaseName(string(@LinkFilename))" />
5. Add this to the end of the line:
.<xsl:value-of select="@File_x0020_Type" />
6. Save
Caution: after editing the file with sharepoint designer, you wouldn’t be able to edit it with anything else except maybe Visual Studio
Published on
October 8, 2008 in
joomla.
Latest Version: 1.5.1 for joomla 1.5.x and 1.0.1 for joomla 1.0.x
(updated on February 14th, 2009)
Download:
Click Here to download the plugin for Joomla 1.5.x
Click Here to download the plugin for Joomla 1.0.x
Description:
Adsense and YPN Inserter is a Free and Open Source Joomla plugin which is able to automatically insert google adsense ads or yahoo publisher network (YPN) ads in to your joomla articles and contents on the fly. It doesn’t matter if you have 1 post or 100,000 articles, it will insert your ad code into all of them automatically. You can control all aspects of your ad’s display and position. Just specify ad color and position in the plugin options, your ad code is automatically generated and inserted.
Features:
- Automatically insert Google Adsense or YPN ads in to your articles.
- No manual work required, ad code is dynamically inserted into your existing and new posts.
- You could optionally specify not to show ads in a post by using tag <!--noadsense-->
- You could optionally specify where to start the ads in a post by using tag <!--adsensestart-->
- You could optionally specify where to stop the ads in a post by using tag <!--adsensestop-->
- Decrease ad blindness by giving you the option to randomly place your ad within your articles.
- You could optionally define absolute ad position instead of random position.
- You could optionally define random ad network to maximize earnings from both networks.
- Allow you to pick how many total ads to show on one page.
- Allow you to pick how many ads to show in one post.
Requirements:
Adsense and YPN Inserter has been tested on Joomla 1.5.x and 1.0.x. Please download the appropriate version above.
Installation
- Go to Extensions->Install/Uninstall
- Browse to the zip file you downloaded and click Upload file & install
- After the install is successful. Go to Extensions->Plugin Manager->Content – Adsense and YPN Inserter
- Choose your ad network and put in your account number and save the settings
- Don’t forget to enable the plugin. Your installation is complete and your ads should now showing up in your articles
Change Log:
02/14/2008: Version 1.5.1 and 1.0.1, removed border and various bug fixes.
10/08/2008: Version 1.50 and 1.00, initial release for joomla 1.5.x and 1.0.x
Questions and Discussions:
Enter the Adsense and YPN Inserter Forum
You could also leave comments here if you do not wish to register and post in a forum.
Download:
Click Here to download the plugin for Joomla 1.5.x
Click Here to download the plugin for Joomla 1.0.x
Older versions:
1.50 and 1.00
Click Here to download the plugin for Joomla 1.5.x
Click Here to download the plugin for Joomla 1.0.x
Disclaimer: this plugin contains a donation option, which allow users to donate a small percentage of their earnings to the author of this plugin. When this option is enabled, the author’s adsense ads will occasionally appear on the plugin user’s website (determined by the percentage entered by the plugin user).
Today is March 11th, 2010
Chinese Zodiac: the year of the Ox.
March 11th, 2010 is a Good Day for:
Worship: affects the effectiveness of your prayers.
Treaty: for signing contracts or other legal documents.
March 11th, 2010 is a Bad Day for:
Moving: move from one place to another.
War: affects chances of success in a fight or war.
Your IP Address is: 38.107.191.98
from ,
Latitude: , Longitude:
Script executed in 0.128021 seconds.