Board3 Portal

right column only on the index - Board3 Portal

right column only on the index

by frederic14123 » Tue Mar 08, 2016 3:11 pm

Hellos. Sorry for my English (translator).
Here, I would like that the right column is only displayed on the board index and not on other pages. Is it possible ? If yes, how ?
Thank you.
User avatar
frederic14123
Registered User
Posts: 43
Joined: Tue Feb 03, 2015 10:38 am
Location: France
Contact:

Re: right column only on the index

by canam800er » Wed Mar 09, 2016 5:09 pm

Hi
Open: root/ext/board3/portal/styles/yourstyle/template/event/overall_header_page_body_before.html and root/ext/board3/portal/styles/yourstyle/template/event/overall_footer_page_body_after.html
Find:

Code: Select all

<!-- IF S_PORTAL_ALL === true -->

Replace with:

Code: Select all

<!-- IF S_PORTAL_ALL === true and SCRIPT_NAME == "index" -->


In the end "ACP -> General" --> purge cache
It's recommended to purge your browser cache too.
Sorry for my bad english, I am German and translated with Google!
My Extensionen!
User avatar
canam800er
Registered User
Posts: 100
Joined: Thu Jul 21, 2011 7:42 pm
Contact:

Re: right column only on the index

by frederic14123 » Wed Mar 09, 2016 5:30 pm

Thank you for the answer, I look at it in that I have a can of time.
Edit :
it does not work because the location of the index is present but does not display anything.
User avatar
frederic14123
Registered User
Posts: 43
Joined: Tue Feb 03, 2015 10:38 am
Location: France
Contact:

Re: right column only on the index

by canam800er » Thu Mar 10, 2016 5:14 pm

What should not be displayed?
With this change, the side modules are only displayed in the index.
Sorry for my bad english, I am German and translated with Google!
My Extensionen!
User avatar
canam800er
Registered User
Posts: 100
Joined: Thu Jul 21, 2011 7:42 pm
Contact:

Re: right column only on the index

by frederic14123 » Thu Mar 10, 2016 6:29 pm

Apologies, I forgot the second file. It's perfect. Thank you.
User avatar
frederic14123
Registered User
Posts: 43
Joined: Tue Feb 03, 2015 10:38 am
Location: France
Contact:

Re: right column only on the index

by frederic14123 » Sun Mar 19, 2017 7:36 pm

canam800er wrote:Hi
Open: root/ext/board3/portal/styles/yourstyle/template/event/overall_header_page_body_before.html and root/ext/board3/portal/styles/yourstyle/template/event/overall_footer_page_body_after.html
Find:

Code: Select all

<!-- IF S_PORTAL_ALL === true -->
Replace with:

Code: Select all

<!-- IF S_PORTAL_ALL === true and SCRIPT_NAME == "index" -->
In the end "ACP -> General" --> purge cache
It's recommended to purge your browser cache too.

Following a small problem of display on smartphone, here are the modifications to bring in addition so problematic.

in

Code: Select all

./ext/board3/portal/styles/prosilver/theme/portal_all_responsive.css
Found and Replace

Code: Select all

.portal-body-center ul.topiclist dt .list-inner {
		margin-right: 60%;
	}
by

Code: Select all

ul.topiclist dt .list-inner {
	margin-right: 0;
}
User avatar
frederic14123
Registered User
Posts: 43
Joined: Tue Feb 03, 2015 10:38 am
Location: France
Contact:

Re: right column only on the index

by frederic14123 » Tue May 09, 2017 3:27 pm

Small question, if I want a second page to display the right column, how should I proceed? Thank you.
User avatar
frederic14123
Registered User
Posts: 43
Joined: Tue Feb 03, 2015 10:38 am
Location: France
Contact: