The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Gazette

Geek Gazette GAZ is a community newsletter management system.

Advertisement
This is an HTML example. Isn't it just wonderful?!?!
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 06-21-2007, 11:34 PM
Code Monkey's Avatar
Code Monkey Code Monkey is offline
Junior Member
 
Join Date: Sep 2006
Posts: 17
Geek Article and Review System License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default Container template issues

I want to add my style graphics to the tables. However, my center column and side column graphics are different. In vBadvanced you can accomplish this in the template by checking if it's column 1 or not. How can I do the same in GAZ?
Reply With Quote
  #2  
Old 06-22-2007, 06:46 AM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Thats a great suggestion that I hadn't even thought about. By default, there isnt a straight forward way of doing this, but this is what I have done for the next release so you could actually impliment it now.

Edit the geek/gaz/includes/gaz_class_core.php file to do the following:

replace
PHP Code:
  if ($stage == 'display')
  {
   
$stylevar =& $this->stylevar;
   
$stylecss =& $this->stylecss;
  } 
with
PHP Code:
  if ($stage == 'display')
  {
   global 
$sectionid;
   
$stylevar =& $this->stylevar;
   
$stylecss =& $this->stylecss;
  } 
$sectionid refers to the 'section' that the module is in:

for HTML layouts:
1 = Top
2 = Left column
3 = Centre column
4 = Right column
5 = Bottom

For text layouts:
1 = centre column

HTHs!
Reply With Quote
  #3  
Old 06-22-2007, 03:20 PM
Code Monkey's Avatar
Code Monkey Code Monkey is offline
Junior Member
 
Join Date: Sep 2006
Posts: 17
Geek Article and Review System License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

I'll do that before the next issue, thanks. Big event tonight so I went ahead and did it all the hard way.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to resize the container ? stckhlm Geek Article and Review System 3 01-12-2009 07:54 PM
Container style settings problem... stckhlm Geek Article and Review System 1 01-05-2009 03:18 PM
Container width settings.. gldtn Geek Article and Review System 1 03-26-2008 05:19 PM
Exclude container settings Lionel Geek Article and Review System 3 05-03-2007 05:44 AM
Fixing a few template issues Bernd Geek Article and Review System 5 11-08-2006 01:06 AM


All times are GMT. The time now is 09:12 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.