Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
page parent selector
#6
I ended up just editing the edit.php page

added
Code:
if ($page['template'] == 'links.php'){
at 169 and the closing tag at 180[/quote]

PHP Code:
                        foreach ($pagesArray as $page) {
                            if (
$page['template'] == 'links.php'){
                                if (
$page['parent'] != '') { 
                                    
$parentdata getXML(GSDATAPAGESPATH $page['parent'] .'.xml');
                                    
$parentTitle $parentdata->title;
                                    
$sort $parentTitle .' '$page['title'];
                                } else {
                                    
$sort $page['title'];
                                }
                                
$page array_merge($page, array('sort' => $sort));
                                
$pagesArray_tmp[$count] = $page;
                                
$count++;
                            }
                        } 
Reply


Messages In This Thread
page parent selector - by scorche - 2013-03-27, 03:53:20
RE: page parent selector - by shawn_a - 2013-03-27, 04:22:20
RE: page parent selector - by scorche - 2013-03-27, 05:19:28
RE: page parent selector - by shawn_a - 2013-03-27, 09:41:13
RE: page parent selector - by scorche - 2013-03-28, 02:22:33
RE: page parent selector - by scorche - 2013-03-28, 03:31:01
RE: page parent selector - by shawn_a - 2013-03-28, 04:40:36



Users browsing this thread: 1 Guest(s)