Featured Sites: A-Z Index

H


Newest 10 Entries

Question What is Tempcode, and how is it used in website themeing?
Answer Tempcode is a templating language used within Composr. It offers a powerful way to control the output of dynamic content and design elements on a website. It works by using:
  • Parameters: Placeholders for content passed to the template from Composr / PHP.
  • Symbols: Global functions that perform operations, calculations, or retrieve information.
  • Directives: Instructions that control the flow or logic of content, such as conditional statements and loops.
  • Language strings: References to pre-defined text stored in language files for easy translation.
  • Escaping: Ensures the content generated is properly escaped according to its use case.

Tempcode empowers theme designers to create highly customizable and dynamic websites, allowing for logic, conditional rendering, and manipulation of various website elements.
Question What are some alternatives to Photoshop for web design?
Answer While Photoshop is a popular choice, there are other excellent options available, including:
  • GIMP/GIMPShop: These free, open-source image editors provide a robust set of features comparable to Photoshop.
  • Paint.NET: This free, Windows-only software offers a user-friendly interface and essential image editing tools.
  • Corel Paint Shop Pro: A more affordable alternative to Photoshop, Corel Paint Shop Pro delivers a good balance of features and ease of use.
Question How can design elements like dominance and attention to detail improve a website?
Answer Dominance and attention to detail are key to a balanced and engaging website. Important elements can be emphasized using techniques like larger text, unique colors, and increased spacing. Conversely, less crucial elements should receive less emphasis. This interplay helps guide the visitor's eye and ensures a visually harmonious layout.

Attention to detail involves eliminating inconsistencies and distractions, such as typos, misaligned elements, and low-quality images, that can detract from the overall aesthetics and message of the website.
Question What is the importance of color schemes in website design?
Answer Color schemes are crucial as they convey emotions and brand identity. Choosing colors that align with your website's purpose can evoke desired feelings in visitors. For example, a website selling chocolates might use shades of brown to subconsciously trigger associations with chocolate. However, an environmental website would be better suited using green, aligning with pre-existing perceptions of environmentalism.

It is also important to maintain consistency with your color scheme, limiting the number of colors used to avoid a conflicting and cluttered appearance.
Question Can I use Comcode / resource IDs directly when working with the repository?
Answer Using Comcode / resource IDs directly is not recommended as they may not match between different sites. Use GUIDs instead, which Composr automatically substitutes for IDs before parsing Comcode. You can use Commandr commands like find_guid_via_id to find the GUID for specific resources.
Question What precautions should I take when using the Composr Repository?
Answer Exercise caution when working with the repository:
  • Avoid using it as the sole backup method; rely on regular database backups.
  • Work primarily under the "var" meta-filesystem and copy specific folders/files rather than the entire repository.
  • Do not use tools like "rsync" or Git on the whole repository without careful consideration.
Question What are the limitations of the Composr Repository?
Answer While powerful, the repository has limitations:
  • Automatic syndication is not performed for content added via the repository.
  • Multi-language content translations are not retained.
  • Transferring complex data schemas between staging sites may have limitations.
  • Merging separate websites into one is not supported through the repository. You should use Composr's import tool instead.
Question How can I access the Composr Repository?
Answer You can access the repository using WebDAV (non-bundled addon), which allows you to view it as a folder on your computer. Composr uses the SabreDAV PHP library for WebDAV functionality. However, please be aware that SabreDAV is deprecated and may not function correctly on newer PHP versions.
Question How is the Composr Repository structured?
Answer The repository is structured as a filesystem with various meta-filesystems mounted under a root directory. These meta-filesystems include:
  • bin: Stores Commandr scripts.
  • database: Provides access to the raw database.
  • etc: Allows access to Composr configuration options.
  • home or filedump: Provides access to the File/Media Library.
    • home contains the files in a special JSON format with metadata
    • filedump contains the raw files
  • members: Lists registered members with their settings and user groups.
  • raw or root: Provides access to the Composr installation directory.
    • raw contains the raw files without overrides, and modifying any file modifies them directly without automatic override handling
    • root contains the files with applicable overrides applied automatically, and Composr will automatically handle overrides and utilizing _custom directories when these files are modified
  • var: Contains structured website resources and content.
Question What are the benefits of using the Composr Repository?
Answer The repository offers several benefits:
  • Opacity: Provides a clear view of Composr's content and resource data.
  • Tactility: Allows easy manipulation of data through drag-and-drop operations.
  • Data transfer: Simplifies transferring data between sites.
  • Desktop application integration: Enables using text editors and file-search tools for tasks like mass search and replace.
  • Configuration management: Tracks changes to options and facilitates transfer between sites.
  • Backups: Allows backing up portions of the repository.
  • Revision control: Supports built-in and advanced revision control.
  • Filesystem for Commandr: Acts as a file system for the Commandr command line.
  • Resource API: Offers an abstract resource API for programmers.
  • API for external apps: Provides an API for mobile apps and other external applications.

Top 10 Entries

Question How are time zones handled in Composr statistics?
Answer All times in Composr statistics are displayed according to the configured website time zone, regardless of visitor or user account time zones. While this is a limitation due to pre-computation, some graphs displaying hourly stats and country filtering offer insights into local times for manual analysis.
Question What are the limitations of pre-computed statistics in Composr?
Answer Pre-computed statistics introduce certain limitations:
  • Filtering constraints: Limits filtering options to those incorporated in the data structure.
  • Historical data limitation: To maintain site stability, statistics older than 31 days aren't pre-processed. This may lead to data gaps if the system scheduler malfunctions or statistical data is manually deleted.
Question Why does Composr use pre-computed statistics?
Answer Composr generates statistics from pre-computed data for several reasons:
  • GDPR compliance: Prevents indefinite storage of raw (potentially personal) data while preserving historical statistics.
  • Computational efficiency: Avoids real-time execution of complex calculations, ensuring optimal performance.
  • Scalability: Handles vast amounts of data without performance degradation.
  • Responsiveness: Enables quick and seamless statistics browsing and filtering.
  • Data accessibility: Makes generated data readily available for other Composr components.
Question What are KPIs and how are they used in Composr?
Answer KPIs (Key Performance Indicators) are specific measurements selected for marketing analysis. In Composr, time-series graphs can be added as KPIs. They offer several benefits:
  • Quick reference: Available on the Admin Zone dashboard staff checklist.
  • Target setting: Allows setting targets against KPIs, visualized on graphs and in overview summaries.
  • Notifications: Staff members receive regular notifications regarding target achievement status.
Question How can I perform split testing in Composr?
Answer Split testing in Composr involves combining tracking codes with events. The simplest approach utilizes Tempcode:
  • Random tracking code: Choose a random tracking code from a set and activate it for the user session.
  • Conditional output: Generate different content variations based on the active tracking code.
Subsequently, you can analyze event success rates based on the assigned tracking codes, utilizing both inbuilt events and custom-created events.
Question What is the purpose of tracking codes in Composr?
Answer Tracking codes help you identify the sources driving user sessions to your website or associate specific split testing variations with users. Composr offers integrated referral tracking through various means:
  • URL parameter: The _t URL parameter can contain any custom tracking code, automatically registered by the stats addon.
  • Recommend addon: This addon automatically includes tracking codes for the referral source, referring member, and the referred page.
  • Member joining: When a referred member joins, the referring member receives points and a friend request.
  • Referrals addon: Allows manual tracking code input upon joining and facilitates a referrer reward system.
  • Stats addon: Generates graphs of tracking codes, including conversion rate measurements.
  • User lookup tool: Allows checking if a user accessed the site via a tracking code.
  • Tempcode integration: Inject tracking codes into Tempcode using symbols like {$SET_TRACKING_CODE,some code} or {$SPLIT_TEST,some code,some other code}.
Question What are the different ways to track events in Composr?
Answer Composr offers various methods for tracking events:
  • Inbuilt events: Automatically recorded for actions like form submissions, purchases, newsletter signups, etc.
  • Tempcode symbol: Use the {$LOG_STATS_EVENT,event} symbol within your templates to track events when the template is displayed.
  • JavaScript function: Employ the $cms.statsEventTrack JavaScript function to track events from within your JavaScript code.
  • HTML data attribute: Add data-click-stats-event-track="{ category: 'some event', nativeTracking: true }" to HTML elements. This method acts as a wrapper for the JavaScript function.
  • URL wrapping: Wrap URLs in links using the {$STATS_TRACK_URL,URL,event} symbol. This approach records events via a redirection script and doesn't rely on JavaScript.

The JavaScript and HTML data attribute methods can also be integrated with Google Analytics events.
Question How do I install geo-location data for Composr statistics?
Answer Geo-location data installation is usually automatic during the Composr installation process. If not, you can manually install it by navigating to Admin Zone > Audit > Site statistics > Install geolocation data. This action will reschedule the installation task. If you don't see this option, the geo-location data is already installed.
Question What are the key differences between Google Analytics and Composr statistics?
Answer While there is some overlap, Composr statistics and Google Analytics are complementary tools.

Google Analytics Pros:
  • Offers sophisticated functionality for professional marketers.
  • Integrates with other Google products like AdSense and Search Console.
  • Provides insights based on Google's marketing data, such as visitor demographics.

Google Analytics Cons:
  • Limited to web visit data unless custom programming or complex configuration is implemented.
  • Relies on JavaScript for tracking, which can be blocked by users.
  • Uses tracking cookies, raising privacy concerns and potential GDPR compliance issues.
  • Data is potentially sold to third-party data brokers or used for targeted advertising by Google.
  • Closed-source platform.

Composr Statistics Pros:
  • Server-side tracking, independent of JavaScript and browser configurations.
  • Contextual information and graphs for data beyond web visits (e.g., sales).
  • Enhanced privacy as it only uses IP addresses, session IDs, and member IDs.
  • Complete data control as it is hosted on your website.
  • Open-source addon, fully customizable.

Basic users may find Composr statistics sufficient, while expert marketers might prefer the power of Google Analytics.
Question What tools and strategies can be used for staff training and development?
Answer While Composr itself doesn't provide built-in training features, several approaches can be used for staff development:
  • Documentation & Tutorials: Utilize the extensive Composr documentation and tutorials available online to familiarize staff with the platform's functionalities.
  • Mentorship: Pair experienced staff with newcomers to provide guidance and support during the initial learning phase.
  • Private Forums & Chat: Create dedicated communication channels where staff can exchange knowledge, ask questions, and share best practices.
  • Regular Meetings: Conduct regular staff meetings to discuss updates, share information, and address any arising challenges.
  • External Resources: Leverage external resources like online courses or workshops focused on relevant skills, such as content management or community moderation.

By investing in ongoing staff training and development, communities can ensure their teams possess the necessary knowledge and skills to perform their roles effectively and contribute to the platform's overall success.