Limit Number of Pages In Site
- topwebs
- Joomla! Enthusiast
- Posts: 211
- Joined: Wed Sep 06, 2006 1:14 pm
- Location: St Louis, MO
- Contact:
Limit Number of Pages In Site
I would like to be able to limit the number of pages in a Joomla site. For example, one site may have a limit of 50 content pages and another would have a limit of 100 pages. Anybody have an idea, how I could enforce such limits? Would probably have something to do with counting the rows in the content table and not allowing over the limit.
Dan Walker - Web Designer & Developer @ Top Webs Network
Custom Joomla & Wordpress Websites
www.TopBusinessWebsites.com
www.TopChurchWebsites.com
Custom Joomla & Wordpress Websites
www.TopBusinessWebsites.com
www.TopChurchWebsites.com
-
- Joomla! Intern
- Posts: 72
- Joined: Tue May 26, 2009 7:55 pm
Re: Limit Number of Pages In Site
I'd recommend a Content Plugin, run it after Content is saved, give the plugin a parameter[maxContent] and check for the number of Approved/Published articles. If the number if published items is greater than maxContent, than unpublish the article being saved. That way you can have 75 content items, but only 50 can be "active"
http://docs.joomla.org/Reference:Conten ... gin_System
http://docs.joomla.org/Reference:Conten ... gin_System
- tusker
- Joomla! Ace
- Posts: 1075
- Joined: Tue Dec 25, 2007 2:15 pm
- Location: Baroda - India
- Contact:
Re: Limit Number of Pages In Site
this can be done with various ways but what are your requirements exactly. I mean why you want to limit it to a certain number?
ONE WORLD OPEN WORLD - WAR TODAY GIVE PEACE A CHANCE
http://indiavoice.info - India News & Information Portal
http://indiadaily.indiavoice.info - India Daily Infotainment
(Powered by Joomla!)
http://indiavoice.info - India News & Information Portal
http://indiadaily.indiavoice.info - India Daily Infotainment
(Powered by Joomla!)
- topwebs
- Joomla! Enthusiast
- Posts: 211
- Joined: Wed Sep 06, 2006 1:14 pm
- Location: St Louis, MO
- Contact:
Re: Limit Number of Pages In Site
We're thinking about offering free sites with a limited number of pages, as a way to introduce people to Joomla and our services.tusker wrote:this can be done with various ways but what are your requirements exactly. I mean why you want to limit it to a certain number?
Dan Walker - Web Designer & Developer @ Top Webs Network
Custom Joomla & Wordpress Websites
www.TopBusinessWebsites.com
www.TopChurchWebsites.com
Custom Joomla & Wordpress Websites
www.TopBusinessWebsites.com
www.TopChurchWebsites.com
- tusker
- Joomla! Ace
- Posts: 1075
- Joined: Tue Dec 25, 2007 2:15 pm
- Location: Baroda - India
- Contact:
Re: Limit Number of Pages In Site
you need some multiblogging component that way you can manage it better.
ONE WORLD OPEN WORLD - WAR TODAY GIVE PEACE A CHANCE
http://indiavoice.info - India News & Information Portal
http://indiadaily.indiavoice.info - India Daily Infotainment
(Powered by Joomla!)
http://indiavoice.info - India News & Information Portal
http://indiadaily.indiavoice.info - India Daily Infotainment
(Powered by Joomla!)
- tusker
- Joomla! Ace
- Posts: 1075
- Joined: Tue Dec 25, 2007 2:15 pm
- Location: Baroda - India
- Contact:
Re: Limit Number of Pages In Site
Or you need default registration type set to author instead of registered user. But still very few limited features are available with default joomla install and you need a better multipage blogging component for your need. something like wordpress multiuser. Few joomla extensions for blogging are available which can be used for the purpose you require.
ONE WORLD OPEN WORLD - WAR TODAY GIVE PEACE A CHANCE
http://indiavoice.info - India News & Information Portal
http://indiadaily.indiavoice.info - India Daily Infotainment
(Powered by Joomla!)
http://indiavoice.info - India News & Information Portal
http://indiadaily.indiavoice.info - India Daily Infotainment
(Powered by Joomla!)
-
- Joomla! Fledgling
- Posts: 1
- Joined: Tue May 04, 2010 10:32 pm
Re: Limit Number of Pages In Site
Is joomla can do that? Can you teach us how? Thanks!
http://www.google.com
http://www.google.com