Featured Sites: A-Z Index
H
Newest 10 Entries
Question | What are some of the default endpoints available in the server-side API? |
---|---|
Answer | Default endpoints cover various functionalities, including:
Specific details on parameters and response data for each endpoint can be found in the documentation. |
Question | How does authentication work with the server-side API? |
---|---|
Answer | Authentication is handled automatically using cookies, similar to regular website requests. If cookies are not feasible, the response parameters device_auth_member_id_cn/device_auth_pass_hashed_cn/device_auth_member_id_vl/device_auth_pass_hashed_vl from the login endpoint can be resent as POST parameters in subsequent requests. |
Question | How do I access the server-side API for my mobile app? |
---|---|
Answer | The server-side API can be accessed via HTTP calls to http://yourbaseurl/data/endpoint.php. Results are returned in JSON format. The API utilizes endpoints with a 'hook' name and a 'hook type' categorization. Both REST-style and GET-parameter style requests are supported, with the latter recommended for simplicity. |
Question | What is the purpose of the Composr Mobile SDK Toolkit? |
---|---|
Answer | The Toolkit, part of the composr_mobile_sdk addon, aids in mirroring Composr website resources into a mobile app. It includes tools for generating iOS/Android string resources from language files and exporting theme images in a directory structure suitable for iOS/Android app image assets. |
Question | How can I obtain Composr Mobile SDK? |
---|---|
Answer | The iOS/Android SDK can be found on GitLab at: Composr ecosystem / Composr Mobile SDK · GitLab. To connect to a Composr site, you will need to install the composr_mobile_sdk addon, which is not bundled. This addon provides scripting to generate app assets from the Composr site. |
Question | What is Composr Mobile SDK? |
---|---|
Answer | Composr Mobile SDK (CMS SDK) is a toolkit designed for experienced iOS and Android developers to build mobile apps that integrate with a Composr-powered website. It offers both Composr-specific integrations and a collection of standalone utilities for building apps, providing a common base between iOS and Android akin to the PHP and Composr APIs, enabling easier code porting while maintaining a native experience. |
Question | What is the Composr maintenance policy? |
---|---|
Answer | Composr follows a rolling release model. This means:
This policy allows developers to focus resources on the latest versions and encourages users to leverage the ongoing improvements. You can find the release status on the Composr maintenance status page. |
Question | What are the general courtesy guidelines for interacting with the Composr community? |
---|---|
Answer |
|
Question | How can I provide design feedback for Composr? |
---|---|
Answer | Constructive design feedback is valuable. To provide effective feedback:
|
Question | How do I make a feature suggestion for Composr? |
---|---|
Answer | You can suggest features through the tracker or the Report Issue Wizard. When making a suggestion:
|
Top 10 Entries
Question | What are "breadcrumbs," and how can I customize them? |
---|---|
Answer | Breadcrumbs are a navigation aid that shows the user their current location within the website's hierarchy. In Composr, breadcrumbs are customizable through an XML file. You can override default breadcrumbs using "match-keys" to target specific pages and define the desired breadcrumb structure. This allows you to adjust the breadcrumb trail to better match your website's organization. To edit, go to Admin Zone > Structure > Configure breadcrumb overrides. |
Question | How can I control which panels are displayed on specific pages? |
---|---|
Answer | Panels are the areas around your main content area where you can place menus, blocks, and other dynamic elements. You can control panel visibility using display rules within your panel's Comcode: {+START,IF,{$NEQ,{$PAGE},example_page_1,example_page_2,example_page_3}} ... panel content ... {+END} This example prevents the panel from showing on pages named "example_page_1," "example_page_2," and "example_page_3." |
Question | What is a "page-link," and how does it differ from a URL? |
---|---|
Answer | A page-link is a Composr-specific way to reference a page or screen within your website. It's a simplified, local representation of a URL, independent of the URL scheme you might be using. For example, the page-link site:downloads:browse:10 points to the download category with ID 10 in the site zone. This page-link remains consistent even if your URL scheme changes the way URLs are structured. Page-links also do not consider monikers, so if a URL moniker changes, page-links will stay the same. This is a powerful feature as you can use the Comcode [page="page-link"]Page title[/page] tag to generate URLs of local content. And these will always work regardless of URL scheme or moniker. |
Question | How do menus work in Composr, and can I customize them? |
---|---|
Answer | Composr has a flexible menu system that can be customized to your needs.
Menus can be added to panels (sidebars, headers, footers) or embedded directly within Comcode pages. The menu editor provides tools for adding branches, setting captions, tooltips, and URLs, and even defining context-sensitive behavior using "match-keys." |
Question | What are "zones" in Composr, and what are they used for? |
---|---|
Answer | Zones are like sub-sites within your Composr website. They provide a way to organize content and apply different settings, like permissions, themes, and navigation. Some default zones include:
|
Question | What are the different ways to control access in Composr? |
---|---|
Answer | Composr offers a robust permission system with various methods for controlling access:
|
Question | What happens when I add a new usergroup to a third-party forum integrated with Composr? |
---|---|
Answer | If you are not using Conversr as your forum, Composr won't automatically assign any permissions to the new usergroup. To rectify this, you can use the "Absorb usergroup-permissions" feature in the Admin Zone. This tool allows you to copy the permissions from an existing usergroup to the newly created one, ensuring consistent access and functionality. |
Question | What are some security considerations regarding super-moderators and super-administrators? |
---|---|
Answer | While super-moderators have extensive access to manage your site, certain sensitive privileges are reserved for super-administrators. This includes the ability to impersonate other users, execute arbitrary code, and view private content. These restrictions help prevent potential privilege escalation and ensure the overall security of your website. Exercise caution when granting super-moderator status and trust only reliable individuals. |
Question | What are some useful tools for debugging permission issues? |
---|---|
Answer | Composr provides a couple of tools to help pinpoint permission problems:
|
Question | How can I test if my permission settings are working correctly? |
---|---|
Answer | Composr's "SU" feature allows administrators to temporarily assume the identity of another user, enabling you to experience the site as they would. Simply enter the desired username in the "SU" box in the footer. You can also use "Guest" to browse as an unauthenticated visitor. Remember that using "SU" doesn't accurately reflect online status and retains administrator access to sensitive areas. |