Features: A-Z Index
A
B
C
D
E
F
G
I
L
M
N
P
Q
R
S
T
W
Newest 10 Entries
Question | How do I embed content from other modules into a Comcode page? |
---|---|
Answer | You can use various blocks to embed content from different modules:
|
Question | What is the difference between blocks and boxes in Composr? |
---|---|
Answer | While both terms may seem similar, they have distinct meanings in Composr:
In practice, blocks often place their content within a box, but this isn't a requirement / standard. |
Question | Can I customize the appearance of blocks? |
---|---|
Answer | Yes, you can customize the appearance of blocks by editing the associated templates and CSS. Each block typically has a corresponding template file (e.g., BLOCK_MAIN_NEWS.tpl for the main_news block) that controls its HTML structure. You can modify this template to change the layout and styling of the block's output. An easy way to do this is through the template editor in Admin Zone > Style > Themes, and click edit templates for the relevant theme. |
Question | How do I add dynamic content to my Comcode pages? |
---|---|
Answer | Composr utilizes "blocks" to embed dynamic content and functionality within Comcode pages. These blocks can range from displaying recent forum posts to showing information about the logged-in user. To add a block, you can use the "block construction assistant" accessible via a button above the editor. This tool provides a user-friendly way to:
|
Question | How do I create a new Comcode page? |
---|---|
Answer | Composr provides two easy ways to create a new Comcode page: Method 1: Direct URL Entry Type the desired URL of your new page into your browser's address bar. Since the page doesn't exist yet, Composr will present you with a 404 error and a link to create it. Click the link to open the Comcode page editor. Method 2: Admin Zone Navigate to Admin Zone > Content > Pages (Comcode pages). Scroll down to the list of existing pages and enter the name of your new page using the ":" (page-link) format. For example, a new page in the Welcome zone named "about" would be entered as ":about", or a new page in the "site" zone named "foobar" would be entered as "site:foobar". |
Question | What are Comcode pages? |
---|---|
Answer | Comcode pages are standalone content pages within the Composr system that you can create and edit using either a WYSIWYG editor, a simple markup language called Comcode, or a combination of both. Think of them as documents within your website, offering flexibility beyond the structured content provided by modules like forums or news. You can use them to build landing pages, about us sections, contact pages, and more. |
Question | Can I create custom Comcode tags? |
---|---|
Answer | Yes, you can create custom Comcode tags through the Admin Zone > Setup > Custom Comcode. This allows you to add unique functionality or wrap specific HTML code (especially if you use a certain block of HTML frequently on your site) for easier use. Custom Comcode tags can be tailored to your needs and even include your own parameters. You can also specify if the Comcode is dangerous so only those with elevated privileges can use it. |
Question | What are the security considerations when using Comcode? |
---|---|
Answer | Composr has a multi-tiered security system for Comcode. HTML code is filtered based on user permissions to prevent XSS attacks. Content is parsed with different credentials depending on who is editing or adding it, ensuring users can't elevate their privileges by modifying existing content. |
Question | What is oEmbed and how does it work with Comcode? |
---|---|
Answer | oEmbed is a system that allows you to embed content from other websites simply by pasting its URL. When you paste a supported link in Comcode, oEmbed will automatically embed the content for you in a nicely-formatted box. For example, pasting a YouTube video link will embed the video directly into your content so it can be played on your website. |
Question | How do I add attachments to my content? |
---|---|
Answer | Composr has an integrated attachment system. You can upload files, like images or documents, via the attachments section (or the image button if using the WYSIWYG editor with simplified attachments UI), and they will be automatically added to your Comcode using the attachment tag. You can then move this tag within your content to position the attachment as needed. |
Top 10 Entries
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. |
Question | How can I improve my search results? |
---|---|
Answer | Here are some tips for improving search results:
|
Question | What is the fast custom index and why should I use it? |
---|---|
Answer | The fast custom index is Composr's own search engine, designed to be faster and more efficient than MySQL full-text search, especially for large websites and filtered searches. Benefits of the fast custom index:
Downsides of the fast custom index:
|
Question | Can I filter my search results? |
---|---|
Answer | Yes, you can filter your search results by:
|
Question | What is the difference between natural and boolean searching? |
---|---|
Answer | Natural search is a more relaxed approach where you type in your search terms and Composr tries to find the most relevant results, even if they don't contain all the words. It's like a Google search. Boolean search requires more precision and uses operators like "+", "-", and quotation marks to define exactly what you're looking for. For example, searching for "+car -maintenance" will only return results that contain the word "car" but not "maintenance". |
Question | How do I search my Composr website? |
---|---|
Answer | There are a few ways to search your Composr website:
|
Question | How do I mark correct answers in a quiz? |
---|---|
Answer | For questions with predefined answers, you can mark correct answers by adding [*] after the answer. If no answer is marked correct, the question will require manual marking. You can also use the [UNMARKED] tag after a question to exclude it from scoring. |
Question | What is the input syntax for quiz questions? |
---|---|
Answer | Quiz questions are inputted in blocks, separated by blank lines. The first line is the question, followed by potential answers on subsequent lines. Different question types are indicated by tags after the question, such as [MULTIPLECHOICE], [MULTIMULTIPLE], [LONG], [SHORT], and [SHORT_STRICT]. |