multiple sites multiple cgbolgs question

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
1kgreg
New Member
New Member
Posts: 9
Joined: Mon Jun 24, 2013 1:38 pm

multiple sites multiple cgbolgs question

Post by 1kgreg »

Hello everyone, i was looking for your thoughts on a project im working, I currently have a CMSMS site that uses CGBlogs (great mod!) however i am now charged with setting up an alomost similar site for the same people.

How would other more experienced Devs perform this?

1 Mulitple instances of CMMS in the same dir under group title such as..
ww.web.com/company/CMSMS1
ww.web.com/company/CMSMS2

2 Single instance of CMSMS with multiple modified CGBlogs running under the single instance ?

1 seems easier, however the feusers would have to log in to each seperate instances and would seem redundant

2 seems more coherent under the one umbrella, however im not sure how much i would have to change in the CGBlogs module to make this work.

Any critism or advice is welcome, i just want as much for knowledge as possible to prevent more work in the future..

Also as a side note i belive i would have to modify the search module work under each instance of Blog and seperate it from site wide Data... i just thought of that while i was typing.. thanks again
psy
Power Poster
Power Poster
Posts: 463
Joined: Sat Jan 22, 2005 11:19 am

Re: multiple sites multiple cgbolgs question

Post by psy »

I once made the mistake of creating multiple instances of CGBlog under one CMSMS install. Setting it up was fiddly with changing the module names, database tables, etc.

Then whenever CGBlog was upgraded, I had to go through the whole process again.

My advice is don't go down this path.

Maybe have one instance of CGBlog and use categories to identify each company, eg:

Company 1
- sub-cat 1
- sub-cat 2
- sub-cat 3

Company 2
- sub-cat 1
- sub-cat 2
- sub-cat 3

Company 2
- sub-cat 1
- sub-cat 2
- sub-cat 3

Then the admin user would only need to ensure each article is assigned to the correct company and sub-category.
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: multiple sites multiple cgbolgs question

Post by JohnnyB »

If it is for the same client, using the same domain, and the same editors, then I would keep it all under one roof (#2).

You can use categories to control the article locations. Or, you can even do it with custom field definitions. Either way, you will need to do some Smarty logic somewhere in the templates, and search templates if you need to keep things very separate on the frontend.


The other thing I've done is forked a module if I need more than one instance of it to server two very different purposes.

Then you could have a CGBlog and a fork of that running under the same site. Of course, you are responsible for keeping the fork up to date, maintained, and will not receive any support in the forums for it. And, it can be a pain to sort out any issues etc., that result from forking it.

Or, try the News module that comes with the CMS. It has many of the same features as CGBlog now and may meet the needs you have.
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: multiple sites multiple cgbolgs question

Post by Dr.CSS »

The biggest difference between News and CGBlog is that news articles can only have, be under, one category, CGBlog articles can have multiple categories...
1kgreg
New Member
New Member
Posts: 9
Joined: Mon Jun 24, 2013 1:38 pm

Re: multiple sites multiple cgbolgs question

Post by 1kgreg »

psy wrote:I once made the mistake of creating multiple instances of CGBlog under one CMSMS install. Setting it up was fiddly with changing the module names, database tables, etc.

Then whenever CGBlog was upgraded, I had to go through the whole process again.

My advice is don't go down this path.

Maybe have one instance of CGBlog and use categories to identify each company, eg:

Company 1
- sub-cat 1
- sub-cat 2
- sub-cat 3

Company 2
- sub-cat 1
- sub-cat 2
- sub-cat 3

Company 2
- sub-cat 1
- sub-cat 2
- sub-cat 3

Then the admin user would only need to ensure each article is assigned to the correct company and sub-category.
I thought about doing this, however each group needs to be emailed separately when articles are updated, and the emails need to be labeled separately...

its strange but the way im doing this is the first set of articles are for one group to read and stay abreast of and the second is for the first group to send articles back to the other..
1kgreg
New Member
New Member
Posts: 9
Joined: Mon Jun 24, 2013 1:38 pm

Re: multiple sites multiple cgbolgs question

Post by 1kgreg »

i wonder, does anyone know of a module that gives options during installations? Im just spit ballin here, but if i could mod, my install version of cgblogs so that when it is installed i could have the option of changing the table names, and lang profiles, then each install would be a unique instance.... i really dont need to update CMSMS, once its installed it will be basic and functional, its not trying to attract customers, just keep different groups informed of different info..
psy
Power Poster
Power Poster
Posts: 463
Joined: Sat Jan 22, 2005 11:19 am

Re: multiple sites multiple cgbolgs question

Post by psy »

ListIt2 (aka ListItExtended)
Doesn't happen during install but you can create as many instances (custom modules) as you like and you can make your custom modules behave similarly to CGBlog.
Post Reply

Return to “The Lounge”