Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Files in folder "pages"
Author Message
Bak Offline
Junior Member

Posts: 28
Joined: Dec 2010
2012-01-07 11:01:08
Files in folder "pages"
Is there the possibility of knowing the number of pages in the folder "pages"?
Find all posts by this user Quote this message in a reply
yurifanboy Offline
Member

Posts: 89
Joined: Mar 2011
2012-01-07 12:48:08
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.)
Find all posts by this user Quote this message in a reply
Connie Offline
Super Moderator

Posts: 2,684
Joined: Feb 2011
2012-01-07 17:03:17
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
Find all posts by this user Quote this message in a reply
Carlos Offline
GS Freak

Posts: 1,372
Joined: Mar 2010
2012-01-07 20:16:11
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
Visit this user's website Find all posts by this user Quote this message in a reply
Bak Offline
Junior Member

Posts: 28
Joined: Dec 2010
2012-01-08 07:57:24
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!
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)

Generate Leads from Documents vCard Hosting