This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function($){ | |
| $(document).ready(function(){ | |
| // build an awesome tag cloud | |
| function rowobject(param1, param2){ | |
| this.name=param1; | |
| this.countresult=param2; | |
| } | |
| // create array that will be filled with objects | |
| var rows = Array(); | |
| // grab a tag count for each tag |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="views-slideshow-cycle-main-frame-row-item views-row views-row-0 views-row-first views-row-odd"> | |
| <span class="views-field views-field-field-image"> | |
| <span class="field-content"><img typeof="foaf:Image" src="http://victoryfoam.sey.gr/sites/default/files/styles/medium/public/victory-foam-specialty-tool-case-4.jpg" width="192" height="220" alt=""> | |
| </span> | |
| </span> | |
| <div id="title-body-wrapper"> | |
| <span class="views-field views-field-title"> | |
| <h2 class="field-content"><a href="/node/8">Tool Control</a></h2> | |
| </span> | |
| <div class="views-field views-field-body"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function ninsixty_spw_preprocess_page(&$vars) { | |
| global $user; | |
| if ($user->uid != 0) { | |
| // code for the logout button | |
| $vars['loginout'] = "<a href=\"/user/logout\">Log out</a>"; | |
| } else { $vars['loginout'] = NULL; } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Implements hook_node_view_alter(). | |
| */ | |
| function yourawesomemodule_node_view_alter(&$build){ | |
| // remove so and so's blog link from the blog links | |
| if ($build['links']['blog']) { | |
| $build['links']['blog'] = NULL; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| index.html coming |
NewerOlder