Martin @web-strat.net's Profile

Member since Aug 03, 2008, follows 2 people, 2 public groups, 701 public bookmarks (864 total).

More »
Tags

Recent Tags:
Top Tags:

More »
Recent Bookmarks and Annotations

  • Website Terms of Use about 13 hours ago
    • Just this past year, as reported
      on
      www.publicknowledge.org, Twitter faced a problem when a user who was being harassed by another user wanted Twitter to take action
      against the harassing user for violating Twitter’s terms of use. In that matter, a Twitter co-founder actually admitted that Twitter,
      as a young start up, just borrowed Flickr’s terms of use, without considering them carefully, and would now have to revisit them.
  • Managing Multiple Drupal sites | Geoff Hankerson about 15 hours ago
  • ThemeShark.com - Drupal Theme Demos about 16 hours ago










      • Typography








        Starfish comes with plenty of typography options, as illustrated below:


        This is an H1 Header


        Donec leo. Aliquam risus elit, luctus vel, interdum vitae, malesuada eget, elit. Nulla vitae ipsum. Donec ligula ante, bibendum sit amet, elementum quis, viverra eu, ante. Fusce tincidunt. Mauris pellentesque, arcu eget feugiat accumsan, ipsum mi molestie orci, ut pulvinar sapien lorem nec dui.


        This is an H2 Header


        Donec leo. Aliquam risus elit, luctus vel, interdum vitae, malesuada eget, elit. Nulla vitae ipsum. Donec ligula ante, bibendum sit amet, elementum quis, viverra eu, ante. Fusce tincidunt. Mauris pellentesque, arcu eget feugiat accumsan, ipsum mi molestie orci, ut pulvinar sapien lorem nec dui.


        This is an H3 Header


        Donec leo. Aliquam risus elit, luctus vel, interdum vitae, malesuada eget, elit. Nulla vitae ipsum. Donec ligula ante, bibendum sit amet, elementum quis, viverra eu, ante. Fusce tincidunt. Mauris pellentesque, arcu eget feugiat accumsan, ipsum mi molestie orci, ut pulvinar sapien lorem nec dui.


        This is an H4 Header


        Donec leo. Aliquam risus elit, luctus vel, interdum vitae, malesuada eget, elit. Nulla vitae ipsum. Donec ligula ante, bibendum sit amet, elementum quis, viverra eu, ante. Fusce tincidunt. Mauris pellentesque, arcu eget feugiat accumsan, ipsum mi molestie orci, ut pulvinar sapien lorem nec dui.


        This is an H5 Header

        Donec leo. Aliquam risus elit, luctus vel, interdum vitae, malesuada eget, elit. Nulla vitae ipsum. Donec ligula ante, bibendum sit amet, elementum quis, viverra eu, ante. Fusce tincidunt. Mauris pellentesque, arcu eget feugiat accumsan, ipsum mi molestie orci, ut pulvinar sapien lorem nec dui.


        This is an example of the 'alert' paragraph style. Use this style to notify your vistors of important information. To use this style, enclose your text within the following html


        This is an example of the 'info' paragraph style. Use this style to notify your vistors of important information. To use this style, enclose your text within the following html: <p class="info">...</p>


        This is an example of the 'notice' paragraph style. Use this style to notify your vistors of important information. To use this style, enclose your text within the following html: <p class="notice">...</p>


        This is an example of the 'download' paragraph style. Use this style to notify your vistors of downloadable content and files. To use this style, enclose your text within the following html: <p class="download">...</p>


        This is an example of the 'mail' paragraph style. Use this style to notify your vistors of important information. To use this style, enclose your text within the following html: <p class="mail">...</p>


        This is an example of the 'package' paragraph style. Use this style to notify your vistors of important information. To use this style, enclose your text within the following html: <p class="package">...</p>


        This is an example of the 'security' paragraph style. Use this style to notify your vistors of downloadable content and files. To use this style, enclose your text within the following html: <p class="security">...</p>


        This is an example of the 'stop' paragraph style. Use this style to notify your vistors of downloadable content and files. To use this style, enclose your text within the following html: <p class="stop">...</p>


        This is an example of the 'system' paragraph style. Use this style to notify your vistors of important information. To use this style, enclose your text within the following html: <p class="system">...</p>


        This is an example of the 'web' paragraph style. Use this style to notify your vistors of downloadable content and files. To use this style, enclose your text within the following html: <p class="web">...</p>


        This is an example of the 'settings' paragraph style. Use this style to notify your vistors of important information. To use this style, enclose your text within the following html: <p class="settings">...</p>


        The following is an example of a blockquote (use <blockquote>Your Quote</blockquote>):


        Treading the soil of the moon, palpitating its pebbles, tasting the panic and splendor of the event, feeling in the pit of one's stomach the separation from terra - these form the most romantic sensation an explorer has ever known.


        This is an example of the pre tag:


        #main-content {
        float: left;
        width: 100%;
        overflow: hidden;
        }


        This is a check list, called with the class "check":


        • Item One
        • Item Two
        • Item Three
  • How do I display "full name" of author from the user Profile? | drupal.org on 2009-11-14
    • <?php profile_load_profile($user->uid); ?>
      <?php print $user->profile_fullname; ?>
  • Drupal Questions - Tabs on Profile Pages | DrupalSN.com on 2009-11-11
    • Hi,

      Views GrabIt's a mixture of views/module menu hooks and some CSS.

      Some modules like the user & contact module define these local tabs in their hook_menu function.

      Also you can define them using the views module by setting the page menu fieldset in the view (see attached grab) and then add a views argument "User: UID is Author" and add this to the views argument code:

      <?php

      if (arg(0) == 'user' && is_numeric(arg(1)) && arg(2) == '') {
       
      $args[0] = arg(1);
      }
      ?>

      This passes the UserID in the page URL to the view.

      That should display a new tab in user profiles.

      And the style is done with some simple CSS code.
      Hope that helps
      Tom
    • if (arg(0) == 'user' && is_numeric(arg(1))) {
          return array(arg(1));
        }
  • It's common sense, stupid: Passing Arguments from Panel to Views in Drupal on 2009-11-11
      • Passing Arguments from Panel to Views in Drupal





        <script type="text/javascript">var dzone_url = 'http://itscommonsensestupid.blogspot.com/2009/04/passing-arguments-from-panel-to-views.html'</script>
        <script type="text/javascript">var dzone_title = 'Passing Arguments from Panel to Views in Drupal'</script>
        <script type="text/javascript">var dzone_style = 1</script>
        <script src="http://widgets.dzone.com/widgets/zoneit.js" language="javascript"></script>

        As ridiculous as it sounds, passing arguments from panel to views in Drupal 6 is a very, very difficult job, judging from the responses collected from the official Drupal Forum. I myself spent quite a lot of times wrestling over it. So I think it's worthwhile for me to post the solution.

        Here's how you can pass an argument from a panel to a view in Drupal.

        1. First of all, of course you need to have Views Module and Panels Module installed.
        2. Go to admin/build/views, choose the View you want to edit. Assuming that in this case, you want to define Taxonomy Term as the argument. So you will have to define the Arguments field as follows ( here's a tutorial on how to define a View)

        3. Now, go to your Panels page ( admin/panels/panel-page), Set the Path at the Settings tab as faculty/%. This means that the term after faculty/ will be the argument. For example, if your URL is faculty/abc, then abc will be the argument.
        4. Go to the Context tab, at the Arguments section, choose Taxonomy Term, and click Add argument. At the Edit argument form, set the Identifier as "my term", and the keyword as "term". Set the Argument type as "Term name", as shown below:



        5. Click OK.
        6. Go to Content tab, Select the View that you defined in step 1, make sure you choose the panel pane selection.
        7. At the Configure Panel pane form, make sure you choose "No context" as the Taxonomy Term, check the Send Arguments box. In the Arguments field there, type in %term

        8. Note that you must set the Taxonomy Term to No Context, or else the view won't work. I don't know why, most probably it's a bug.
        9. And that's it!
        That's how I got my panel and views to work together in Drupal. Do let me know whether it works on your site!
  • How do I transfer Audible content from my Mac to my Blackberry? on 2009-11-11
    • How do I transfer Audible content from my Mac to my Blackberry?


      How do I transfer Audible content from my Mac to my Blackberry?

       





      You can transfer Audible programs in format 4 from your Mac to your Blackberry by following the steps below.

       

      Step 1. Download the desired Audible program in Format 4 (the only format supported by Blackberry compatible devices) from the MyLibrary section of your Audible account online.  After the download is complete, the file will be most likely be saved on your desktop, based on your personal settings.

       

    • You can also use 3rd party applications to sync media files between your Mac and Blackberry, such as The Missing Sync for Blackberry.

       

    • 1 more annotations...
  • Amazon.com: Founders at Work: Stories of Startups' Early Days: Jessica Livingston: Books on 2009-11-11
    • Founders at Work: Stories of Startups' Early Days [BARGAIN PRICE] (Hardcover)











      ~


      Jessica Livingston







      (Author)
      <script language="javascript" type="text/javascript">

      jQuery(".contributorChevron").css("display", "inline");

      var onShow = function (i){
      var params = {};
      params['entityID'] = jQuery('#contributorASIN'+ i).val();
      amznJQ.onReady('JQuery', function() {
      jQuery.ajax({
      url: '/gp/product/utility/by-line/book-contributor-details/ajax/author-image.html',
      data: params,
      dataType: 'html',
      timeout: 1000,
      success: function(html){
      jQuery('#contributorImageContainer' + (i)).get(0).innerHTML = html;
      }
      });
      });
      };

      amznJQ.available('popover', function(){
      jQuery(".contributorNameTrigger > a ").each(function (i){
      var contributorNameWidth = jQuery('#contributorNameTrigger' + (Math.floor(i/2) +1) ).text().length * 13 ;
      var popOverWidth = contributorNameWidth > 425 ? contributorNameWidth + 140 :465;
      jQuery(this).amazonPopoverTrigger({
      showOnHover: true,
      draggable: false,
      showCloseButton: false,
      hoverShowDelay: 400,
      hoverHideDelay: 0,
      width: popOverWidth ,
      localContent: '#contributorContainer' + (Math.floor(i/2) +1),
      locationMargin: 0,
      skin: "default",
      location: "bottom",
      paddingLeft: 20,
      paddingRight: 0,
      followLink : true,
      onShow: function(){ onShow(Math.floor(i/2)+1);}
      });
      });
      });
      </script>

















      Key Phrases: startup founders, fraud thing, first startup, New York, Thinking Machines, Movable Type (more...)





























































































      <script type="text/javascript">

      function reviewHistPingAjax() {
      jQuery.get("/gp/customer-reviews/common/du/recordHistoPopAjax.html", null);
      }

      var reviewHistPopoverConfig = {
      showOnHover:true,
      showCloseButton:false,
      width:null,
      location:'bottom',
      locationAlign:'right',
      clone:false,
      hoverHideDelay:300
      };

      </script>


      <script type="text/javascript">
      function constructTriggerPrefix(asin){
      return "reviewHistoPop" + '_' + asin;
      }

      function getContentDivId(triggerName){
      var nameArray = new Array();
      nameArray = triggerName.split('__');
      return nameArray[1];
      }

      function jQueryInitHistoPopovers(asin, triggerDivPrefix) {

      if(triggerDivPrefix == null){
      triggerDivPrefix = constructTriggerPrefix(asin);
      }

      amznJQ.onReady('popover', function(){
      jQuery('a[name^=' + triggerDivPrefix + ']').each(function(){

      jQuery(this).removeAmazonPopoverTrigger();

      var contentDivId = getContentDivId(this.name);

      var myConfig = jQuery.extend(true, {}, reviewHistPopoverConfig);

      myConfig.localContent = '#' + contentDivId;
      myConfig.onShow = reviewHistPingAjax;
      jQuery(this).amazonPopoverTrigger(myConfig);
      });
      });
      }
      </script>


      4.6 out of 5 stars  See all reviews 
      (82 customer reviews)

      <script type="text/javascript">
      amznJQ.onReady('popover', function() {
      jQueryInitHistoPopovers('B002KE5T4G','reviewHistoPop_B002KE5T4G_5274');
      });
      </script>













































































































      List Price: $25.99
      Price: $10.40




















      & eligible for FREE Super Saver Shipping on orders over $25.


      Details








      You Save: $15.59
      (60%)
      o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o




























































      In Stock.
      Ships from and sold by Amazon.com. Gift-wrap available.




























      5 new from $9.63
      5 used from $9.58















      This is a bargain book and quantities are limited. Bargain books are new but could include a small mark from the publisher and an Amazon.com price sticker identifying them as such. Details
  • Amazon.com: The Entrepreneur's Guide to Business Law (9780324204933): Constance E. Bagley, Craig E. Dauchy: Books on 2009-11-11
    • <form name="handleBuy" method="post" action="http://www.amazon.com/gp/product/handle-buy-box/ref=dp_start-bbf_1_glance" id="handleBuy" style="margin: 0pt;">

      The Entrepreneur's Guide to Business Law

       
       
























































































































































































































      The Entrepreneur's Guide to Business Law (Paperback)











      ~


      Constance E. Bagley







      (Author), Craig E. Dauchy (Author)
      <script language="javascript" type="text/javascript">

      jQuery(".contributorChevron").css("display", "inline");

      var onShow = function (i){
      var params = {};
      params['entityID'] = jQuery('#contributorASIN'+ i).val();
      amznJQ.onReady('JQuery', function() {
      jQuery.ajax({
      url: '/gp/product/utility/by-line/book-contributor-details/ajax/author-image.html',
      data: params,
      dataType: 'html',
      timeout: 1000,
      success: function(html){
      jQuery('#contributorImageContainer' + (i)).get(0).innerHTML = html;
      }
      });
      });
      };

      amznJQ.available('popover', function(){
      jQuery(".contributorNameTrigger > a ").each(function (i){
      var contributorNameWidth = jQuery('#contributorNameTrigger' + (Math.floor(i/2) +1) ).text().length * 13 ;
      var popOverWidth = contributorNameWidth > 425 ? contributorNameWidth + 140 :465;
      jQuery(this).amazonPopoverTrigger({
      showOnHover: true,
      draggable: false,
      showCloseButton: false,
      hoverShowDelay: 400,
      hoverHideDelay: 0,
      width: popOverWidth ,
      localContent: '#contributorContainer' + (Math.floor(i/2) +1),
      locationMargin: 0,
      skin: "default",
      location: "bottom",
      paddingLeft: 20,
      paddingRight: 0,
      followLink : true,
      onShow: function(){ onShow(Math.floor(i/2)+1);}
      });
      });
      });
      </script>

















      Key Phrases: leaving your employer, registrable securities, two pesos, Thomson Learning, All Rights Reserved, The Entrepreneur's Guide (more...)





























































































      <script type="text/javascript">

      function reviewHistPingAjax() {
      jQuery.get("/gp/customer-reviews/common/du/recordHistoPopAjax.html", null);
      }

      var reviewHistPopoverConfig = {
      showOnHover:true,
      showCloseButton:false,
      width:null,
      location:'bottom',
      locationAlign:'right',
      clone:false,
      hoverHideDelay:300
      };

      </script>


      <script type="text/javascript">
      function constructTriggerPrefix(asin){
      return "reviewHistoPop" + '_' + asin;
      }

      function getContentDivId(triggerName){
      var nameArray = new Array();
      nameArray = triggerName.split('__');
      return nameArray[1];
      }

      function jQueryInitHistoPopovers(asin, triggerDivPrefix) {

      if(triggerDivPrefix == null){
      triggerDivPrefix = constructTriggerPrefix(asin);
      }

      amznJQ.onReady('popover', function(){
      jQuery('a[name^=' + triggerDivPrefix + ']').each(function(){

      jQuery(this).removeAmazonPopoverTrigger();

      var contentDivId = getContentDivId(this.name);

      var myConfig = jQuery.extend(true, {}, reviewHistPopoverConfig);

      myConfig.localContent = '#' + contentDivId;
      myConfig.onShow = reviewHistPingAjax;
      jQuery(this).amazonPopoverTrigger(myConfig);
      });
      });
      }
      </script>


      4.8 out of 5 stars  See all reviews 
      (17 customer reviews)

      <script type="text/javascript">
      amznJQ.onReady('popover', function() {
      jQueryInitHistoPopovers('0324204930','reviewHistoPop_0324204930_7129');
      });
      </script>













































































































      List Price: $68.95
      Price: $53.41




















      & this item ships for FREE with Super Saver Shipping.


      Details








      You Save: $15.54
      (23%)
      o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o




























































      In Stock.
      Ships from and sold by Amazon.com. Gift-wrap available.




























      26 new from $50.00
      22 used from $42.93















      </form>


























      <script type="text/javascript">
      amznJQ.addLogical('cmuAnnotations', ["http://z-ecx.images-amazon.com/images/G/01/nav2/gamma/cmuAnnotations/cmuAnnotations-cmuAnnotations-6579._V219419601_.js"]);
      </script>




















      <script>

      if (typeof(jQuery) != 'undefined') {
      if (typeof(Vellum) == 'undefined') {
      Vellum = {
      js: "http://z-ecx.images-amazon.com/images/G/01/digital/sitb/reader/v4/200910271458/sitb-library-js._V228261353_.js",
      pl: function(){Vellum.lj(Vellum.js)},
      lj: function(u){
      if (window.vellumLjDone) return;
      window.vellumLjDone = true;
      var d = document;
      var s = d.createElement('script');
      s.type = 'text/javascript';
      s.src = u;
      d.getElementsByTagName("head")[0].appendChild(s);
      },
      go: function(){
      sitbLodStart = new Date().getTime();
      jQuery('body').css('overflow', 'hidden');
      var jqw = jQuery(window);
      var h = jqw.height();
      var w = jqw.width();
      var st = jqw.scrollTop();

      jQuery('#vellumShade').css({ 'top' : st, 'height' : h, 'width' : w }).show();

      var vli = jQuery('#vellumLdgIco');
      var nl = (w/2)-(vli.width()/2);
      var nt = st + (h/2) - (vli.height()/2);
      vli.css({"left" : nl, "top" : nt }).show();
      setTimeout("Vellum.x()", 20000);
      Vellum.pl();
      },
      x: function(){
      jQuery('#vellumMsgTxt').html('An error occured while trying to show this book.');
      jQuery('#vellumMsgHdr').html('Server Timeout');
      jQuery('#vellumMsg').show();
      var reftagImage = new Image();
      reftagImage.src = '/gp/search-inside/reftag/ref=rdr_bar_jsto';
      },
      h: function() {
      jQuery('#vellumMsg').hide();
      jQuery('#vellumShade').hide();
      jQuery('#vellumLdgIco').hide();
      jQuery("body").css('overflow', 'auto');
      },
      cf: function(a) {
      return function() {v.mt = a; v.rg = Array.prototype.slice.call(arguments); v.go()}
      },
      c: function(a) {
      var v = Vellum;
      v.mt = 'c'; v.rg = [a]; v.pl();
      }
      }

      var f = "opqr".split('');
      for (var i in f) {
      var v = Vellum;
      v[f[i]] = v.cf(f[i]);
      }
      sitbAsin = '0324204930';
      SitbReader = {
      LightboxActions: {
      openReader: function(r) {Vellum.o('0324204930', r); return false},
      openReaderToRandomPage: function(r) {Vellum.r('0324204930', r); return false},
      openReaderToSearchResults: function(q,r) {Vellum.q('0324204930',q,r); return false},
      openReaderToPage: function(p,t,r) {Vellum.p('0324204930',p,t,r); return false}
      }
      }
      }

      amznJQ.onCompletion('amznJQ.criticalFeature', function() { Vellum.c('0324204930') } );
      } else {
      var msg = document.getElementById('sitbUnsupportedBrowserMessage');
      if (msg) {
      msg.style.display = 'block';
      var reftagImage = new Image();
      reftagImage.src = '/gp/search-inside/reftag/ref=rdr_bar_nobrowser';
      }
      }
      </script>





















































      <script type="text/javascript">
      if (typeof amznJQ != "undefined") {
      amznJQ.addLogical("twister-media-matrix", ["http://z-ecx.images-amazon.com/images/G/01/nav2/gamma/tmmJS/tmmJS-combined-core-63679._V230286328_.js"]);
      window._tmm_1 = +new Date();
      amznJQ.available("twister-media-matrix", function() { window._tmm_2 = +new Date(); });
      }
      </script>




      <!--   -->
      <!--   -->
      <!--   -->
      <!--   -->
      <!--   -->
      <!--   -->





















      Formats



      Amazon Price

      New from

      Used from


      Expand



      Paperback

      $53.41

      $50.00

      $42.93
    • SU - How to Hold Your Breath Like David Blaine, World Record Holder (and Now, Me) on 2009-11-11
    • More »
      Groups

      Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

      Join Diigo