Creating new blocks

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Tue May 31, 2011 8:21 am
hi there

I signed onto the gavick program mainly because of the ease of using templates based on T3 framework, but it seems that it's not as straightforward as I thought!

How can I create a new block and add it to my layout (partyfreak template)? In T3 it should be really easy, but I have no idea to do it the gavick way even though it is supposed to be a T3 based template

many thanks
User avatar
Junior Boarder

teitbite
Wed Jun 01, 2011 12:49 pm
Hi

It's a template based on T3, but we have removed the T3 framework profile/theme options since it has been used to create a template.

So if You wan't to add a block You need to do this manualy in the html. The files can be found in /layouts/ and /layouts/blocks/
User avatar
Moderator

GK User
Wed Jun 01, 2011 1:02 pm
I guessed as much, but how to actually add a new block? Is it as simple as

<!-- HEADER -->

<?php $this->loadBlock('header') ?>
<?php $this->loadBlock('new') ?>

<!-- //HEADER -->
User avatar
Junior Boarder

teitbite
Wed Jun 01, 2011 5:22 pm
Hi

Exacly :)

After adding this code You will have to add a file new.php to /layouts/blocks/ and place a html code there.
User avatar
Moderator


cron