Jump to content

Storyteller

Clients
  • Posts

    188
  • Joined

Reputation Activity

  1. Like
    Storyteller reacted to Adriano Faria in Contact Us   
    It should display the link as a menu, with departments on it.
    I'll take a look.
  2. Like
    Storyteller reacted to ABGenc in PAGES - Confused by IPB & the staff   
    Hi @Ralf Herrmann , thanks for the tips. It has really reduced the size of the code I had previously tried while makine 1x2x2 layout.
    I have applied the index my entry and following view has become. There are two things I want to ask ;
    How can the allignment be achieved so that left and right edges are alligned with first item ( Blue arrow ) ( I have used original index with only your additions. Entry template is the one I have mentioned here ) After the second row there is a margin-left added. I know it can be overridden by custom.css but anyway to avoid it ? ( Red Arrow ) html[dir="ltr"] .ipsGrid > [class*="ipsGrid_span"] { float: left; margin-left: 2.12766%;  

  3. Like
    Storyteller reacted to Ralf Herrmann in PAGES - Confused by IPB & the staff   
    Add ipsPad as additional class to whatever you want to show with a default padding. 
    So for example <div class='ipsGrid_span6'> becomes <div class='ipsGrid_span6 ipsPad'>
  4. Like
    Storyteller got a reaction from xert77 in PAGES - Confused by IPB & the staff   
    Fantastic example @Ralf Herrmann really much appreciated. If you also can show the CSS to changing the padding for the articles 2+3 (4+3 in the example)... you are the hero of the day! 
  5. Like
    Storyteller reacted to Ralf Herrmann in PAGES - Confused by IPB & the staff   
    And regarding the grid view for article listings: while that is not a default option, it only needs a small template change, since a responsive grid is already in the CSS. 
    So to have a grid view for articles:
    1. Add a custom database template in the Pages’ template manager. Make sure it’s of the type “Featured Records”. Also make sure you assign it to your article database. Also call it “Article Grid” (that name is later used in the code). 

    2. Open the “index” template of this newly created template group. 
    Replace this part:
    {{if count($articles)}} {{foreach $articles as $id => $record}} {template="entry" app="cms" location="database" group="article_grid" params="$record, $database"} {{endforeach}} {{endif}} With this:
    {{if count($articles)}} <div class='ipsGrid ipsGrid_collapsePhone'> {{foreach $articles as $id => $record}} <div class='ipsGrid_span6'> {template="entry" app="cms" location="database" group="article_grid" params="$record, $database"} </div> {{endforeach}} </div> {{endif}} That’s it. Your articles are now displayed as a grid which automatically collapses on smaller screen. 
    And a bonus for all those who want the 2x1x1 layout from 3.4 – use this instead:
    {{if count($articles)}} <div class='ipsGrid ipsGrid_collapsePhone'> {{foreach $articles as $id => $record}} {{if ($id == 0)}} <div class='ipsGrid_span12'> {{else}}<div class='ipsGrid_span6'> {{endif}} {template="entry" app="cms" location="database" group="article_grid" params="$record, $database"} </div> {{endforeach}} </div> {{endif}}
     
  6. Like
    Storyteller reacted to Marcher Technologies in PAGES - Confused by IPB & the staff   
    Please, please, please, please re-add the ability to export templates without a database. Lack of premade MP templates for the articles database, including feed block templates, is directly related to Pages requiring we export the entire database, which makes absolutely no sense for the database that is preinstalled, and doesn't actually work for it, and that's not even considering the point that block templates cannot be exported via any means.
    Those of us that can code cannot help those that cannot premade in this area with the way it is now. I cannot even do a custom locally with the way it is now, as there is no way to transfer such, which ends up with me working on a live site. Not cool. I was actually waiting for a topic such as this to be made. If somebody with a basic clue and can code like myself is struggling due to this, I can't imagine how painful this is for the layman, and the surprised look from staff was not expected... I put in a feedback topic a while ago begging for this to be restored, and have left it since then, but it is a very real need.
  7. Like
    Storyteller got a reaction from onlyME in Featured Content for IPS4.x+   
    Demo-link from the Marketplace: http://ipsviet.com/page/featuredcontent4/
×
×
  • Create New...