for masters of opencart - database

I have a website with a database, I want to open a new site with the same products, but distinguished with external and internal designs,
please tell me how to make changes in the database, how to import it and when install template?

Related

Moving all Joomla site's data to a new-clean installed one?

Can I move all current Joomla site's data (articles, urls, menus,contacts, users. extensions+ their content) to a new installed joomla without loosing anything?
my website has lot of problems and I want to install a fresh Joomla and then import all of the old data to it.
You could use SP Transfer or similar to transfer core content (articles, categories, menus, contacts, users etc) from one Joomla installation to another but there's no easy way to transfer extensions except perhaps to reinstall them and copy across any relevant database tables.
Another approach might be to try the "Reinstall Joomla core files" option in Components -> Joomla Update (run a backup using Akeeba Backup or similar before trying this step) to reset Joomla.

Migrating users from DotNetNuke to Orchard CMS

I have an existing site built on DotNetNuke, but we are considering a migration to Orchard CMS. I would like to avoid requiring our users to re-register on the new Orchard site, but have not been able to find any tools or information for migrating users. My biggest concern is dealing with hashed passwords.
Does anyone have experience migrating users between these two CMSs?
It depends on the password encryption that was used. Some encryption types can be decrypted and some cannot.
I wrote a DNN module that would could decrypt passwords because the company wanted to set up users on another website. They wanted to use the same username/password and make it transparent for the employees. You could modify this to just write all the usernames/passwords to a database table or file.
It was based off code like this: DNN Decrypting Password or Another SqlMembership Decryption article
You could also buy a module off the DNN store to export users: Bulk User Export
But, none of these methods will work if your site is using a one-way hashing algorithm. The only thing you can do if that is the case is import the users with a set password.
After you get the users exported, you just have to import them into Orchard via some importing tool like: Orchard Import

How does writing to a database work when a web app uses multiple databases like Sitecore has

In Sitecore you basically have three databases. The Core, Master and Web database.
Simply put the Core database holds all Sitecore settings. The Master database is the authoring database. So it contains all versions of any content.
Then in Sitecore you can "publish" the contents and it will publish the latest version of each content to the Web database.
So suppose I have a website with a news page. And a user is able to edit a news item from the web site (so not through the CMS). How would the database then get updated when it's set up like this?
It would probably update the Web database, but then when I go into the CMS I don't see the latest changes, since the CMS reads from the Master database, right?
So does that mean that it should write twice? Once to the Web database and once to the Master database?
Can anyone tell me how this works in Sitecore or the like?
The reason I'd like to know this is becasue I'm thinking of creating a similar database setup. And I'm just not sure how to solve this issue.
When you have items that needs to be updated by the website visitor, you need to use the SitecoreService SOAP webservice or create your own custom webservice that runs on the Master-instance and triggers a publish after updating.
Well, Sitecore has a publishing step. When the user publishes in Sitecore, it updates the Web database at that point. If you want to build a similar system, I would simply store all versions of an item in the Master database and only when the user chooses to publish, copy the latest version to the Web database.
If your site
- generates a lot of comments
- generates the comments continuously
- uses multiple content delivery servers
- requires CMS users to manage them
I would not store the comments as content items.
The reason is HTML cache and publishing behavior.
On high volume site you'd most certainly use html caching to achieve best possible performance. If a publish is required to show comments, you'd need frequent publish actions and thus html caches are cleared often.
You don't wan't that :-)
Modeling after the DMS implementation is the safest (not cheapest and Datatables isn't something I recommend these days), storing stuff in a separate database, possibly using queuing to prevent an overload if things get busy..

Joomla! 2.5 use login data from another database

I have a hard question. I'd like the joomla login does not use its own database for users/password but I want to use my database users with my table fields, my passwords etc..
I don't know from where start, I thought I could edit database request for login to my db or create a little script to automatically add the users on joomla database.
I tried to see components/com_users/views/login/tmpl/default_login.php but it seems that there is nothing.
Can someone help me figure out what to change?
Maybe the simple thing is import my database users into database user joomla, is there any plugin or something else that you know?
p.s. I use Clarion theme build on Gantry framework, Joomla! 2.5.6 Stable, PHP 5.2.17
I would suggest that you find or create an authentication plugin that does this for you. Joomla can support multiple authentication systems.
Have a look at creating an Authentication Plugin for Joomla 1.5. The basic idea is described there.

WordPress Plugin Database per User

I am trying to develop a store locator script. May exist for WordPress however, after they are installed, no matter who logs into WordPress, each user is adding/deleting entries inside that one database of addresses.
I would like to have it so that each user belongs to a group/company. When they login to WordPress, they can only see their entries in the database.
What would be the best way to implement this?
Implement the stores as custom post types and do not give your regular users the capability edit_others_posts.
WordPress will then not show stores from other users, you don't have to do anything else.

Resources