Jump to content

Poseidon2

Members
  • Posts

    36
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Poseidon2 reacted to opentype in How to know, in a bloc, that we are shown on a smartphone ?   
    What are you trying to achieve exactly? It would help to know that to give a better answer. 
    Those attributes being listed are processed on the server. But the server doesn’t know where the generated page will be displayed and it doesn’t deliver anything different to mobile devices vs. desktop screens. You can however mark content to be shown or hidden based on the viewport size. This is handled through CSS. 
    https://invisioncommunity.com/4guides/themes-and-customizations/css-framework/responsiveness-r250/
     
  2. Like
    Poseidon2 got a reaction from Meddysong in How to select random record ?   
    THanks to you I achieve to do what i wanted :
    <div class='ipsPad_half ipsWidget_inner'>             <ul class='ipsDataList  ipsContained_container'>               {{shuffle($records);}}               {{ $record = $records[0];}}                     <li class='ipsDataItem'>                       <div class='ipsType_break ipsContained'>                                 <a href="{$record->url()->setQueryString( 'do', 'getLastComment' )}" title='{lang="view_this_cmsrecord" sprintf="\IPS\Member::loggedIn()->language()->addToStack( 'content_db_lang_sl_' . $record::$customDatabaseId, FALSE ), $record->_title"}' class='ipsDataItem_title'>{$record->_title}</a>                             </div>                             <div class='ipsType_break ipsContained'>                                 <a href="{$record->url()->setQueryString( 'do', 'getLastComment' )}" title='{lang="view_this_cmsrecord" sprintf="\IPS\Member::loggedIn()->language()->addToStack( 'content_db_lang_sl_' . $record::$customDatabaseId, FALSE ), $record->_title"}' class='ipsDataItem_title'>{$record->customFieldDisplayByKey('lien-image-pour-forum')|raw}</a>                             </div>                           <div> <a href="https://www.1001bd.com/best_of/">Voir l'integralité des  best of </a></div>                     </li>             </ul>         </div> Like that each time someone connect the selection is different.
     
    Better thing would to have it change automatically after 1 minutes. Can we do that sort of thing without reloading the page ?
  3. Like
    Poseidon2 reacted to Adriano Faria in How to select random record ?   
    You would have to use Ajax to accomplish that. I have no idea how you would do that only with a block.
    You could also take a look in some Jquery ticker, like https://www.jqueryscript.net/tags.php?/news ticker/
  4. Like
    Poseidon2 reacted to Meddysong in How to select random record ?   
    I can't help with your other questions but I know that
    {{shuffle($rows);}} works with database categories when ordering records randomly. You might be able to adapt that for $records rather than $rows.
  5. Like
    Poseidon2 reacted to aXenDev in Where to find recordRow template ?   
    recordRow is intended templates for pages application.
    Go to AdminCP -> Pages -> PAGE MANAGEMENT -> Templates.
  6. Like
    Poseidon2 reacted to Ryan Ashbrook in Theme codage documentation   
  7. Like
    Poseidon2 got a reaction from sobrenome in How to see the entire post in an activity stream item ?   
    Thank's for the answer !
    I will see with him !
     
    Florian
  8. Like
    Poseidon2 reacted to opentype in Database to forum : how to include the picture   
    It’s a theme template. It’s in the customization section of the ACP. 
  9. Like
    Poseidon2 reacted to opentype in Database to forum : how to include the picture   
    There is no direct option define the forum output for the record image. But everything about the forum post content is controlled by this theme template:

    You could probably customize that to get what you need. I assume the record image is in $record->record_image, but I haven’t tested it. 
  10. Like
    Poseidon2 reacted to Adriano Faria in My blocs on a page don't refresh immediatly   
    Are these blocks widgets? If so, you can control the update time on setting in your ACP.
    Our Picks isn’t instantly too. It uses a task but it runs at every 5 minutes, if I recall.
  11. Like
    Poseidon2 got a reaction from Morrigan in Why does the "Promote" option remove my images ?   
    Thanks for the answer. You are right.
     
    If I add it manually they stay but if I put a link automatically shown by the interface, they disappaer....
     
    I will add it. It is more simple.
     
    Florian
  12. Like
    Poseidon2 reacted to shahed in Pages Legend News - Supporttopic   
    What's New in Version 2.2.2  
    Template Update  
    ---
    @Poseidon2 This version will fix two bugs that being reported by you. however, you don't need to install, as fixed version already patched in your templates. 👍
     
  13. Like
    Poseidon2 reacted to shahed in Pages Legend News - Supporttopic   
    Hi,
    Please use one area for the support request.
    ---
    About review comment ... Thanks for bringing to my attention. It will be fix in the next update.
    I need a link for this but, I don't think you are using Pages legends page builder here. I think it's IPS Two column Page builder. regardless, Pages legend block seems doesn't have it's necessary CCS classes. Since you can see good result in first try and refresh make it broken, Use CTRL+F5 to refresh the page and see if it's works. It need to be tested in other browsers as well.
     
    In ACP navigate to Site Features > Plugins > Legend News > and change the setting for "I'm using IPS Wrapper".
  14. Like
    Poseidon2 reacted to opentype in Can I link a newletter to a "Pages"   
    That’s not possible out of the box. 
    Maybe these newsletter apps have parts of what you are looking for:
    https://invisioncommunity.com/files/file/8408-newsletters/
    https://invisioncommunity.com/files/file/7823-sd-newsletter/
     
×
×
  • Create New...