![]() |
[CMS] Parent Layout Overwrite
1 Attachment(s)
[CMS] Parent Layout Overwrite
Created by civil78 The problem : Sometimes a vbulletin web developer wants to have different layout in section pages and article pages. In vbulletin there is no setting for that and the article pages uses the parent (section that belongs) layout. How it works : This product overwrites the layout of specific nodes by replacing the parent layout globally or for specific sections. Installation
Edit 01 AFTER: PHP Code:
ADD : PHP Code:
Edit 02 BEFORE: PHP Code:
ADD : PHP Code:
The final code looks like this (on 4.0.5) PHP Code:
Also if you have 4.0.5 version (but only that) you can just upload the files inside "upload (only for vbulletin 405)" folder of the zip file. Remember if you upgrade the vbulletin to new version you have to make these edits again. Instructions Go to vBulletin Options --> Parent Layout Overwrite First activate the product
Difficulty: Normal - Need to be little familiar with php Time to install: 3-4 minutes. History 1.0 - 01/08/2010 - Initial release. P.S. This mod tested on 4.0.5 version but maybe run and on older versions. |
Hello,
It seems quite complicated ... I need to use different layouts for articles and sections ... I think it is a very obvious feature... Can I see an example of the application?? |
All times are GMT. The time now is 02:53 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|