Topic Closed
Charles S
448 Posts
13.7K Downloads
2 Themes
8 Plugins

From what I've gathered only one "side menu" can be added. This is a great text area and would be great if it were possible to add multiple side menus/text areas in this same way.

10 years ago#382

Josh S.
2K Posts
269K Downloads
16 Themes
18 Plugins

You can add other extra content areas anywhere really, they just can't be called "Side Menu".

At the moment, the only way to add another area is to edit your template.php file in the current theme. To add an extra area named "Another Area", add the following code to your template.php file

<?php gpOutput::Get('Extra','Another Area'); ?>

10 years ago#383

Charles S
448 Posts
13.7K Downloads
2 Themes
8 Plugins

Great

Thanks

Update:

Finally got around to trying it. It did not work.

Tried several versions of it, even copying the sub_menu code that is already in the template and adding a 2 at the end (sub_menu2), but it didn't do anything either. No code I tried gave and extra content areas. . . I give.

Edited: 10 years ago#385

Josh S.
2K Posts
269K Downloads
16 Themes
18 Plugins

Hmm, I just tried it and it worked right away. Maybe we're expecting two different things. Here's what I have in my template.php file.

        ....
<div id="sidepanel">
        <div id="fullmenu">
        <?php gpOutput::Get('FullMenu'); ?>
        </div>
        <?php gpOutput::Get('Extra','Side_Menu'); ?>
        <?php gpOutput::GetAllGadgets(); ?>
        <?php gpOutput::Get('Extra','Side_Menu2'); ?>
</div>
....
This gives me a second area below the gadgets that I can edit. By default it doesn't show any content, so it can be a little hard to find by trying to mouse over it, but by using the Editable Area menu on the right, I can see "Side Menu2".
10 years ago#430

Charles S
448 Posts
13.7K Downloads
2 Themes
8 Plugins

Well, I can get the "remove" "insert" to highlight when I goto edible areas but then insert doesn't give me a menu2 to insert, and I can't get it to highlight any other way in order to edit it. I've even added text before and after the php code and I only get the one editable area.

I think gpEasy just doesn't like being installed under xampplite. I'll have to upload and play with it more.

OK, found it. I didn't get what you were saying. I was looking for it to highlight via the mouse and for some reason did not see it on the right sidebar when hovering over "editable areas." maybe I was just blind by that time yesterday.

So, for anyone else trying this. Once you add the code the only way to really get to it is by hovering over "editable areas" and you will see the name you used in the code on the right sidebar that pops out. Click on it to get the edit page.

Edited: 10 years ago#432

I tried this, my extra area is called "Image". However, Image doesn't show up on the Extra content list, so I can't put anything there. Am I missing something?

 

<?php gpOutput::Get('Extra','Image'); ?>

8 years ago#2095

OK, I discovered that you have to have a file in the _extra folder to add an extra content area. Problem solved.

8 years ago#2096

Charles S
448 Posts
13.7K Downloads
2 Themes
8 Plugins

While you are technically correct. The proper way to create and extra content area is . . . well, by creating an extra content area on the extra content page. You can read my extra content tutorial if you still need more info.

8 years ago#2097

Topic Closed

 

News

Typesetter 5.1
8/12/2017

Typesetter 5.0.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

Over 8 Times Faster Than Wordpress
5/3/2016

We've known for a long time that Typesetter is fast. It's something we take pride ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In

  Register