Is the language file named francais.language.php?
Is the language file named francais.language.php?Shouldn’t it be named "francais.inc.php"? At least, the default file in the lang folder is "english.inc.php".
I’m an idiot... I simply called the snippet with "langage" (like it’s written in French) instead of "language". I still have the sortBy problem though.
Number supposed to be summarized (summarize): 4 Total supposed to be returned: 4 Count of total in db: 4 Sort by (sortBy): menuindex Sort direction (sortDir): DESC Using the API Method (allows for everything except pub_date, unpub_date, editedon, deletedon, and multilevel) Start at 0 and stop at 4 out of 4 Document Data for "Electric mobility" id = 24 type = document contentType = text/html pagetitle = Electric mobility longtitle = What is electric mobility? description = alias = electric-mobility published = 1 pub_date = 0 unpub_date = 0 parent = 15 isfolder = 0 introtext = richtext = 1 template = 4 menuindex = 4 searchable = 1 cacheable = 1 createdby = 1 createdon = 1129049909 editedby = 1 editedon = 1148620017 deleted = 0 deletedon = 0 deletedby = 0 publishedon = 1129049909 publishedby = 1 menutitle = Electric mobility donthit = 0 haskeywords = 0 hasmetatags = 0 privateweb = 0 privatemgr = 0 content_dispo = 0 hidemenu = 0 currentTPL = firstRow Document Data for "Our goals" id = 14 type = document contentType = text/html pagetitle = Our goals longtitle = Our goals description = alias = goals published = 1 pub_date = 0 unpub_date = 0 parent = 15 isfolder = 0 introtext = richtext = 1 template = 4 menuindex = 3 searchable = 1 cacheable = 1 createdby = 1 createdon = 1127939508 editedby = 1 editedon = 1148620142 deleted = 0 deletedon = 0 deletedby = 0 publishedon = 1127939508 publishedby = 1 menutitle = Our goals donthit = 0 haskeywords = 0 hasmetatags = 0 privateweb = 0 privatemgr = 0 content_dispo = 0 hidemenu = 0 currentTPL = altRows Document Data for "Our vision" id = 22 type = document contentType = text/html pagetitle = Our vision longtitle = Our vision description = alias = vision published = 1 pub_date = 0 unpub_date = 0 parent = 15 isfolder = 0 introtext = richtext = 1 template = 4 menuindex = 2 searchable = 1 cacheable = 1 createdby = 1 createdon = 1128954065 editedby = 1 editedon = 1148609000 deleted = 0 deletedon = 0 deletedby = 0 publishedon = 1128954065 publishedby = 1 menutitle = Vision donthit = 0 haskeywords = 0 hasmetatags = 0 privateweb = 0 privatemgr = 0 content_dispo = 0 hidemenu = 0 currentTPL = TPL Document Data for "Our mission" id = 16 type = document contentType = text/html pagetitle = Our mission longtitle = Our mission description = alias = mission published = 1 pub_date = 0 unpub_date = 0 parent = 15 isfolder = 0 introtext = richtext = 1 template = 4 menuindex = 1 searchable = 1 cacheable = 1 createdby = 1 createdon = 1128012596 editedby = 1 editedon = 1148608735 deleted = 0 deletedon = 0 deletedby = 0 publishedon = 1128012596 publishedby = 1 menutitle = Mission donthit = 0 haskeywords = 0 hasmetatags = 0 privateweb = 0 privatemgr = 0 content_dispo = 0 hidemenu = 0 currentTPL = altRows
$hiddenTVs = (isset($hiddenTVs))? $hiddenTVs : "" ;
// allows the snippet to filter by tv's not in the template. separate by comma.
$sortDir = isset($sortDir) ? strtoupper($sortDir) : 'DESC';
// get sort dir
$sortBy = isset($sortBy) ? $ditto->checkSort($sortBy, $dateFormatType, $hiddenTVs, $mode) : "createdon";
// get sortBy
$hiddenTVs = $ditto->hiddenTVs;
// grab latest hiddenTV additions
$hiddenTVs = $ditto->hiddenTVs;
This discussion is closed to further replies. Keep calm and carry on.