Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [Package] Template Mod v2 Multiple Layouts dB driven  (Read 3654 times)

centered

  • Guest
[Package] Template Mod v2 Multiple Layouts dB driven
« on: February 16, 2008, 07:25:05 pm »

Download: http://www.mediafire.com/?etx01dimmhx

This is version 2 of my database driven Template Mod.  This version is capable of easily switching multiple layouts for each and every page.  Version 3 will be a filed version of this mod

Features:
A. Ability to turn the editor off/on.
B. Ability to define layout for categories and their respectable articles, articles, and pages.
C. Ability to view and define each page in a structural view
D. Booster mods to help speed up the system thanks to invarbrass!

Big thanks to codetwist for his Determine content type library here: http://snewscms.com/forum/index.php?topic=5342.msg34632#msg34632

Some screens:

http://img232.imageshack.us/img232/7136/cattempgy0.jpg


http://img230.imageshack.us/img230/2998/blahgm2.jpg


********************************* BUG FIX ******************************************

If you enter content into phpmyadmin, you bypass the functions to add to the tempAssoc table, which add the templateids

In snews.php find the first two lines, add the second:
Code: [Select]
function index() {
$tempID = get_tempID();
        if(empty($tempID)) { $tempID = '1'; }

Same here:
Code: [Select]
function css_links() {
$tempID = get_tempID();
        if(empty($tempID)) { $tempID = '1'; }
« Last Edit: February 19, 2008, 07:01:08 pm by equilni »
Logged

uiler

  • Newbie
  • *
  • Karma: 0
  • Posts: 1
Re: [Package] Template Mod v2 Multiple Layouts dB driven
« Reply #1 on: May 16, 2010, 07:45:33 pm »

hi there,

is possible to re-upload the file again? Download: http://www.mediafire.com/?etx01dimmhx


thanks in advance



Logged

nukpana

  • Hero Member
  • *****
  • Karma: 71
  • Posts: 663
Re: [Package] Template Mod v2 Multiple Layouts dB driven
« Reply #2 on: May 17, 2010, 01:00:14 pm »

No sorry, this file doesn't exist anymore.
Logged

Keyrocks

  • Doug
  • ULTIMATE member
  • ******
  • Karma: 449
  • Posts: 6020
  • Semantically Challenged
    • snews.ca
Re: [Package] Template Mod v2 Multiple Layouts dB driven
« Reply #3 on: May 17, 2010, 02:30:50 pm »

No sorry, this file doesn't exist anymore.

Is it possible that you might still have a copy of this project on your computer?
Logged
Do it now... later may not come.
-------------------------------------------------------------------------------------------------
sNews 1.6 MESU | sNews 1.6 MEMU

nukpana

  • Hero Member
  • *****
  • Karma: 71
  • Posts: 663
Re: [Package] Template Mod v2 Multiple Layouts dB driven
« Reply #4 on: May 18, 2010, 12:18:24 am »

No, I apologize I don't. I wouldn't be too proud releasing it at this point. Anyway, there are better solutions out there.
Logged