You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 424 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Autoblocks Unleashed!
Themeslobos writes "Greetings all,


I have noted that of late many of the themes released have been conforming to the orthodox 3-column layout that has become synonymous to nuke type websites. While this is all well and good for portal type sites, sometimes one could use the flexibility of a CMS backend for personal or business websites also. This can be quite difficult if you only have 3 block positions/groups to choose from as your options can be quite limited in regards to designing innovative layout GUI's.

Enter Autotheme and Autoblocks.

The commercial version of Autotheme has had the feature of unlimited block positions (autoblocks) since early version releases, but since version 0.7 (I think) AT-Lite (the free GPL autotheme version) has also boasted this feature - earlier versions integrated with the Nuclei block enhancement and boasted 9 extra block positions which was still a great advantage over the stock standard 3 positions available to the PHPnuke CMS.

Tied in with another of autotheme features that is custom module templates / options, Autoblocks becomes an extremely powerful tool in customising the design layout of your PHPnuke website.You can set up block positions on the homepage to only show up on the homepage or define special block groups / positions to only show only for certain modules.

I will now run through the procedure of setting up additional block positions using autotheme.

Step 1 Define a new Autoblock

This is easily done by accessing the autoblocks area of the Autotheme administration console. You can name the autoblock anything you want although it is best to give a good descriptive title to aid in recognition due to the fact that this name will be associated with the block group in the CMS blocks administration area. eg home_top_left



Step 2 Assign a Block Template to the Autoblock Postion

You can use an existing block template or create a new one if you wish. Note that here I am defining this block template to only show on the homepage, I can also define it in the "general" area to show for all modules or even of an individual custom module (I could assign a completely different block temlpate for these if I wish).



Step 3 Add the block tag to your page template

Here we insert the block tag to your page template - I have a custom homepage template and I will be adding it to this. NOte the naming convention:

rss_bottom_left-blocks] -->

It is the same name that we defined when setting up the autoblock in Step 1 with "-blocks" ammended to the end of it.




Step 4 Choose the Positon in the Blocks Admin Console

Pretty straight forward!



Some examples





Conclusion

With the advent of Autotheme and Autoblocks the PHPnuke CMS can now enjoy a wider audience than those only concerned with portal type websites. Autotheme is truely a revolution in CMS themeing and we all owe much to it's creater - Shawn Mckenzie of http://spidean.mckenzies.net/ - he has truely acheived a "Pinnacle of Excellence" with Autotheme!

You can find our more about Autotheme at http://spidean.mckenzies.net/ and obtain quality Autothemes at www.webvida.com

About the Author

Adam Docherty aka Lobos has been involved in PHPnuke theming activities for quite sometime now and takes special pride in providing the community with free and low cost support for PHPnuke theme and module related requirements.

Adam would like to extend an invitation for all to browse his quality themes at www.webvida.com

Copyright 2005 Adam Docherty and Webvida ThemeWorks
All Rights Reserved
"
Posted on Thursday, June 23 @ 11:04:03 CEST by VinDSL
 
Related Links
· More about Themes
· News by VinDSL


Most read story about Themes:
PHP Nuke Halloween theme Released!

Article Rating
Average Score: 0
Votes: 0

Please take a second and vote for this article:

Excellent
Very Good
Good
Regular
Bad


Options

 Printer Friendly Page  Printer Friendly Page

 Send to a Friend  Send to a Friend

Threshold
The comments are owned by the poster. We aren't responsible for their content.

No Comments Allowed for Anonymous, please register

Re: Autoblocks Unleashed! (Score: 1)
by Lobos on Thursday, June 23 @ 11:37:35 CEST
(User Info | Send a Message)
Unfortunately the images didn't get posted with this news which makes this tutorial virtually impossible to follow - the images were hosted off site so I don't see why they should be removed, but if that is the policy I humbly submit.

To view the tutorial with images please visit this url:

http://maxdev.com/Article487.phtml [maxdev.com]

Although this is the md-pro cms site the tutorial still applies when using autotheme for phpnuke.

Have a nice day :)


Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.080 Seconds - 207 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::