CLEVER BUTTONS FOR ARTICLES.....
Each section is a seperate file... which goes into the module/templates/includes dir.
-------------------------------------------------------------------------
MODULE LINKS
THIS FILE IS CALLED FROM THE ARTICLE USER-VIEW Template...
xarRequestGetInfo()
xarservergetcurrenturl()
xarServerGetBaseURL()
&xar-modurl-articles-admin-new;
&xar-modurl-articles-admin-view;
$ptid
$pubtypeid
xarVarFetch('pubtypeid', 'id', $currentptid, NULL, XARVAR_NOT_REQUIRED)
'&ptid=' . $currentptid
''
$catid
xarVarGetCached('Blocks.articles','cids')
$currentcid1
$currentcid2
$currentcid3
'&catid=' . $currentcid
''
$currentptid
"All"
$currentcid
"All"
"$test1:$test2:All:All"
-
View
'View Entries - All'
'View Entries in this Section - Based on Type only'
'View Entries in this Section - Based on Category only'
'View Entries in this Section - Based on Type and Category'
''
-
View Entries - All
-
View Entries - in this Section
-
No Access
-
Add
'Add Entry'
'Add Entry in this Section - Based on Type only'
'Add Entry in this Section - Based on Category only'
'Add Entry in this Section - Based on Type and Category'
''
-
Add Entry
-
Add Entry - in this Section
-
No Access
-
Module Actions
-
View PubTypes
'&action=modify'
-
Edit Current PubType
-
Modify Current PubType
-
Modify Module Config
-------------------------------------------------------------------------
ITEM LINKS
THIS IS CALLED FROM The USER SUMMARY files
xarRequestGetInfo()
xarservergetcurrenturl()
xarServerGetBaseURL()
&xar-modurl-articles-admin-new;
&xar-modurl-articles-admin-modify;
&xar-modurl-articles-admin-delete;
$aid
xarVarFetch('aid', 'id', $currentaid, NULL, XARVAR_NOT_REQUIRED)
'&aid=' . $currentaid
$ptid
$pubtypeid
xarVarFetch('pubtypeid', 'id', $currentptid, NULL, XARVAR_NOT_REQUIRED)
'&ptid=' . $currentptid
''
$catid
xarVarGetCached('Blocks.articles','cids')
$currentcid1
$currentcid2
$currentcid3
'&catid=' . $currentcid
''
$currentptid
"All"
$currentcid
"All"
"$test1:$test2:All:All"
-
Entry Actions
-
Edit Entry
-
No Access
-
Delete Entry