Bak
Junior Member
Posts: 28
Joined: Dec 2010
|
Files in folder "pages"
Is there the possibility of knowing the number of pages in the folder "pages"?
|
|
|
|
yurifanboy
Member
Posts: 89
Joined: Mar 2011
|
Files in folder "pages"
You could easily download the pages folder using your preferred ftp program and use windows explorer to highlight and get a count of how many pages (XML documents) you have but that would be superfluous. It is easier to look at the bottom of the page in the admin where it tells you how many pages you currently have.
Todo arde si le aplicas la chispa adecuada.
(This post was last modified: 2012-01-07 12:49:06 by Bob.)
|
|
|
|
Connie
Super Moderator
Posts: 2,684
Joined: Feb 2011
|
Files in folder "pages"
if you use the i18N-plugin, http://get-simple.info/extend/plugin/i18n/69/, the number of pages will be listed below the pages in the page management view
|--
Die deutsche GetSimple-Webseite: http://www.Get-Simple.de = the german Get-Simple-Website!
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
|
|
|
|
Carlos
GS Freak
Posts: 1,372
Joined: Mar 2010
|
Files in folder "pages"
Bak wrote:Is there the possibility of knowing the number of pages in the folder "pages"?
If you want to display or use that number in your template, components, etc.:
Code:
<?php echo count(glob(GSDATAPAGESPATH.'*.xml')); ?>
- News Manager 2.4.1 + additional plugins
- Other GS plugins
|
|
|
|
Bak
Junior Member
Posts: 28
Joined: Dec 2010
|
Files in folder "pages"
Carlos wrote:Bak wrote:Is there the possibility of knowing the number of pages in the folder "pages"?
If you want to display or use that number in your template, components, etc.:
Code:
<?php echo count(glob(GSDATAPAGESPATH.'*.xml')); ?>
Thankyou...great!
|
|
|
|