The following warnings occurred:
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/printthread.php 203 postParser->parse_message



GetSimple Support Forum
Files in folder "pages" - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: Files in folder "pages" (/showthread.php?tid=2584)



Files in folder "pages" - Bak - 2012-01-07

Is there the possibility of knowing the number of pages in the folder "pages"?


Files in folder "pages" - yurifanboy - 2012-01-07

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.


Files in folder "pages" - Connie - 2012-01-07

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


Files in folder "pages" - Carlos - 2012-01-07

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')); ?>



Files in folder "pages" - Bak - 2012-01-08

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!