Results 1 to 7 of 7

Thread: Skin building

  1. #1
    Join Date
    Sep 2002
    Location
    Russia, Samara
    Posts
    64

    Default Skin building

    that's how i changed the look of notes section:

    before
    ___________________________________________

    < ;!--[if($show_albumnotes)]-->

  2. #2
    Join Date
    Feb 2009
    Posts
    1,549

    Default Re: Skin building

    Hi JohnsonbI4,

    This is a limitation of WebShortcut tag - you cannot test if there are any shortcuts at generation time.

    You can do the same using JavaScript. It worked for me.

    Code:
    <!--[if($show_albumlinks)]-->
       <span id=linklist style="display: none">
    
          <table width="100%" bgcolor=$shadecolor cellpadding=0 style="margin-bottom: 5pt"><tr>
          <td align=left><b>WEB LINKS</b></td>
          <td align=right><a href="javascript:window.external.editartist(0,1);"><u>edit</u></a></td></tr></table>
    
          <!--[webshortcut]-->
             <b><!--[webshortcutlink]--><!--[webshortcuttitle/]--><!--[/webshortcutlink]--></b>
             <!--[if(webshortcutdesc)]-->- <!--[webshortcutdesc/]--><!--[/if]--><br>
    
          <script language=javascript><!--
             document.all.linklist.style.display = "";
          //--></script>
    
          <!--[/webshortcut]-->
       </span>
       <p>
    <!--[/if]-->
    Andrei

  3. #3
    Join Date
    Sep 2002
    Location
    Russia, Samara
    Posts
    64

    Default Re: Skin building

    yes, it works but only partially.

    1st - links appear ABOVE web links heading.

    2nd - maybe the problem is that the code you've posted is twisted? sometimes forum does it to the code, i noticed it in my message.

  4. #4
    Join Date
    Feb 2009
    Posts
    1,549

    Default Re: Skin building

    Quote Originally Posted by JohnsonbI4
    yes, it works but only partially.

    1st - links appear ABOVE web links heading.

    2nd - maybe the problem is that the code you've posted is twisted? sometimes forum does it to the code, i noticed it in my message.
    Yes, this should be the reason. Try restoring <table> tag after you pasted code into the editor.

  5. #5
    Join Date
    Sep 2002
    Location
    Russia, Samara
    Posts
    64

    Default Re: Skin building

    IT WORKS!!!! thanks!!!!!!!

    andrei, i think it's time to make a separate discussion for topics on making skins!

  6. #6
    Join Date
    Sep 2002
    Location
    Russia, Samara
    Posts
    64

    Default Re: Skin building

    btw, andrei, while you still here, check out this thread - another problem

  7. #7
    Join Date
    Sep 2002
    Location
    Russia, Samara
    Posts
    64

    Default Re: Skin building

    well, themes. any difference? we understand each other, don't we?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •