Attention Updating templates for 3.3.x version (request updates here)

Discussion in 'Subrion CMS Templates' started by Gleb_S., Mar 10, 2015.

  1. Gleb_S.

    Gleb_S. Subrion Designer Staff Member

    Hello everyone!

    We are heavy testing the upcoming release of Subrion 3.3 with bunch of new and updated features. Read more about it here.

    In the mean time, we need to prepare templates to be compatible with upcoming version.
    We've added new variable — {$core}. It stores all options/configs related to page, language, breadcrumbs and etc.
    To view all available options, print {_v($core)} somewhere in layout.tpl (make sure that debug mode is enabled).

    So, let's start.

    All variables such as $pageName, $pageTitle, $description, $keywords and etc. were replaced by $core variable. Here is an example of HEAD section:
    HTML:
    <!DOCTYPE html>
    <html lang="{$core.language.iso}" dir="{$core.language.direction}">
        <head>
            {ia_hooker name='smartyFrontBeforeHeadSection'}

            <meta charset="utf-8">
            <meta http-equiv="X-UA-Compatible" content="IE=Edge">
            <title>{ia_print_title}</title>
            <meta name="description" content="{$core.page['meta-description']}">
            <meta name="keywords" content="{$core.page['meta-keywords']}">
            <meta name="viewport" content="width=device-width, initial-scale=1">
            <meta name="generator" content="Subrion CMS {$config.version} - Open Source Content Management System">
            <meta name="robots" content="index">
            <meta name="robots" content="follow">
            <meta name="revisit-after" content="1 day">
            <base href="{$smarty.const.IA_URL}">

            <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
            <!--[if lt IE 9]>
               <script src="{$core.page.nonProtocolUrl}js/utils/shiv.js"></script>
           <![endif]-->

            <link rel="shortcut icon" href="{$core.page.nonProtocolUrl}favicon.ico">

            ...
     
    And here is a list of files that were affected:
    1. layout.tpl
    2. breadcrumb.tpl
    3. field-type-content-manage.tpl (common)
    4. field-type-content-view.tpl (common)
    5. ia-categories.tpl (common)
    6. language-selector.tpl
    7. notification.tpl (common)
    8. redirect-gateway.tpl (common)
    9. redirect.tpl (common)

    If you have not used common files (copied them to your template) - don't do anything to them, they will be updated automagically after release of 3.3 version.

    Please download attached files and review them line by line. Update your template accordingly.
    You can also just wait until new version of Subrion will be released and then review updated Startup template.

    Request template update!

    Please post requests to update our free templates (listed here) in this thread. Like this:
    — Subrion Team, please update Skeleton template! Many people are using it.

    List of updated templates:
    1. Atox
    2. Basics
    3. Blogit
    4. Breez
    5. Corked
    6. Domiki
    7. Gentlix
    8. Kumado
    9. Kurut
    10. Locality
    11. Locality Doctors
    12. Locality Movers
    13. Locality Restaurants
    14. Mashinki
    15. Publish It
    16. Schedar
    17. Simpla
    18. Skeleton
    19. Sonkei
    20. Startup
    21. Travelmate
    22. Uberdeals
    23. YpGo


    Thanks!

    Attached Files:

    Last edited: Mar 23, 2015
    Andrew_G. likes this.
  2. ganodan

    ganodan New Member

    Subrion Team, please update Schedar template!
    Vasily_B. likes this.
  3. Vasily_B.

    Vasily_B. Project Manager

    Thanks for the request, will be done by the moment when we release the patch.
    ganodan likes this.
  4. Gleb_S.

    Gleb_S. Subrion Designer Staff Member

    Hi @ganodan !

    Thank you for your request! Template updated and will be released as soon as we release the patch.
    ganodan likes this.
  5. Vasily_B.

    Vasily_B. Project Manager

    teletin_andrei, ganodan and Gleb_S. like this.
  6. Eleanna

    Eleanna Member

    Can you update ypgo please?
  7. Gleb_S.

    Gleb_S. Subrion Designer Staff Member

    Hi @Eleanna !

    We will update YpGo template in a couple of days. Thanks for your request!
  8. Eleanna

    Eleanna Member

  9. Vasily_B.

    Vasily_B. Project Manager

    YP Go template has been updated for 3.3.0 version.
  10. tomukasteris

    tomukasteris New Member

    These are not working:

    PHP:
    <meta name="description" content="{$core.page['meta-description']}">
    <meta name="keywords" content="{$core.page['meta-keywords']}">
    Code (Text):
    [nonProtocolUrl] => //www.thedirectory.link/
                [name] => directory_home
                [title] => Directory
                [meta-description] =>
                [meta-keywords] =>
    Last edited: Mar 21, 2015
  11. tomukasteris

    tomukasteris New Member

    And why I get this
    in URLs:

    Code (Text):
    <link rel="stylesheet" type="text/css" href="//www.thedirectory.link/templates/startup/css/iabootstrap.css?fm=1426893328">
        <link rel="stylesheet" type="text/css" href="//www.thedirectory.link/templates/startup/css/iabootstrap-responsive.css?fm=1426893326">
        <link rel="stylesheet" type="text/css" href="//www.thedirectory.link/templates/startup/css/user-style.css?fm=1426893328">
        <link rel="stylesheet" type="text/css" href="//www.thedirectory.link/plugins/fancybox/js/jquery.fancybox.css?fm=1426893261">
     
    I think you have to concentrate to some debugs and fix it very carefully. I found many problems browsing script files. Some plugins creates item URL just numbers and missing titleAlias but is working just fine from the front end.

    Templates. They are responsive but missing lines and dot fit nice. Even there is no proper template for Web Directory script. People is looking by eyes so it means templates should be polished.
  12. tomukasteris

    tomukasteris New Member

    When I copy source URL and paste to the address bar it displays with http or https. But if we want to display the whole URL in source code then think should be $iaView->domainUrl = instead $iaView->assetsUrl =
  13. Vasily_B.

    Vasily_B. Project Manager

    1. Metas work fine if you use the latest version and the latest compatible template.

    2. >> And why I get this
    It's a common practice and absolutely fits web standards
    http://www.paulirish.com/2010/the-protocol-relative-url/

    3. Not sure about the last report, the system works as intended and all vars are returned as expected. If you have a different idea how to implement it - no problem, you can always modify the script as the system is opensource.
  14. Mark79

    Mark79 New Member

    Can you please update also: Locality (doctors) and Travelmate?

    Thanks in adavnce
  15. Gleb_S.

    Gleb_S. Subrion Designer Staff Member

    Hi @Mark79 !

    Templates Locality Doctors and Travelmate updated.
    Also we've updated other Locality templates.

    Thank you for request.
    Vasily_B. likes this.
  16. Vasily_B.

    Vasily_B. Project Manager

    Gleb, please update Schedar & Publish It templates as we need to update our package demo versions of web directory script & articles script.

    It would be great if you could review them and make minor improvements related to the mobile version.

    Thanks!
  17. Eleanna

    Eleanna Member

    Subrion Team, please update Skeleton template!

    Eleanna
  18. Gleb_S.

    Gleb_S. Subrion Designer Staff Member

    Hi @Eleanna !

    Skeleton template is ready and will be released today.
  19. Eleanna

    Eleanna Member

    Ευχαριστώ πολύ!
  20. herkkasa

    herkkasa New Member

    can you updated all free templates ? because it will be very easy for each other, thanks

Share This Page