Tips & Tricks

Tips & Tricks

To edit navigation links, you can go to app/views/elements/navigation_links.ctp. To add your link in this format-

 <?php echo $html->link("Page name",'/your_page_url')?> 

 

Changing rating scale to 10

In /app/models/review.php change value of const RATING_MAX_VALUE to 10

In /app/views/helpers/rating.php RatingHelper::displaychange() 'max_stars' value to 10

In your app/webroot/css/common.css file change width to 150px of css class user_rating_star_base and editor_rating_star_base

You would also be required to make changes in : /app/views/helpers/geo_map.php and /app/views/elements/listings.ctp so that the div created to display $userReviewCount (in both files) should have margin-left:155px in place of margin-left:80px

 

How do I change my star rating images?

To change star rating images, go to app\webroot\images folder and replace current rating star images with your own images. Please note If dimensions of your new star images is different from our existing star images, you must adjust width of class user_rating_star_base and editor_rating_star_base in common.css file accordingly.

 

Display all rateable fields on listings view page, reviews index page, and users' review index page

Here are the changes you have to do:

Go to app/views/elements/review.ctp

and find this line:

if ($presentUrl == 'reviews-view' || count($ratableFields) == 1)

and change it to:

if ($presentUrl == 'reviews-view' || $presentUrl == 'reviews-index' || count($ratableFields) == 1)

How do I edit dimensions of Map on listing view page

You can change dimension of map from app/views/elements/listing_view_map.ctp file from this line:

<?php
$d = array('width' => "520",'height'=>'200');
?>

My website is very slow. What should I do?

We've written down a new article on how to optimize your website, visit Settings for Optimal Performance.

How do I improve SEO of my website?

Although search engine friendly URLs are there from the very first release of Crowd Vox. Crowd Vox 1.1 comes with few SEO features built-in, To take a look at them visit SEO Features.

How do I setup my website like your Business website demo ?

In our business website demo we have placed various modules and have created custom classes in css file and then assigned those classes to each module from advanced tab that is visible when you add a new module. However, if you want to have same exact placement of modules and categories like our business/yelp demo, you can download the file attached with this topic and follow the instructions mentioned below-

- Change the website's theme to "Business" from admin panel,

- Go to Phpmyadmin and truncate/empty your existing database and import this sql file on your existing DB Tables,

- Upload geo_images folder in app/webroot folder, and

- Upload category_icons folder in app/webroot/uploads folder

How do I change my DB from InnoDB to MyISAM

1. Login to phpmyadmin

2. Click on sql tab and paste content below in textarea and press go.

ALTER TABLE ads ENGINE = MyISAM; ALTER TABLE assets ENGINE = MyISAM; ALTER TABLE asset_comments ENGINE = MyISAM; ALTER TABLE attachments ENGINE = MyISAM; ALTER TABLE blocked_items ENGINE = MyISAM; ALTER TABLE comments ENGINE = MyISAM; ALTER TABLE config ENGINE = MyISAM; ALTER TABLE contents ENGINE = MyISAM; ALTER TABLE content_scopes ENGINE = MyISAM; ALTER TABLE csv_import_files ENGINE = MyISAM; ALTER TABLE custom_fields ENGINE = MyISAM; ALTER TABLE dynamic_pages ENGINE = MyISAM; ALTER TABLE eav_records ENGINE = MyISAM; ALTER TABLE eav_values_array ENGINE = MyISAM; ALTER TABLE eav_values_array_elements ENGINE = MyISAM; ALTER TABLE eav_values_boolean ENGINE = MyISAM; ALTER TABLE eav_values_date ENGINE = MyISAM; ALTER TABLE eav_values_datetime ENGINE = MyISAM; ALTER TABLE eav_values_float ENGINE = MyISAM; ALTER TABLE eav_values_int ENGINE = MyISAM; ALTER TABLE eav_values_matrix ENGINE = MyISAM; ALTER TABLE eav_values_other ENGINE = MyISAM; ALTER TABLE eav_values_string ENGINE = MyISAM; ALTER TABLE eav_values_text ENGINE = MyISAM; ALTER TABLE eav_values_varchar ENGINE = MyISAM; ALTER TABLE email_templates ENGINE = MyISAM; ALTER TABLE facebook_users ENGINE = MyISAM; ALTER TABLE feature_histories ENGINE = MyISAM; ALTER TABLE fieldsets ENGINE = MyISAM; ALTER TABLE geocodes ENGINE = MyISAM; ALTER TABLE guests ENGINE = MyISAM; ALTER TABLE hits ENGINE = MyISAM; ALTER TABLE languages ENGINE = MyISAM; ALTER TABLE listings ENGINE = MyISAM; ALTER TABLE listing_assets ENGINE = MyISAM; ALTER TABLE listing_claims ENGINE = MyISAM; ALTER TABLE listing_plans ENGINE = MyISAM; ALTER TABLE listing_types ENGINE = MyISAM; ALTER TABLE listing_type_fieldsets ENGINE = MyISAM; ALTER TABLE list_categories ENGINE = MyISAM; ALTER TABLE map_icons ENGINE = MyISAM; ALTER TABLE messages ENGINE = MyISAM; ALTER TABLE meta_information ENGINE = MyISAM; ALTER TABLE modules ENGINE = MyISAM; ALTER TABLE module_visibilities ENGINE = MyISAM; ALTER TABLE module_visibility_params ENGINE = MyISAM; ALTER TABLE newsletters ENGINE = MyISAM; ALTER TABLE orders ENGINE = MyISAM; ALTER TABLE plans ENGINE = MyISAM; ALTER TABLE rateable_fields ENGINE = MyISAM; ALTER TABLE reported_items ENGINE = MyISAM; ALTER TABLE reviews ENGINE = MyISAM; ALTER TABLE review_comments ENGINE = MyISAM; ALTER TABLE schedules ENGINE = MyISAM; ALTER TABLE sent_logs ENGINE = MyISAM; ALTER TABLE smf_api ENGINE = MyISAM; ALTER TABLE subscribers ENGINE = MyISAM; ALTER TABLE tagged_items ENGINE = MyISAM; ALTER TABLE tags ENGINE = MyISAM; ALTER TABLE test_emails ENGINE = MyISAM; ALTER TABLE threads ENGINE = MyISAM; ALTER TABLE transactions ENGINE = MyISAM; ALTER TABLE urls ENGINE = MyISAM; ALTER TABLE users ENGINE = MyISAM; ALTER TABLE user_favorites ENGINE = MyISAM; ALTER TABLE user_fields ENGINE = MyISAM; ALTER TABLE votes ENGINE = MyISAM;