1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

3 separate block under the navbar

Discussion in 'Add-on Releases [Archive]' started by yilmaz, Nov 10, 2010.

  1. yilmaz

    yilmaz Active Member

    3 separate block under the navbar.
    Each block takes for a separate forum topic.

    To install:

    Download and unzip to your drive.

    After uploading, to verify, you should have: yourXF/library/Yilmaz/Block/...

    Log in to your Admin panel:

    Admin -> Add-ons -> Install Addon. Click the Install from Upload file button, and browse to the location you unzipped this Addon in, and click the addon_yilmaz_seckat_konu.xml file. Once you selected the file, click the Install Add-on button.

    Template Edits: Yes
    Admin CP > Appearance > Templates > Search for forum_list > Click forum_list to edit it

    Search the template and find:
    HTML:
    <xen:if is="{$renderedNodes}"><xen:include template="node_list" /></xen:if>
    Right above it add:
    HTML:
    <xen:include template="yilmaz_3xcat_blocks" />
    Admin -> Options -> Yilmaz - Selected Category Block
    3blok-admin.gif

    Cap:
    3blok.gif

    Thank you, Ms. Shelley has helped css
     

    Attached Files:

  2. arabic

    arabic Member

    Great work :)
    Thank you
     
    yilmaz likes this.
  3. Perspektif

    Perspektif Active Member

    very nice .. very thanks :)
     
    yilmaz likes this.
  4. Edrondol

    Edrondol Well-Known Member

    If this shows the top X threads in a category, does it include or exclude pinned threads?
     
  5. yilmaz

    yilmaz Active Member

    Desired forums are the latest issues
     
  6. Edrondol

    Edrondol Well-Known Member

    Perfect! I'll try this thing out.
     
  7. Shelley

    Shelley Well-Known Member

    uploaded the file, installed the xml file but getting the following error when making the template edit.

    Code:
    The following templates contained errors and were not saved:   forum_list: 1)	Line 8: Template syntax error.
     
  8. Gustavo Fernandez

    Gustavo Fernandez Active Member

    Correction!
    HTML:
    <xen:include template="yilmaz_3xcat_blocks" />
     
    yilmaz and Shelley like this.
  9. Shelley

    Shelley Well-Known Member

    Confirmation that Gustavo Fernandez correction fixed it.Thankyou.

    It looks like some padding and margin properties are going to be needed as it all looks crammed woth spacing needed in some areas. Thanks for posting.
     
  10. yilmaz

    yilmaz Active Member

    @ Gustavo Fernandez, thank you escaped my attention.
     
  11. Shelley

    Shelley Well-Known Member

    Just a suggestion. I removed a bit of css code in the yilmaz_skk.css which wasn't needed and added some more to get a more desirable visual and to give that spacing that I felt was lacking. I'd suggest replicating the layout below so that everything is organised and easily viewable for anyone installing the add-on. Just a suggestion I hope you will adopt. :)

    [​IMG]
     
    Gustavo Fernandez, yilmaz and Peggy like this.
  12. Peggy

    Peggy Well-Known Member

    That ^ does look better.
     
    yilmaz likes this.
  13. yilmaz

    yilmaz Active Member

    You're right.
    I liked it.
     
  14. Gustavo Fernandez

    Gustavo Fernandez Active Member

    @ Shelley - Attach please!!

    How do I do?


    Thanks!!
     
  15. yilmaz

    yilmaz Active Member

    Has been great.
    Share here.
    Thank you.
     
  16. Shelley

    Shelley Well-Known Member

    Here's my modified effort though I have used hex values to compliment my style.It's all in the yilmaz_skk.css template for others that want the same change.

    Code:
    .KateKonuBlok 
    {
     padding-right: 4px;   
     }
    
    .KateKonuBlok .avatar 
    {
        float: left;
        margin-right: 4px;
    }
    
    .KateKonuBlok .avatar img 
    {
        width: 32px;
        height: 32px; 
        margin: 3px;}
    
    .KateKonuBlok .primaryContent 
    {
        padding: 0;
        padding-top: 0;
    
    }
    
    .KateKonuBlok h3 
    {
        font-size: 9pt;
        margin-bottom: 5px;
        height: 30px;}
    
    .KateKonuBlok .kim 
    {   display: block;position: 
        absolute;right: 0px;
        top: 10px;
        width: 24px;
        height: 24px;
        line-height: 24px;
        text-align: center;
        border-radius: 13px;
        font-weight: bold;
        background: @primaryLighterStill;
        border: 1px solid #dbc4e9;}
    
    .KateKonuBlok .meta 
    {   font-size: 10px;
        padding-top: 5px;
        padding-bottom: 5px;
        margin-top: 15px;
        margin-right: 3px;
        margin-left: 3px; 
        margin-bottom: 3px;   
        border: 1px solid #dbc4e9;
        border-radius: 5px;
    }
    
    .KateKonuBlok .meta dd 
    {
        margin-right: 10px;
    }
    
    .KateKonuBlok .meta dd strong
    {
        font-weight: bold;
    }
     
    Gustavo Fernandez and yilmaz like this.
  17. Gustavo Fernandez

    Gustavo Fernandez Active Member

    I can not =(

    img.png
     
  18. Shelley

    Shelley Well-Known Member

    try adding margin: 3px; to .KateKonuBlok I never had a border in my version where you have.
     
  19. Gustavo Fernandez

    Gustavo Fernandez Active Member

    Thanks but I want to be like yours...

    img.png


    excuse my English ... I'm Argentine and I use google translator
     
  20. yilmaz

    yilmaz Active Member

    Stille stems.
    You must install the same Style.
     

Share This Page