remove text on modules

Current Version: 2.1.0
Released: 2015-10-26
Forum rules
Before creating a new support thread, please take a look at the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
Viragohelp
Active Member
Posts: 11
Joined: 8. April 2021 13:55
phpBB.de User: Viragohelp
phpBB.com User: Viragohelp

remove text on modules

Post by Viragohelp »

I did a search but didn't see what I need.
I am wondering if it is possible to have no text at the top of a module? If I leave no text my module appears in my list blank with no name. If I did this to all it would be quite confusing. Also on custom blocs it automatically adds CUSTOM BLOCK in the space I want blank. Is there a way to still enter my module names in my acp but have them all be blank when they display on my website?

What would be great is on module creation have an extra line for text to be displayed at the top of module which can be left blank if you do not want text there.
And the current line for Module Name only be for the module name and not be displayed as text on the module itself.
I also notice module name text is forced to be displayed as capital letters regardless if you use caps or not.
User avatar

Kirk
Dev
Posts: 1956
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: remove text on modules

Post by Kirk »

Which module (Name, Postion of Module) would you like to have no text displayed?
Viragohelp wrote: 10. April 2021 10:32 I also notice module name text is forced to be displayed as capital letters regardless if you use caps or not.
This is because of prosilver.
Open: root/styles/prosilver/theme/content.css
Find:

Code: Select all

li.header dt, li.header dd {
	line-height: 1em;
	border-left-width: 0;
	margin: 2px 0 4px 0;
	padding-top: 2px;
	padding-bottom: 2px;
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;
}
In line find:

Code: Select all

	text-transform: uppercase;
Replace with:

Code: Select all

	text-transform: inherit;
In the end "ACP -> General" --> purge cache It's recommended to purge your browser cache too.
Gruß Udo

Topic author
Viragohelp
Active Member
Posts: 11
Joined: 8. April 2021 13:55
phpBB.de User: Viragohelp
phpBB.com User: Viragohelp

Re: remove text on modules

Post by Viragohelp »

Thank you. That will get rid of caps. As for which module... All of them to be honest.
User avatar

Kirk
Dev
Posts: 1956
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: remove text on modules

Post by Kirk »

Go to the directory root/ext/board3/portal/styles/prosilver/template/portal/modules/
Open all files
Find and delete this: {$TITLE}
In the end "ACP -> General" --> purge cache It's recommended to purge your browser cache too.
Gruß Udo

Topic author
Viragohelp
Active Member
Posts: 11
Joined: 8. April 2021 13:55
phpBB.de User: Viragohelp
phpBB.com User: Viragohelp

Re: remove text on modules

Post by Viragohelp »

Kirk wrote: 10. April 2021 16:20 Which module (Name, Postion of Module) would you like to have no text displayed?
Viragohelp wrote: 10. April 2021 10:32 I also notice module name text is forced to be displayed as capital letters regardless if you use caps or not.
This is because of prosilver.
Open: root/styles/prosilver/theme/content.css
Find:

Code: Select all

li.header dt, li.header dd {
	line-height: 1em;
	border-left-width: 0;
	margin: 2px 0 4px 0;
	padding-top: 2px;
	padding-bottom: 2px;
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;
}
In line find:

Code: Select all

	text-transform: uppercase;
Replace with:

Code: Select all

	text-transform: inherit;
In the end "ACP -> General" --> purge cache It's recommended to purge your browser cache too.
I tried this. Purged board cache. Then deleted my cookies using link at bottom of board. I also went into my browser settings and deleted all cookies and cache. It still displays as capitals. Any ideas?
User avatar

Kirk
Dev
Posts: 1956
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: remove text on modules

Post by Kirk »

You have not made the changes in content.css.
Gruß Udo

Topic author
Viragohelp
Active Member
Posts: 11
Joined: 8. April 2021 13:55
phpBB.de User: Viragohelp
phpBB.com User: Viragohelp

Re: remove text on modules

Post by Viragohelp »

Image

as you can see it is already done as I stated in my other post
User avatar

Kirk
Dev
Posts: 1956
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: remove text on modules

Post by Kirk »

It is now displayed correctly
b3p_welcome_module.jpg
Gruß Udo

Topic author
Viragohelp
Active Member
Posts: 11
Joined: 8. April 2021 13:55
phpBB.de User: Viragohelp
phpBB.com User: Viragohelp

Re: remove text on modules

Post by Viragohelp »

wth.. ive cleared cokies. why isnt it showing properly for me... isnt hard clear ookies

Topic author
Viragohelp
Active Member
Posts: 11
Joined: 8. April 2021 13:55
phpBB.de User: Viragohelp
phpBB.com User: Viragohelp

Re: remove text on modules

Post by Viragohelp »

i haad to close browser.. so odd. tyvm for helping!! Looks so much better ty ty ty


now how can I have modules named with no text showing at the top?
User avatar

Kirk
Dev
Posts: 1956
Joined: 27. July 2010 18:02
phpBB.de User: Kirk
Contact:

Re: remove text on modules

Post by Kirk »

Viragohelp wrote: 11. April 2021 16:50 now how can I have modules named with no text showing at the top?
https://www.board3.de/viewtopic.php?p=38764#p38764

:roll:
Gruß Udo
Locked

Return to “Board3 Portal 2.1.x - English Support”