Topic Closed

I have seen the facility of adding more EXTRA areas in the template for adding various blocks in the site and managing them from the template itself. But is there a way except hacking the templates to link certain EXTRA areas to certain pages only and not the entire site?

10 years ago#706

Charles S
448 Posts
13.7K Downloads
2 Themes
8 Plugins

There is and I wrote a tutorial here about it; however, gpEasy 1.7 will be much easier in adding extra areas. You will not need to call them in the theme unless you want to format them specifically. In 1.7 you will be able to create extra content areas in the extra content manager page and add as many as you like. You will be able to add a theme to the layouts as many times as you like as well, thus you can have infinite arrangements.

If you need to do it asap. . . all you need to really do is create the extra content php page in /data/_extra/

Then when you edit the layout click insert and you should see the extra php page ;)

10 years ago#708

1.7 sounds exciting and I will await its release eagerly. But I'm a little confused regarding adding them to individual pages. Currently in version 1.6.3 how can I ensure that one Extra content  show only for a certain page and a second Extra content shows for a second page, in effect having custom Extra contents for individual pages. I'm not much of a programmer so maybe you'll need to write the specific code I need to put in my template file to achieve this.

10 years ago#710

Charles S
448 Posts
13.7K Downloads
2 Themes
8 Plugins

I'm a little confused regarding adding them to individual pages. Currently in version 1.6.3 how can I ensure that one Extra content  show only for a certain page and a second Extra content shows for a second page, in effect having custom Extra contents for individual pages.

What you have to do is set a theme for each one of the pages, thus each page you want to have unique "extra areas" on you will have to define a unique theme. In 1.6 you will have to copy the theme, rename it, and then select it for the page you want--that way the "same theme" will be used multiple times but with different names and therefore you can define the layout for each one. In 1.7 you won't have to do that. You will just add the theme a second time to the "layouts page."

I suggest just using 1.7a4. The bugs I've found are rather minor with the exception of galleries and it's easily fixed. I have two sites working fine with it. 

If you really want to go with 1.6 and do this. . . copy the theme and rename it, add it to another page in the file manager. copy one of the extra areas in the /data/_extra/ folder and rename it to what you want the new extra area to be. Edit the layout of the theme/page in question and insert an extra area. When you do that you will see the page you copied and renamed in the extra folder. Select it and you have your unique content--you will have to edit it's content, of course. 

here is the original post:

http://www.gpeasy.com/Special_Forum?show=t116

10 years ago#714

So I guess basically there is no other way except to do it with themes.

10 years ago#716

Charles S
448 Posts
13.7K Downloads
2 Themes
8 Plugins

I guess you could code it into the theme but if you aren't a coder then yes, themes are the only way. It looks like that will be the case in 1.7 also. Unless you are going to have many pages all with some type of unique content thrown in it really isn't hard to manage.

Edited: 10 years ago#721

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

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

More News

HH-Support

Company located in T├│rshavn, Faroe Islands. * Webpage Design * Consultant & Provider of a wide range of programs for visually impaired and dyslextics.

Find out more about our Provider Spotlight

Log In

  Register