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:
|
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.
|
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 | What is the purpose of "confirmed" and "non-confirmed" sessions? |
---|---|
Answer | Composr distinguishes between confirmed and non-confirmed sessions for added security:
You can configure zones to require confirmed sessions, preventing access from cookie-based logins alone. The Admin Zone uses this by default. |
Question | How can I enhance the security of my Composr installation on shared hosting? |
---|---|
Answer | Shared hosting environments can be inherently less secure. Here are some tips:
|
Question | How does Composr protect against Cross-Site Scripting (XSS) attacks? |
---|---|
Answer | Composr utilizes multiple layers of defense against XSS attacks:
|
Question | What are the different types of security alerts in Composr? |
---|---|
Answer | Composr has a variety of hack-attack codenames that trigger security alerts and logging. Some common examples include:
You can customize alert handling for each type in data_custom/xml_config/advanced_banning.xml (Admin Zone > Security > Configure advanced banning). |
Question | What are some tips for secure website maintenance? |
---|---|
Answer |
|
Question | What are the main security features of Composr? |
---|---|
Answer | Composr has a robust set of security features to protect your website, including: Passwords:
Login Restrictions:
Auditing Systems:
Framework Security:
Other features:
|
Question | Why are my searches slow, and how can I improve search speed? |
---|---|
Answer | Slow searches can occur when dealing with large amounts of content. Here are some workarounds and solutions:
|
Question | How does the search engine handle different languages? |
---|---|
Answer | Composr's fast custom index supports multiple languages. Content is indexed based on its translated version, ensuring that you get relevant results even when searching in a different language. |
Question | What are quoted phrases and how do they work? |
---|---|
Answer | Quoted phrases allow you to search for an exact sequence of words. For example, searching for "red apple" will only return results containing that exact phrase. Keep in mind that enabling quoted phrases can increase disk space usage. |
Question | How do stop words affect search results? |
---|---|
Answer | Stop words are common words (like "the", "a", "is") that are ignored by the search engine because they add noise and don't contribute to the meaning of the search query. You can customize the list of stop words for the fast custom index. See the search tutorial for more information. |