Content Items Manager [ Section: All ] Content Items Manager [ Section: title; ?> ]
Filter:
getNullDate(); for ($i=0, $n=count( $rows ); $i < $n; $i++) { $row = &$rows[$i]; mosMakeHtmlSafe($row); $link = 'index2.php?option=com_content§ionid='. $redirect .'&task=edit&hidemainmenu=1&id='. $row->id; $row->sect_link = 'index2.php?option=com_sections&task=editA&hidemainmenu=1&id='. $row->sectionid; $row->cat_link = 'index2.php?option=com_categories&task=editA&hidemainmenu=1&id='. $row->catid; $now = _CURRENT_SERVER_TIME; if ( $now <= $row->publish_up && $row->state == 1 ) { // Published $img = 'publish_y.png'; $alt = 'Published'; } else if ( ( $now <= $row->publish_down || $row->publish_down == $nullDate ) && $row->state == 1 ) { // Pending $img = 'publish_g.png'; $alt = 'Published'; } else if ( $now > $row->publish_down && $row->state == 1 ) { // Expired $img = 'publish_r.png'; $alt = 'Expired'; } elseif ( $row->state == 0 ) { // Unpublished $img = 'publish_x.png'; $alt = 'Unpublished'; } // correct times to include server offset info $row->publish_up = mosFormatDate( $row->publish_up, _CURRENT_SERVER_TIME_FORMAT ); if (trim( $row->publish_down ) == $nullDate || trim( $row->publish_down ) == '' || trim( $row->publish_down ) == '-' ) { $row->publish_down = 'Never'; } $row->publish_down = mosFormatDate( $row->publish_down, _CURRENT_SERVER_TIME_FORMAT ); $times = ''; if ($row->publish_up == $nullDate) { $times .= ""; } else { $times .= ""; } if ($row->publish_down == $nullDate || $row->publish_down == 'Never') { $times .= ""; } else { $times .= ""; } if ( $acl->acl_check( 'administration', 'manage', 'users', $my->usertype, 'components', 'com_users' ) ) { if ( $row->created_by_alias ) { $author = $row->created_by_alias; } else { $linkA = 'index2.php?option=com_users&task=editA&hidemainmenu=1&id='. $row->created_by; $author = ''. $row->author .''; } } else { if ( $row->created_by_alias ) { $author = $row->created_by_alias; } else { $author = $row->author; } } $date = mosFormatDate( $row->created, '%x' ); $access = mosCommonHTML::AccessProcessing( $row, $i ); $checked = mosCommonHTML::CheckedOutProcessing( $row, $i ); ?> ">
# Title Published Front Page Reorder Order Save Order Access ID Section Category Author Date
Start: Always
Start: $row->publish_up
Finish: No Expiry
Finish: $row->publish_down
rowNumber( $i ); ?> checked_out && ( $row->checked_out != $my->id )) { echo $row->title; } else { ?> title; ?> ')"> <?php echo $alt; ?> <?php echo ( $row->frontpage ) ? 'Yes' : 'No';?> orderUpIcon( $i, ($row->catid == @$rows[$i-1]->catid) ); ?> orderDownIcon( $i, $n, ($row->catid == @$rows[$i+1]->catid) ); ?> id; ?> section_name; ?> name; ?>
getListFooter(); ?>
Archive Manager [ Section: All ] Archive Manager [ Section: title; ?> ]
Filter:
cat_link = 'index2.php?option=com_categories&task=editA&hidemainmenu=1&id='. $row->catid; if ( $acl->acl_check( 'administration', 'manage', 'users', $my->usertype, 'components', 'com_users' ) ) { if ( $row->created_by_alias ) { $author = $row->created_by_alias; } else { $linkA = 'index2.php?option=com_users&task=editA&hidemainmenu=1&id='. $row->created_by; $author = ''. $row->author .''; } } else { if ( $row->created_by_alias ) { $author = $row->created_by_alias; } else { $author = $row->author; } } $date = mosFormatDate( $row->created, '%x' ); ?> ">
# Title Order Save Order Category Author Date
rowNumber( $i ); ?> id ); ?> title; ?> name; ?>
getListFooter(); ?>
$row is passed with the id * property set to 0. * @param mosContent The category object * @param string The html for the groups select list */ function editContent( &$row, $section, &$lists, &$sectioncategories, &$images, &$params, $option, $redirect, &$menus ) { global $database; mosMakeHtmlSafe( $row ); $nullDate = $database->getNullDate(); $create_date = null; if ( $row->created != $nullDate ) { $create_date = mosFormatDate( $row->created, '%A, %d %B %Y %H:%M', '0' ); } $mod_date = null; if ( $row->modified != $nullDate ) { $mod_date = mosFormatDate( $row->modified, '%A, %d %B %Y %H:%M', '0' ); } $tabs = new mosTabs(1); // used to hide "Reset Hits" when hits = 0 if ( !$row->hits ) { $visibility = "style='display: none; visibility: hidden;'"; } else { $visibility = ""; } mosCommonHTML::loadOverlib(); mosCommonHTML::loadCalendar(); ?>
Content Item: id ? 'Edit' : 'New';?> id ) { ?> [ Section: ]
Item Details
Title: Section:
Title Alias: Category:
Intro Text: (required)
introtext, 'introtext', '100%;', '350', '75', '20' ) ; ?>
Main Text: (optional)
fulltext, 'fulltext', '100%;', '400', '75', '30' ) ; ?>
startPane("content-pane"); $tabs->startTab("Publishing","publish-page"); ?>
Publishing Info
Show on Front Page: frontpage ? 'checked="checked"' : ''; ?> />
Published: state ? 'checked="checked"' : ''; ?> />
Access Level:
Author Alias:
Change Creator:
Ordering:
Override Created Date
Start Publishing:
Finish Publishing:

id ) { ?>
Content ID: id; ?>
State: state > 0 ? 'Published' : ($row->state < 0 ? 'Archived' : 'Draft Unpublished');?>
Hits : hits;?>
>
Revised : version;?> times
Created New document
Last Modified Not modified
modifier; } ?>
endTab(); $tabs->startTab("Images","images-page"); ?>
MOSImage Control
Gallery Images:

Content Images:

Sub-folder:
Sample Image:
Sample Image
Active Image:
Active Image
Edit the image selected:
Source:
Image Align:
Alt Text:
Border:
Caption:
Caption Position:
Caption Align:
Caption Width:
endTab(); $tabs->startTab("Parameters","params-page"); ?>
Parameter Control
* These Parameters only control what you see when you click to view an item fully *

render();?>
endTab(); $tabs->startTab("Meta Info","metadata-page"); ?>
Meta Data
Description:
Keywords:
endTab(); $tabs->startTab("Link to Menu","link-page"); ?>
Link to Menu
This will create a 'Link - Content Item' in the menu you select

Select a Menu
Menu Item Name
Existing Menu Links
None
endTab(); $tabs->endPane(); ?>

Move Items

Move to Section/Category:


Items being Moved:
"; foreach ( $items as $item ) { echo "
  • ". $item->title ."
  • "; } echo ""; ?>


    "; } ?>

    Copy Content Items

    Copy to Section/Category:


    Items being copied:
    "; foreach ( $items as $item ) { echo "
  • ". $item->title ."
  • "; } echo ""; ?>


    "; } ?>