Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Themes :: Archives ⇒ How to have 2 right block columns :: Archived


How to have 2 right block columns :: Archived
Announce themes that you have created, or ask questions about how to create/modify a theme in 9.x. Includes the Requests sub-forum.
Go to page Previous  1, 2
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  Themes

Topic Archived View previous topic :: View next topic  
Author Message
Pich
Newbie
Newbie

Offline Offline
Joined: Jun 29, 2006
Posts: 4
Location: Phnom Penh - Cambodia
PostPosted: Sat Feb 10, 2007 1:21 am
Post subject: Re: 2 right blocks

I want to have 3 bloks on my site too, i.e., left block, center block, and right block. I followed the instruction above but some parts of it is missing that I couldn't understand. I've been searching hard to find the solution to my problem. And my problem is "how to create 3 blocks". Can you explain me step by step? I'm a newbie just learning cpg nuke.

I checked the theme.php and footer.php and compare to what you said. They seem to be ok but the right block doesn't appear. How can I enable the right block?

Regards.

DJ Maze wrote:
No you are not.

Can you explain the full usage like:

- keep blocks on the right + add blocks in the footer
- no blocks on the right + add blocks in the footer

Because using <!-- BEGIN rightblock --> 2 times you just duplicate the whole list.

You could call
PHP:
themesidebox($title, $content, $custom_id);
within your theme.php

I will give a example
PHP:

Then in your footer.html use this only once
PHP:

You can even do way more advanced things, but lets understand this first


Pich's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
9.1.1
Back to top
View user's profile Visit poster's website
rlgura
1000+ Posts Club
1000+ Posts Club

Offline Offline
Joined: Mar 27, 2006
Posts: 1146
Location: Cleveland, OH USA
PostPosted: Sat Feb 10, 2007 2:54 am
Post subject: Re: How to have 2 right block columns

3 blocks is normal:
left blocks -- center blocks -- right blocks

What this thread is about is displaying both left and right blocks on the right or displaying a total of 4 columns.
Yours is a pretty standard problem. With DF 9.1.1 you need to check 2 things:
Go into Admin - Modules and make sure that all modules you want to display right blocks in shows "Both" in the blocks column.
Then go into Admin - Blocks and make sure the blocks you want displayed on the right are checked off in the list of modules.

_________________
Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies

rlgura's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1
Back to top
View user's profile Visit poster's website
Pich
Newbie
Newbie

Offline Offline
Joined: Jun 29, 2006
Posts: 4
Location: Phnom Penh - Cambodia
PostPosted: Sat Feb 10, 2007 4:26 am
Post subject: Re: How to have 2 right block columns

Thanks so much for your instruction. Problems solved now.


Pich's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
9.1.1
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  Themes
Page 2 of 2
All times are GMT
Go to page Previous  1, 2

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

read more...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy