Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home/dh_cwm/corywebbmedia.com/libraries/motif/less.php on line 5356

Deprecated: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /home/dh_cwm/corywebbmedia.com/libraries/motif/less.php on line 8075

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/dh_cwm/corywebbmedia.com/libraries/motif/less.php on line 9686

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/dh_cwm/corywebbmedia.com/libraries/motif/less.php on line 9694

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/dh_cwm/corywebbmedia.com/libraries/motif/less.php on line 9699

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/dh_cwm/corywebbmedia.com/libraries/motif/less.php on line 9705

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/dh_cwm/corywebbmedia.com/libraries/motif/less.php on line 9715

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/dh_cwm/corywebbmedia.com/libraries/motif/less.php on line 9718

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/dh_cwm/corywebbmedia.com/libraries/motif/less.php on line 9738

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/dh_cwm/corywebbmedia.com/libraries/motif/less.php on line 9743

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/dh_cwm/corywebbmedia.com/libraries/motif/less.php on line 9764

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/dh_cwm/corywebbmedia.com/libraries/motif/less.php on line 9771
Documentation - Cory Webb Media

Add a CW Quick Map module to any page(s) on your site

  1. In the Joomla administrator, go to Extensions > Modules and click "New" to add a new module.
  2. Select the CW Quick Map module type.

Parameters Explained

  • Map Markers: A Joomla repeatable field that enables you to add multiple map markers. In the pop-up window, click a green plus button to add a new map marker, or a red minus button to remove a map marker.
    • Caption: Enter a caption for each map marker
    • Latitude: Enter the latitude coordinate for each map marker. *
    • Longitude: Enter the longitude coordinate for each map marker. *
  • Center Latitude: Enter the latitude coordinate for the center of the map. *
  • Center Longitude: Enter the longitude coordinate for the center of the map. *
  • Zoom Level: Enter the initial zoom level of the map.
  • Width: Enter the width of the map. Leave this blank if you want to control the map width with your own CSS.
  • Height: Enter the height of the map. Leave this blank if you want to control the map height with your own CSS.

Creating a Template Override

If you want to override the standard layout, you have to create a template override as follows:

  1. Copy /modules/mod_cw_quickmap/default.php to /templates/{YOUR_TEMPLATE}/html/mod_cw_quickmap/default.php **
  2. Modify as needed

* Note: You can get latitude and longitude coordinates at http://www.latlong.net/
** Note: If you want to have multiple template overrides, you can create multiple copies of default.php, but give it different names. Each new override will be available in as an option in the Alternate Layout parameter in the Advanced parameter tab in the module.

CW Installer is a plugin for Joomla that allows you to download updates for CW Extensions from the Joomla administrator if you have the correct download ID. You can not use the Joomla updater for CW extensions without first configuring CW Installer. CW Whatever and CW So Meta are available without a membership, and therefore do not require CW Installer to use the Joomla updater.

Step 1:Installation

CW Installer is automatically installed with CW Quick Pages, CW Quick Blocks (component and module), and CW Content Image.

Step 2: Configuration

  1. In the Joomla administrator, go to the plugin manager at Extensions > Plugins
  2. Locate and open the "Installer - CW Extensions" plugin
  3. The only parameter is the Download ID parameter. Each CW Joomla Extensions member has a unique download ID, which can be obtained at https://corywebbmedia.com/account. Enter your unique download ID in the space provided.
  4. Set the Status to Published.
  5. Click Save & Close.

CW Top Secret is a plugin for Joomla that prevents access to a site by unauthenticated users except for a designated set of components or menus.

Step 1:Installation

  1. Login to your Joomla administrator
  2. Go to Extensions > Manage, and go to the "Upload Package File" tab
  3. Click the "Browse" button to locate your CW Top Secret installer package
  4. Click the "Upload and Install" button to finish isntallation.

Step 2: Configuration

  1. In the Joomla administrator, go to the plugin manager at Extensions > Plugins
  2. Locate and open the CW Top Secret plugin
  3. Note: All parameters are optional.
  4. Select whether or not you want to use the first whitelist menu option.
  5. If you selected "Yes" to using the first whitelist menu, select the first menu you would like to whitelist. Any menu item in this menu will be whitelisted, meaning that the user's access to that menu item will not be blocked by CW Top Secret.
  6. Repeat the previous steps for the second and third whitelist menu options. You may whitelist up to 3 menus.
  7. Enter a comma-separated list of components you would like to whitelist. The user's access to pages rendered by these components will not be blocked by CW Top Secret. The Joomla users component is already added here by default, because you want the user to be able to access the login form.
  8. Enter a comma-separated list of components you would like to blacklist. The user's access to these components will be blocked regardless of whether or not the components have menu items in the whitelisted menus. Note that this only applies to unauthenticated users.
  9. Select whether or not you want CW Top Secret to only run on the frontend of the site. Select "Yes" to ignore the administrator and only run on the front end.
  10. Select the menu item to which you would like to redirect users whose access is denied.
  11. Enter a message to be displayed to users when they are redirected because their access is denied.
  12. Click Save & Close.

CW So Meta (short for "Social Meta") is a plugin for Joomla that automatically adds social meta tags to every page on your site.

Step 1:Installation

  1. Login to your Joomla administrator
  2. Go to Extensions > Manage, and go to the "Upload Package File" tab
  3. Click the "Browse" button to locate your CW So Meta installer package
  4. Click the "Upload and Install" button to finish isntallation.

Step 2: Configuration

  1. In the Joomla administrator, go to the plugin manager at Extensions > Plugins
  2. Locate and open the CW So Meta plugin
  3. Note: All parameters are optional.
  4. Select a default image
  5. Enter the website's or company's Twitter handle, including the "@" symbol. (Ex: @corywebb)
  6. Enter the author's Twitter handle, including the "@" symbol. (Ex: @corywebb) Note that it is not currently possible to have a different Twitter handle for each author, as Joomla's default user profile does not contain a Twitter handle field.
  7. Enter your numeric Facebook App ID and/or numeric Facebook Admins ID to enable Facebook Insights. More Information on Facebook Insights.
  8. Set the Status to Published.
  9. Click Save & Close.

That's all there is to it. Just install and configure, and the plugin does the rest.

CW Whatever Component

Step 1: Create a template override

The first thing you want to do is create a template override for the whatever component's whatever view. Here's how you do that:

  1. In /templates/{YOUR_TEMPLATE}/html, create a folder called com_cw_whatever.
  2. In the com_cw_whatever folder you just created, create a folder called whatever. This folder will contain your template override files.
  3. In the whatever folder you just created, create a PHP file and name it whatever you want to name it.
  4. Add your own custom script to the PHP file you created. Note that the "Whatever" parameter in the menu item is aviailable to use as $this->whatever in your PHP script.

Step 2: Create a CW Whatever menu item

  1. In the Joomla administrator, create a new menu item to render your new CW Whatever script. Set the menu item type to CW Whatever > Whatever
  2. In the menu item's Whatever tab, select your template override in the Script parameter.
  3. [Optional] In the menu item's CW Whatever tab, you can set the Whatever parameter to whatever you want it to be.

CW Whatever Module

Step 1: Create a template override

The first thing you want to do is create a template override for the whatever module. Here's how you do that:

  1. In /templates/{YOUR_TEMPLATE}/html, create a folder called mod_cw_whatever.
  2. In the mod_cw_whatever folder you just created, create a PHP file and name it whatever you want to name it.
  3. Add your own custom script to the PHP file you created. Note that the "Whatever" parameter in the module is aviailable to use as $whatever in your PHP script

Step 2: Add a CW Whatever module to any page(s) on your site

  1. In the Joomla administrator, go to Extensions > Modules and click "New" to add a new module.
  2. Select the CW Whatever module type.
  3. Select the layout you wish to use for the module. This will have the same name as the template override you created in step 1.
  4. [Optional] You can set the Whatever parameter to whatever you want it to be.

That's all there is to it. This component and module were designed to do as little as possible and be as simple as possible to enable you to add your own custom PHP scripts.