Jump to content

opentype

Clients
  • Posts

    9,901
  • Joined

  • Last visited

  • Days Won

    134

Reputation Activity

  1. Thanks
    opentype got a reaction from Meddysong in Integration with Twitter Cards   
    {{\IPS\Output::i()->metaTags['keywords'] = implode(',',$record->tags());}}  
  2. Like
    opentype got a reaction from Starship in Integration with Twitter Cards   
    I recommended it too a while ago. Makes perfect sense to support these Twitter meta tags along with the ones Facebook looks for. Tweets with images are so much more likely to get clicks than just plain links. 
    If you can’t wait: it’s surprisingly simple to add it to certain templates. For example, I added this to my video database in Pages:
    {{\IPS\Output::i()->metaTags['twitter:card'] = 'summary_large_image';}} {{\IPS\Output::i()->metaTags['twitter:site'] = '@TypographyGuru';}} {{\IPS\Output::i()->metaTags['twitter:title'] = $record->_title;}} {{\IPS\Output::i()->metaTags['twitter:description'] = 'Watch this video in the collection of the best typography videos on Typography.Guru';}} {{\IPS\Output::i()->metaTags['twitter:image'] = (string) \IPS\File::get( 'cms_Records', $record->record_image )->url;}}  
  3. Like
    opentype reacted to newbie LAC in (NB41) Social Count Fans   
    My widget haven't layout for horizontal section. So I used 
    if ($this->orientation != 'vertical') { return ''; } It's a better for performance.
    I think I'll add new setting for "Grid" style/theme

    With horizontal it will looks like

  4. Like
    opentype reacted to newbie LAC in (NB41) Social Count Fans   
    It's a core issue and related with "orientation".
    applications/cms/sources/Blocks/Block.php
    public static function display( $block, $orientation=NULL ) When you use {block} tag you can't pass orientation variable.
    Solution
    Open plugins/nb41socialcountfans/widgets/nbSocialCountFans.php
    Find and comment
    if ($this->orientation != 'vertical') { return ''; } or change to 
    if (isset($this->orientation) and $this->orientation != 'vertical') { return ''; }  
  5. Like
    opentype got a reaction from levsha in Pages SuperGrid support   
    You have set .ipsAreaBackground_light to “transparent” in your CSS. That hides everything. 
    You should remove that styling. If you really don’t want the light grey, which is set by default, set it to white, not transparent. 
  6. Like
    opentype got a reaction from Simon Woods in Pages SuperGrid support   
    Yeah, that’s not ideal. Your thumbnail will be super small and your large images can get super large in terms of file size. 
    I prefer something like 600 to 800 as max size for the thumbnail and 1500 to 2000 for the large images. But that depends on what you are doing on your site. 
    If the thumbnails are too small or the large ones too big, there is a setting to choose which ones to use for the grid view. Of course if both have problems, I can’t help you. 
    If you change the image settings for the database you would have to upload the image again. 
      
    The images are centered and scaled up or down to fill the container in both direction. So you want the aspect ratio of your uploads close to the aspect ratio you set for SuperGrid. So try to set it that way and try to keep all uploads similar. The more you deviate from the default aspect ratio you set, the more will be cut off from the image. 
  7. Like
    opentype got a reaction from sobrenome in Integration with Twitter Cards   
    {{\IPS\Output::i()->metaTags['keywords'] = implode(',',$record->tags());}}  
  8. Like
    opentype got a reaction from Joel R in Integration with Twitter Cards   
    {{\IPS\Output::i()->metaTags['keywords'] = implode(',',$record->tags());}}  
  9. Like
    opentype got a reaction from sobrenome in Integration with Twitter Cards   
    In the Pages template your database uses for the “record view”. 
    It isn’t. It’s an application of the Twitter code. You can’t just paste the Twitter code. It’s just an example. The fields need to be populated with the dynamic content from the database record. Also, don’t just copy my code above. That’s also just an example. 
    My Pages template include Twitter card support. You don’t need to do anything else than add your Twitter handle to the template. 
     
  10. Sad
    opentype got a reaction from ايمن in Integration with Twitter Cards   
    I recommended it too a while ago. Makes perfect sense to support these Twitter meta tags along with the ones Facebook looks for. Tweets with images are so much more likely to get clicks than just plain links. 
    If you can’t wait: it’s surprisingly simple to add it to certain templates. For example, I added this to my video database in Pages:
    {{\IPS\Output::i()->metaTags['twitter:card'] = 'summary_large_image';}} {{\IPS\Output::i()->metaTags['twitter:site'] = '@TypographyGuru';}} {{\IPS\Output::i()->metaTags['twitter:title'] = $record->_title;}} {{\IPS\Output::i()->metaTags['twitter:description'] = 'Watch this video in the collection of the best typography videos on Typography.Guru';}} {{\IPS\Output::i()->metaTags['twitter:image'] = (string) \IPS\File::get( 'cms_Records', $record->record_image )->url;}}  
  11. Thanks
    opentype got a reaction from TomatoG in Find topic by its ID   
    What do you mean by “find” the topic? Through the search function? Access in the browser URL bar? Or from within a script? …?
    Regarding the address bar, you can just access the topic through /00000-something
    Which means: the ID followed by a hyphen and something else. Example to access this topic:
    https://invisionpower.com/forums/topic/436181-doesn’t-matter https://invisionpower.com/forums/topic/436181-x https://invisionpower.com/forums/topic/436181-hello All forwards to the same topic. 
  12. Like
    opentype got a reaction from TAMAN in A different article styles By Pages ( IP.Content )   
    That’s the IPS template. 
  13. Like
    opentype reacted to PHOTOZONE in Pages SuperGrid support   
    Thank you! Looks great now.
  14. Like
    opentype got a reaction from Simon Woods in Pages SuperGrid support   
    My mistake. But don’t worry about it. If you use a recent download, you will have the recent version. 
  15. Like
    opentype got a reaction from Duken in Pages SuperGrid support   
    There is no setting for that. No. 
    Sure. You need to deactivate the Listing display for that field in the field’s setting. 
  16. Like
    opentype got a reaction from Duken in Pages SuperGrid support   
    Support topic for: 
    Pages SuperGrid is a set of Pages templates and a complete solution to make your Pages databases (with articles, directories and so on) appealing and engaging. 
    What’s needed: 
    IPS 4.1 in its most recent version with the Pages application A pages databases that uses the stock Record Image field and has images with a sufficient resolution uploaded through that field. 
    (Technically, the templates also work without images, but it’s an image-centered design and works best when most or all records have images.) Which templates are included:
    A beautiful grid-based Front Page template with two records featured at the top — for when your database is set to article mode. A beautiful grid-based Listing template replacing the dull forum listing design — for when you open a category or have a database without categories. A unique Record View template with a large header image — for when you open a specific record. A category listing template – in case you use more than one category.  2 Bonus Features included: 
    Twitter Card support! Yes, you read that correctly! The SuperGrid record view template adds Twitter Card support to your records. You just have to provide your Twitter handle. Tweets with images have a significantly higher click rate and with Pages SuperGrid any link to an article in your database (which has a record image) will automatically get a beautiful Twitter Card like this:

    Block template! Create blocks anywhere on your site – pointing to your database – and make them as beautiful as the database itself. A block template with options is included in the package. 
  17. Like
    opentype got a reaction from sobrenome in Pages SuperGrid support   
    I don’t know. Essentially it’s just an improved layout/look for Pages databases. I can’t answer if Pages databases are right for you. Maybe try that out first? 
    Nice looking site by the way!
  18. Like
    opentype got a reaction from sobrenome in Pages SuperGrid support   
    You probably have code in your article, which forces the column to be too wide. You should correct that. (Has nothing to do with my templates though)
  19. Like
    opentype got a reaction from sobrenome in Pages SuperGrid support   
    Blocks on manual pages are now also supported with the 2.1 version. 
  20. Like
    opentype got a reaction from sobrenome in Pages SuperGrid support   
    No, it’s not. As stated yesterday, I will have a look at this for the next version. But no promises when that will be out or if it will solved. You just have to wait or use it in default slots I’m afraid. 
  21. Like
    opentype got a reaction from sobrenome in Pages SuperGrid support   
    Make sure you are using a page builder page with the default widget slots (1) and then drag your block into one of the horizontal slots (2) (instead of the sidebar). You should automatically get the “listing grid view” identical to the listing view of the database. If those 2 requirements aren’t met, I can’t help you to get it to work. 
  22. Like
    opentype got a reaction from sobrenome in Pages SuperGrid support   
    Mhh, yes, that’s kind of intentional. It’s either a horizontal block or a vertical block within the standard widget containers and it checks which one of the two it is. If that information isn’t there, it might not look right. So it’s not really a bug. But I’ll have look at ways to maybe improve this in the next version. I could probably avoid missing information at least. 
  23. Like
    opentype got a reaction from Morozzz in Pages SuperGrid support   
    I am happy to announce SuperGrid 2.0 with these changes:
    New SuperGrid Plugin.
    No more copy and paste and editing settings in 5 different templates. All templates were recreated so all settings and the CSS are now part of a plugin. Much easier to use and upgrade!

     
    SuperGrid Horizontal Block!
    By popular request: The block template now has the full functionality of the database listing template. Create database feed widgets with the 3x3 SuperGrid layout and put them anywhere on your site. The possibilities are endless! For example: Create an engaging SuperGrid homepage with multiple SuperGrid widgets as horizontal and/or vertical blocks. Or: Show 3/6/9… featured/recent/popular articles below or above your articles.
     
     
    Improved Record View on Mobile
    By popular request: The record view template has been improved, so the avatar and the article/author information now adopt to the screen width and don’t take up as much space as before. 

     
    Make sure to follow the upgrade instructions in the PDF if you are upgrading. You need to fully remove SuperGrid 1.x first and the installation process for 2.0 has changed (i.e. made easier) as well. 
    Also: The new settings are now unified and independent from specific templates. So you cannot install the templates multiple times anymore and use different settings for each template set as you could with SuperGrid 1.x. All instances will use the same settings in SuperGrid 2.x. 
  24. Like
    opentype got a reaction from Ausy in Pages SuperGrid support   
    I am happy to announce SuperGrid 2.0 with these changes:
    New SuperGrid Plugin.
    No more copy and paste and editing settings in 5 different templates. All templates were recreated so all settings and the CSS are now part of a plugin. Much easier to use and upgrade!

     
    SuperGrid Horizontal Block!
    By popular request: The block template now has the full functionality of the database listing template. Create database feed widgets with the 3x3 SuperGrid layout and put them anywhere on your site. The possibilities are endless! For example: Create an engaging SuperGrid homepage with multiple SuperGrid widgets as horizontal and/or vertical blocks. Or: Show 3/6/9… featured/recent/popular articles below or above your articles.
     
     
    Improved Record View on Mobile
    By popular request: The record view template has been improved, so the avatar and the article/author information now adopt to the screen width and don’t take up as much space as before. 

     
    Make sure to follow the upgrade instructions in the PDF if you are upgrading. You need to fully remove SuperGrid 1.x first and the installation process for 2.0 has changed (i.e. made easier) as well. 
    Also: The new settings are now unified and independent from specific templates. So you cannot install the templates multiple times anymore and use different settings for each template set as you could with SuperGrid 1.x. All instances will use the same settings in SuperGrid 2.x. 
  25. Like
    opentype got a reaction from Simon Woods in Pages SuperGrid support   
    I am happy to announce SuperGrid 2.0 with these changes:
    New SuperGrid Plugin.
    No more copy and paste and editing settings in 5 different templates. All templates were recreated so all settings and the CSS are now part of a plugin. Much easier to use and upgrade!

     
    SuperGrid Horizontal Block!
    By popular request: The block template now has the full functionality of the database listing template. Create database feed widgets with the 3x3 SuperGrid layout and put them anywhere on your site. The possibilities are endless! For example: Create an engaging SuperGrid homepage with multiple SuperGrid widgets as horizontal and/or vertical blocks. Or: Show 3/6/9… featured/recent/popular articles below or above your articles.
     
     
    Improved Record View on Mobile
    By popular request: The record view template has been improved, so the avatar and the article/author information now adopt to the screen width and don’t take up as much space as before. 

     
    Make sure to follow the upgrade instructions in the PDF if you are upgrading. You need to fully remove SuperGrid 1.x first and the installation process for 2.0 has changed (i.e. made easier) as well. 
    Also: The new settings are now unified and independent from specific templates. So you cannot install the templates multiple times anymore and use different settings for each template set as you could with SuperGrid 1.x. All instances will use the same settings in SuperGrid 2.x. 
×
×
  • Create New...