Jump to content

opentype

Clients
  • Joined

  • Last visited

Solutions

  1. opentype's post in Favicon refuses to show was marked as the answer   
    It works. 
    Favicons are heavily cached by the browsers. Reloading a page doesn’t refresh them if they were changed. 
  2. opentype's post in Is it possible to change title based on device screen size? was marked as the answer   
    You can’t do that in the template code, because when it is parsed on the server, the server doesn’t know what device it will be displayed on. 
    However, the IPS framework has CSS classed to achieve this, so while both statements would be in the HTML code for everyone, one part could show on mobile devices only and another one only on desktop.
     
  3. opentype's post in Choose who sees widgets? was marked as the answer   
    It kind of exist already. You just need to create a custom Pages block from the widget you need permissions for. 
  4. opentype's post in Adding PHP function to IPS theme was marked as the answer   
    You need to use the template syntax as explained here on several pages. 
    https://invisioncommunity.com/4guides/themes-and-customizations/template-syntax/introduction-to-template-syntax-r137/
     
  5. opentype's post in Custom stream as home page was marked as the answer   
    Kind of. You can create a new page with Pages and then add the Activity Stream widget on it. It doesn’t allow you to chose an existing stream, but there are some settings to create a custom stream. 
    You can also link a custom stream as “home” link from the menu, but that wouldn’t automatically picked up from other places like the logo. I am actually using that on one of my sites and I customized the logo template to link to “discover/6/”

  6. opentype's post in Where to insert favicon <link> code? was marked as the answer   
    IPS’ system already does that. Just upload the image here:
     

  7. opentype's post in How to filter by additional custom fields in a template? was marked as the answer   
    Yeah, it works like that. The featured records template is meant like a “blog homepage showing latest articles”. It doesn’t do much more. 
    Everything to control this view is in the database settings:

    You can narrow down the selection to certain categories or featured records only but that’s it. 
  8. opentype's post in Database Category Pages was marked as the answer   
    Click on the pencil icon first to activate custom permission. After that, the permission settings will appear in that drop-down menu. 
  9. opentype's post in I need a fresh copy of the Default Theme 4..5 was marked as the answer   
    You just click the button in the ACP to create a new one. 
  10. opentype's post in Best practice for adding buttons & links in Plugin Settings was marked as the answer   
    Did you nest the quotes properly? 
    'mymessage' => "<a href='#'>link</a>" or 'mymessage' => '<a href="#">link</a>'