Jump to content

Nathan Explosion

Friends
  • Posts

    7,135
  • Joined

  • Days Won

    129

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Projects

Release Notes v5

Invision Community 5 Bug Tracker

Forums

Events

Store

Gallery

Everything posted by Nathan Explosion

  1. For future reference, please use the support topic for the resource: I will reply in that topic.
  2. You'll need to "Clear system caches" in the ACP to see the effect.
  3. Just going to point it out, but irrelevant to the actual question. PHP 8.2 isn't supported by Invision yet.
  4. You won't if you are already opted-in to receive newsletters - no point showing it to someone if they are already signed up.
  5. Yes...just take a look at the widgets/blocks that are available via the Block Manager
  6. Check your root - if you have an index.html and an index.php then delete the index.html
  7. OK - assumptions made: You are creating a custom manual HTML block that contains that code You are placing that block in the sidebar when viewing a record {{if request.app == 'cms' }} {{$databaseId = \IPS\cms\Databases\Dispatcher::i()->databaseId;}} {{$class = "\IPS\cms\Records".$databaseId;}} {{$record = $class::load(\IPS\Request::i()->id);}} {{$categoryId = $record->container()->id;}} {block="articles_related_articles_{$categoryId}"} {{endif}} If that doesn't work (and there is probably a better way of doing it, this was a quick throw-togehter) then I've got no idea where you are putting it.
  8. Where exactly are you adding this in pages? You've given no information about what template you are editing so I'm assuming that it is the record display template in the Pages templates that you are editing, as you mentioned: Give more information than you are currently providing...help people help you. Describe what you are doing more... What is the full code of the block? Where is the block placed in Pages? etc.
  9. $record->container()->id
  10. Edit your theme's settings, go to the "front-end colors" tab and modify the following:
  11. Thought as much.
  12. Is there? Can you screenshot it, please, as I don't see one (but then I may be blind)
  13. Simple as that - create a new one = the current IPS theme.
  14. I see no reason for that, to be honest. Just upload your "std-image" in the ACP (Default share images) and it handles that element of your request...
  15. I think this is what you are asking for... {{if !isset( \IPS\Output::i()->metaTags['og:image'] )}} {{$shareLogos = \IPS\Settings::i()->icons_sharer_logo ? json_decode( \IPS\Settings::i()->icons_sharer_logo, true ) : array();}} {{if request.app ==='forums' AND request.controller==='topic'}} <meta property="og:image" content="https://www.domain.tld/img/{expression='request.id'}.jpg" /> {{else}} {{foreach $shareLogos as $logo}} <meta property="og:image" content="{file="$logo" extension="core_Icons" scheme="full"}"> {{endforeach}} {{endif}} {{endif}}
  16. v2.2.0 is currently pending approval. NEW Added "Apply settings to native IPS audio" & "Enforce 'Download attachments' permission" settings on the 'Audio' tab. These settings mirror some of the functionality provided by the equivalent settings on the 'Video' tab. If a user doesn't have permission to download attachments then the IPS-embedded audio player will be converted to a normal attachment link. 'Preload' settings will be applied to IPS-embedded audio players. 'Disable right-click' functionality is now effective on attached audio files. CHANGES Minor language updates FIXES Fixed an issue when adding a Pages WYSIWYG block via the block manager would result in an 'Error', stopping you from configuring the block at that time. Fixed an issue where a Pages WYSIWYG block was no longer processed by the application if the block wasn't on a Pages page.
  17. Step 1: Make sure the "Publish date" field is enabled in your database's fields listing, and you have the specified permission it indicates. Step 2: Make sure you are editing in the front-end, not in the ACP.
  18. I didn't state it was a bug. Just offering it up - do with it what you will.
  19. Reproduction steps (on an unaltered default theme) Go to your Inbox Click 'Disable my inbox' at the base of the message listing a prompt appears indicating the following, click OK...inbox now disabled On a desktop... the Messages icon now indicates that the inbox is disabled (greyed out/hover message displayed) Click the button and the inbox appears. On a mobile... tap the 3-line/burger menu the Messages icon now indicates that the inbox is disabled (greyed out) tap the icon, and the inbox appears However, that's not the only way to get to the inbox... tap Account -> Messages a prompt appears indicating the following: Click OK and your inbox is now re-enabled.
  20. Yup, and that then covers the following requirement through the Editor being available.
×
×
  • Create New...