Category Archives: ActiveCollab

“Always use the selected program to open this kind of file” is gray

How can I enable “Always use the selected program to open this kind of file” option in Open With dialog box?

—————

Sorry for this reply I realise this topic has been asleep for 3 months but I have recently discovered how to fix a similar problem on my PC and hope it will do the same for the original poster.
Continue reading “Always use the selected program to open this kind of file” is gray

Advertisements

Enabling DreamWeaver to search through INI and CSV or other Extensions

* Dreamweaver CS5 on Windows Seven 7:
C:\Users\woshka\AppData\Roaming\Adobe\Dreamweaver CS5\en_US\Configuration
* Dreamweaver CS3 on Windows Vista:
C:\Users\[username]\AppData\Roaming\Adobe\Dreamweaver 9\Configuration
* Dreamweaver 8 on Windows Vista:
C:\Users\[username]\AppData\Roaming\Macromedia\Dreamweaver 8\Configuration
* Dreamweaver CS3 on Windows XP:
C:\Documents and Settings\[username]\Application Data\Adobe\Dreamweaver 9\Configuration
* Dreamweaver 8 on Windows XP & 2000:
C:\Documents and Settings\[username]\Application Data\Macromedia\Dreamweaver 8\Configuration
* Dreamweaver CS3 on Mac OS X:
Mac HD:Users:[username]:Library:Application Support:Adobe:Dreamweaver 9:Configuration
* Dreamweaver 8 on Mac OS X:
Mac HD:Users:[username]:Library:Application Support:Macromedia:Dreamweaver 8:Configuration
———
Open code view:
* Dreamweaver CS5 on Windows Seven 7:
C:\Program Files\Adobe\Adobe Dreamweaver CS5\configuration\DocumentTypes\MMDocumentTypes.xml
VD : Add new 1 extension less lên css extension :
+ Tìm id=”css”, thêm như sau :
<documenttype id="CSS" internaltype="Text" winfileextension="css,less” macfileextension=”css,less” file=”Default.css” writebyteordermark=”false” mimetype=”text/css” >
Note: Dreamweaver CS5.5 users also need to do this for C:\Users\\AppData\Roaming\Adobe\Dreamweaver CS5.5\en_US\Configuration\DocumentTypes\MMDocumentTypes.xml

Rewrite URL witth ActiveCollab

By default, activeCollab will use URL-s containing /public/index.php in order to avoid having mod_rewrite as a system requirement. If, from some reason, this system does not work (you get “No input file specified error” for instance) or you just want to have 100% clean URL, then please follow the instructions bellow.

Create a file named .htaccess at the folder where activeCollab is installed, and add these lines:

Options -Indexes

  RewriteEngine On

  RewriteCond %{REQUEST_FILENAME} -f [OR]
  RewriteCond %{REQUEST_FILENAME} -d
  RewriteRule ^(.+) - [PT,L]

  RewriteRule ^projects_icons/(.*)$ public/projects_icons/$1 [L]
  RewriteRule ^avatars/(.*)$ public/avatars/$1 [L]
  RewriteRule ^logos/(.*)$ public/logos/$1 [L]
  RewriteRule ^thumb.php$ public/thumb.php [L]
  RewriteRule ^captcha.php$ public/captcha.php [L]
  RewriteRule ^$ public/index.php [L]
  RewriteRule ^(.*) public/index.php?path_info=$1 [L]

Now open config/config.php and update value of ROOT_URL to exclude /public from the end. If it was:

define('ROOT_URL', 'http://projects.example.com/public');

make it:

define('ROOT_URL', 'http://projects.example.com');

After this declaration (not before, it will not work), add the following three lines:

define('URL_BASE', ROOT_URL . '/');
define('ASSETS_URL', ROOT_URL . '/public/assets');

Find following line:

define('PATH_INFO_THROUGH_QUERY_STRING', true);

and remove or comment it. To comment a line in PHP configuration file, just add // in front of it:

// define('PATH_INFO_THROUGH_QUERY_STRING', true);