Jump to content

sobrenome

Clients
  • Posts

    2,525
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by sobrenome

  1. On 28/04/2016 at 3:44 PM, opentype said:

    {{\IPS\Output::i()->metaTags['twitter:image'] = (string) \IPS\File::get( 'cms_Records', $record->record_image )->url;}}

    Is there a way to mix text and strings?

    I want to output record's description mixing a common description text and with strings: record title and database category name.

    And is there an easy way to use tags as keywords?

  2. On 28/04/2016 at 3:44 PM, opentype said:

    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;}}

     

    Perfect!

  3. Recently I have discovered that thousands of attachments images of my community were severely corrupted by the Smush it plugin of version 3.4.

    On AdminCP we can browser all attachments on ACP > System > Files.

    It's a great feature, but it could be improved.

    There is no bulk delete option and no option to remove the attachment alias from the posts that are linked to it.

    And there is no way to set how many attachments to browse per page.

    Many problems can happen to attachments, and a better administration system is very appreciated.

    In my case, it's nearly impossible to solve the issue without a better administration panel. It is human impossible to visit thousands os posts, delete the attachment link and them delete the attachment itself. It would take ages and would penalize other website administration needs.

    So, I urgent suggest this improvements for Files browsing in ACP:

    • Bulk delete by checking the first line and auto choosing all lines behind;
    • The option the delete the attachment link on the related post to avoid broken attachments;
    • Setting for number of attachments to show per page.

    Captura de Tela 2017-03-12 às 4.35.09 PM.png

  4. 5 hours ago, opentype said:

    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. 

    I really need this feature. Are you sure there is no way to adapt the current code to achieve the result I desire?

  5. 5 minutes ago, opentype said:

    You just need to assign the block template as described in the 2.0 installation instructions. 

    Screen Shot 2017-01-17 at 17.37.42.png

    Yes, I did it. But the looks of block template is different from the looks of the listing template. I would like the looks of the listing template on block template. I have tried to adapt the listing template code to the block template but I was not successful. I want to add the block template to my community index page.

  6. I am trying to reproduce the database listing style to the block style with no success. Could you please send me by private message the code for PageGrid Block to look like the database listing style? Thanks.

    I want the block style just like this:

     

    block.gif

×
×
  • Create New...