- Moderated by:
- Support Team
-
- rank:
-
Freshman
- registered:
- May 2003
- Status:
- offline
- last visit:
- 13.03.07
- Posts:
- 33
I've scoured the forum for help, but I've reached the end of the line on this.
I am trying to make a block go away on *all* of my admin pages. I have been able to successfully get it to take a hike on my main admin page by using block control to remove it from the Admin module. But, I want it to be gone from the admin portion of Pagesetter, for instance, and the only way I can seem to accomplish that is by block controlling the Pagesetter module. But when I do that, it also takes the block away from the main Pagesetter pages where I display my publications. I have tried making an admin.htm template for the *admin "module" but that doesn't seem to work. Any suggestions?
Thanks,
Nick -
- rank:
-
Professional
- registered:
- September 2002
- Status:
- offline
- last visit:
- 19.11.08
- Posts:
- 879
I always use a special Xanthia template for the admin side of PostNuke. This template contains no blocks at all - only 2 links in the header: Frontpage and Administration
The result is, that you can use the full width of the screen for the administration.
--
best regards from Kiel, sailing city
Steffen Voss
Member of the PostNuke Steering Committee
Read The Zikulan's Blog -
- rank:
-
Freshman
- registered:
- May 2003
- Status:
- offline
- last visit:
- 13.03.07
- Posts:
- 33
Let me reiterate: I can define a special template without those blocks, but this only works for the Admin module. It *will not* work when I click to administer any module, because these modules go through index.php for admin. For instance, when I go to administer Pagesetter, this template will not work; only the template defined for Pagesetter will change the look of Pagesetter admin. It will also affect the frontend look of Pagesetter, which I *do not* want to happen.
Thanks,
Nick -
- rank:
-
Professional
- registered:
- September 2002
- Status:
- offline
- last visit:
- 19.11.08
- Posts:
- 879
1. AFAIK it also works when modules use &type=admin in the URL.
2. I always have a small "Pagesetter-fix" inside my master.htm:
Code
<!--[pnvarcleanfrominput name="func" assign="func"]-->
<!--[pnmodgetname assign="module"]-->
<!--[ if ($module=="pagesetter") && (($func=="publist")||($func=="pubedit"))]-->
<body >
[ <a href="index.php">Frontpage</a> | <a href="admin.php">Administration</a> |<a href="Stats.html">Statistics</a> ]<br />
<!--[$maincontent]-->
</body>
<!--[else]-->
And that is also the body of my admin.htm template. Simple but it works
--
best regards from Kiel, sailing city
Steffen Voss
Member of the PostNuke Steering Committee
Read The Zikulan's Blog -
- rank:
-
Software Foundation
- registered:
- December 1969
- Status:
- offline
- last visit:
- 07.11.08
- Posts:
- 968
ngarland
What does AFAIK mean?
Hi Nick,
AFAIK is the acronym for As Far As I Know. :)
V
--
iThinkMedia.com
Follow me on Twitter -
- rank:
-
Freshman
- registered:
- December 1969
- Status:
- offline
- last visit:
- 20.06.08
- Posts:
- 14
Adding the Pagesetter fix to master.htm I get this error:
Fatal error: Smarty error: [in master.htm line 54]: syntax error: unclosed tag \{else} (opened line 31). (Smarty_Compiler.class.php, line 320) in K:\server\xampp\htdocs\xxxx\includes\classes\Smarty\Smarty.class.php on line 1095
It's probably me that has pasted it in wrong. Could please help me out
