We forcefully moved to the new server and upgraded to Dragonfly CMS v10.
Please keep in mind we are working hard to get everything up and running, so please be patient.
Read/reply for issues in this forum topic /

Best regards, DJ Maze

Frequently Asked Questions ⇒ CPG Dragonfly™ CMS
Main | Search

Question
Sort: Ascending / Descending
Add New Content to the Waiting Content Block
Change Installation Locations
Delete the default theme?
Find files that contain 'something' i need to edit?

Answer
Add New Content to the Waiting Content Block

We believe in making things easier to do in CPG Dragonfly CMS, and this is one of those things we've simplified.

Simply familiarize yourself with the code of an existing file in /admin/wait, and using that code as a model, create your own file and save it as wait_MYFILE.php.

It's important that you include 'wait_' in your filename!

As always, if you need assistance with this, please post in the forums. We'd be glad to help!


Change Installation Locations

Changing from Root to a Sub-directory
admin.php?op=settings
Site Domain: site.com
Site Path: /folder/

admin.php?op=settings&s=2
Cookie domain: site.com
Cookie Path: /folder/
Admin cookie name
Member cookie name

Failing that, change it in phpmyadmin, table cms_config_custom
server:domain - site.com
server:path - /folder/
cookie:domain - site.com
cookie:path - /folder/

Changing a Sub-directory to a Sub-domain
admin.php?op=settings
Site Domain: sub.site.com
Site Path: /

admin.php?op=settings&s=2
Cookie domain: sub.site.com
Cookie Path: /
Admin cookie name
Member cookie name

Failing that, change it in phpmyadmin, table cms_config_custom
server:domain - sub.site.com
server:path - /
cookie:domain - sub.site.com
cookie:path - /

Changing Servers/Host
Make a copy of all your files in their current structure.
Make a copy of your database.
Upload your files to the new hosting server, making sure to keep everything in the correct file structure.
Create your new database and import the copy of your database you made.
If a domain change, using phpmyadmin, find table cms_config_custom, change the following,
- server:domain - site.com
- server:path - /
- cookie:domain - site.com
- cookie:path - /
You will also need to edit database name, user, password in root/includes/config.php

In all cases, when you use phpmyadmin, you will need to clear your website "cache" folder.
Specifically, delete config_MAIN_CFG.php from the cache folder.


Delete the default theme?

No, you can't.

The new theme template system using the "default" theme if there are any templates or files missing from your current theme. It makes managing add-on modules, such as mKnow, DownloadsPro, etc much easier, because you don't have to copy those templates to each theme installed on your server - just one copy under default.
What would be the best solution is a way to make default not show in the preview theme selection.

Change line 36 in blocks/block-Preview_theme.php

if (!ereg('[.]', $file) && file_exists("themes/$file/theme.php") && ($file != 'default')) {


Find files that contain 'something' i need to edit?

Before you ask us for the 1000th time which file, please get familiar with Windows incredible search functionality.

- In Windows OS browse to your Dragonfly CMS source
- Press Ctrl+F, this opens the Windows SEARCH functionality
- fill inside the source box (NOT the file name box): mainside
- click on [search]

now look in those files.

If you didn't find any file that contains "mainside" then we know you are using Windows FreakingXP™.
Proceed with one of the following to fix annoying XP:

1. Get rid of the ugly dog:
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState] "Use Search Asst"="no"

2. Fix searching inside all file types (including html, php, inc, etc. etc.)
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex] "FilterFilesWithUnknownExtensions"=dword:00000001

3. Not enough?


User Info

Welcome Anonymous



(Register)
Community

Support for DragonflyCMS in a other languages:

Deutsch
Español