Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $text = '<h1>' . t('Add POWr Social Media Icons to your site and edit right in the page.') . '</h1>';
- $text .= '<br />';
- $text .= '<h1>' . t('<a target="_blank" href="@tute-url">Full tutorial here.</a>', array('@tute-url' => 'http://www.powr.io/tutorials/how-to-add-social-media-icons-plugin-to-your-drupal-site')) . '</h1>';
- $text .= '<br />';
- $text .= '<h1>' . t('How to install:') . '</h1>';
- $text .= '<ol>';
- $text .= '<li>';
- $text .= t('Enable the POWr Social Media Icons Module.');
- $text .= '<i>' . t('Note: you may need to clear your caches after installing: Configuration->Development->Clear All Caches.') . '</i>';
- $text .= '</li><li>';
- $text .= '<strong>' . t('To use as a block: ') . '</strong>';
- $text .= t('visit %structure -> %blocks and drag the %POWr to your desired block.', array(
- '%structure' => t('Structure'),
- '%POWr' => 'POWr Social Media Icons',
- '%blocks' => t('Blocks'),
- ));
- $text .= '</li><li>';
- $text .= "<b>" . t('To use within ANY post, article, or other content: ') . "</b> " . t('simply write the Shortcode in any text:') . "<b>[<i></i>powr-social-media-icons label=" . '"' . "your label" . '"' . "]</b>. " . t('You also have instant access to all other POWr plugins, full list at') . " <a href='http://www.powr.io' target='_blank'>POWr.io</a>";
- $text .= '</li><li>';
- $text .= t('View your site and your Social Media Icons will appear right in the page. Click the gears icon and you can customize right in the page.');
- $text .= '</li>';
- $text .= '</ol>';
- $text .= '<br />';
- $text .= '<h1>' . t('Examples') . ':</h1>';
- $text .= '<img src="https://s3-us-west-1.amazonaws.com/powr/plugins/socialMediaIcons/screenshot-1.jpg" style="height:300px;" />';
- $text .= '<img src="https://s3-us-west-1.amazonaws.com/powr/plugins/socialMediaIcons/screenshot-2.jpg" style="height:300px;" />';
- $text .= '<img src="https://s3-us-west-1.amazonaws.com/powr/plugins/socialMediaIcons/screenshot-3.jpg" style="height:300px;" />';
- return $text;
Advertisement
Add Comment
Please, Sign In to add comment