Featured Sites: A-Z Index

H


Newest 10 Entries

Question How can I customize Composr without modifying the core files?
Answer Composr offers a robust override system. Instead of altering the original files, create a parallel structure within _custom directories. For example, to modify site/pages/modules/polls.php, place your customized version in site/pages/modules_custom/polls.php.

The tutorials outline additional information on how to utilise overrides.
Question What are the main components of the Composr framework?
Answer Composr consists of:
  • Modules: PHP files that provide related screens, forming the building blocks of addons.
  • Comcode: Text files containing content written in a simplified markup language.
  • HTML: Files containing standard HTML for web pages.
  • Sources: PHP code files for the core API and functionality.
  • Hooks: PHP files enabling addons to interact and extend each other's functionality.
  • Blocks/Miniblocks: Reusable components for displaying dynamic content within pages.
  • Themes: Folders containing images, CSS, and templates to define the look and feel.
  • Language files: Files holding text strings for multilingual support.
Question How can I embed third-party widgets into my Composr pages?
Answer Composr supports embedding widgets from various websites, like Google Maps, Vimeo, and YouTube, by simply pasting the URL. For manually embedding widget code, you can paste it into the HTML source view of the WYSIWYG editor or within Comcode html tags if not using the WYSIWYG editor.
Question What is the difference between blocks and boxes in Composr?
Answer Boxes are visual elements that provide a container for content, while blocks are functional units that generate and display dynamic content. Although blocks often appear within boxes in the default templates, they are not inherently tied to any visual representation.
Question Can I customize the appearance of blocks?
Answer Yes, you can style blocks by editing the associated templates and CSS. Templates are typically named after the block they represent. For example, the main_news block uses the BLOCK_MAIN_NEWS.tpl template.
Question How do I create custom filter forms for my content?
Answer The main_content_filtering block can help you generate filter forms automatically. You can use it to create a default form and then customize the generated Filtercode string to refine the filtering options. Once satisfied, you can either continue using the block or extract the HTML and modify it further.
Question Where can I use Filtercode and Selectcode in Composr?
Answer Filtercode is supported in various blocks, such as main_multi_content, main_gallery_embed, and main_cc_embed. It's also actively used in modules like catalogues, downloads, galleries, members, and news.

Selectcode is supported in blocks and Comcode tags that explicitly mention it, including the main_multi_content block and the if_in_group Comcode tag.
Question What is the difference between Filtercode and Selectcode?
Answer Filtercode is used for querying content based on properties and values, while Selectcode is used for directly specifying a list of IDs or categories to include or exclude. Filtercode offers more complex filtering options, while Selectcode is more straightforward for simple selections.
Question How can I filter content in Composr?
Answer Composr provides two filtering systems: Filtercode and Selectcode.
  • Filtercode is used for selecting content based on defined filters, such as field values, ratings, or keywords. It utilizes a syntax of comparisons, separated by commas, where each comparison specifies a field and a matching condition.
  • Selectcode is a simpler syntax for specifying a list of IDs or categories to include or exclude from the results. It uses a comma-separated list of match-specifier tokens, such as individual IDs, ranges, or wildcard characters.
Question What are blocks in Composr and how can I use them?
Answer Blocks are dynamic elements that can be inserted into Comcode pages to add interactive and data-bound functionality to your website. They are essentially reusable components that automatically generate content, such as recent forum posts or information about the logged-in user.

You can add blocks to your pages using the block construction assistant, which allows you to select from a list of available blocks, set their parameters, preview them, and generate the necessary Comcode.

Top 10 Entries

Question How does Composr handle color contrast for accessibility?
Answer Composr is designed with high graphic standards that aim to avoid poor color contrast in the default theme and Theme Wizard. But it is not perfect, especially for dark mode themes.
Webmasters are still responsible for ensuring sufficient contrast in their own content and in custom themes.
Question How do I provide text equivalents for images and multimedia in Composr?
Answer Composr's web standards checker ensures that alternative text (using the "alt" attribute) is provided for images. It will warn if any images do not contain alt text.
For multimedia, webmasters are responsible for providing captions and auditory descriptions either in the multimedia itself, on the description of the media, or uploaded as a caption file.
Question How can I make sure my Composr website is accessible?
Answer Enable the web standards checker in Composr while editing templates. Also do the same when previewing edited or new Comcode pages.
Use the provided accessibility options in the Admin Zone to customize the webmaster experience according to your accessibility needs.
Follow the webmaster concerns outlined in the "Helping improve site accessibility for disabled users" tutorial.
Regularly test your website using third-party accessibility validation tools such as the WAVE Web Accessibility Evaluation Tool or the AChecker.
Question What accessibility features are built into Composr?
Answer Composr has an inbuilt web standards checker that helps ensure compliance with accessibility guidelines.
Composr provides automatic sitemap generation functionality, a default sitemap page, and an advanced menu editor to manage navigation.
Composr supports ARIA (Accessible Rich Internet Applications), which helps make dynamic content accessible.
Composr includes options in the Admin Zone to fine-tune the webmaster experience for specific accessibility requirements.
Question Does Composr comply with accessibility standards?
Answer - Yes, Composr complies with the highest level of the WCAG (version 1.0 at the time of writing), level 3.
- Composr also meets Section 508 guidelines, XHTML and CSS specifications, and the highest level of ATAG.
- Composr conforms to these standards throughout, from user-facing screens to administrator interfaces.
Name Patrick Schmalstig
Photograph Image
Title / Role Lead Developer
Contributions / Notes

Joined Chris Graham behind the scenes in the development of Composr CMS in 2016.

Took on the lead developer role in 2023 when Chris Graham stepped back to attend to his new lifestyle changes.

Spearheaded the development of Composr CMS v11 and the new website, Composr.app.

Formed the company PDStig, LLC to take on professional support and development for Composr CMS users especially after the discontinuation of ocProducts, Ltd.

Links

PDStig, LLC

Name Jim Davidson
Title / Role contributor
Contributions / Notes

written many tutorials via Arvixe

Name Chris Warburton
Title / Role developer for ocProducts
Contributions / Notes

Made some key contributions to ocPortal

Name Haydn Maidment
Title / Role project manager for ocProducts
Contributions / Notes

None available

Name Steve Jarvis
Title / Role project manager for ocProducts
Contributions / Notes

Wrote many tutorials via Arvixe