new site and some styling (footer links) questions

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
User avatar
warmweer
Registered User
Posts: 3038
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: new site and some styling (footer links) questions

Post by warmweer » Wed Aug 07, 2019 4:55 pm

Lumpy Burgertushie wrote:
Wed Aug 07, 2019 4:30 pm
oh, what is that DS_store stuff. that is likely going to be the problem.
Mac :D a file created when manipulating files on Mac, and it contains some metadata I think. Any time you connect to a MC (with Windows, these files automatically get transferred.
They shouldn't really cause any problems, but deleting them (on Windows) shouldn't cause any problems either.
The year is 2192. The British Prime Minister visits Brussels to ask for an extension of the Brexit deadline. No one remembers where this tradition originated, but every year it attracts many tourists from all over the world.

urzh
Registered User
Posts: 126
Joined: Mon Aug 05, 2019 1:51 pm
Name: Robert

Re: new site and some styling (footer links) questions

Post by urzh » Wed Aug 07, 2019 4:57 pm

Ok, I had to "install" the style first in ACP which I wasn't aware I had to do after copying the files. I did this and it's showing up fine now

The reason I'm asking about the overall_footer.html edits is because it's confusing where I can add a link. Can I simply copy the below code and change it like I have?

Code: Select all

<a class="footer-link" href="{{ U_ABOUT }}" title="{{ lang('ABOUT_LINK') }}" role="menuitem">
				<span class="footer-link-text">{{ lang('ABOUT_LINK') }}</span>
			</a>


The overall_footer.html links secition:

Code: Select all

<div class="copyright">
		<!-- EVENT overall_footer_copyright_prepend -->
		<p class="footer-row">
			<span class="footer-copyright">{{ CREDIT_LINE }}</span>
		</p>
		<!-- IF TRANSLATION_INFO -->
		<p class="footer-row">
			<span class="footer-copyright">{{ TRANSLATION_INFO }}</span>
		</p>
		<!-- ENDIF -->
		<!-- EVENT overall_footer_copyright_append -->
		<p class="footer-row">
			<a class="footer-link" href="{{ U_PRIVACY }}" title="{{ lang('PRIVACY_LINK') }}" role="menuitem">
				<span class="footer-link-text">{{ lang('PRIVACY_LINK') }}</span>
			</a>
			|
			<a class="footer-link" href="{{ U_TERMS_USE }}" title="{{ lang('TERMS_LINK') }}" role="menuitem">
				<span class="footer-link-text">{{ lang('TERMS_LINK') }}</span>
			</a>
		</p>
		<!-- IF DEBUG_OUTPUT -->
		<p class="footer-row">
			<span class="footer-info">{{ DEBUG_OUTPUT }}</span>
		</p>
		<!-- ENDIF -->
		<!-- IF U_ACP -->
		<p class="footer-row">
			<a class="footer-link text-strong" href="{{ U_ACP }}">{{ lang('ACP') }}</a>
		</p>
		<!-- ENDIF -->
	</div>

User avatar
Lumpy Burgertushie
Registered User
Posts: 66849
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: new site and some styling (footer links) questions

Post by Lumpy Burgertushie » Wed Aug 07, 2019 5:47 pm

I believe what you want is something like this:

<p class="footer-row">
<span class="footer-copyright">{{ CREDIT_LINE }}</span>
</p>

changed to this:
<p class="footer-row">
<span class="footer-copyright">{{ CREDIT_LINE }} put your new text here</span>
</p>



robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

urzh
Registered User
Posts: 126
Joined: Mon Aug 05, 2019 1:51 pm
Name: Robert

Re: new site and some styling (footer links) questions

Post by urzh » Wed Aug 07, 2019 6:37 pm

Here's exactly what I want to do...
CapturFiles.png
-Add another footer link "About" and have that link to a new page (similarly like Terms and Privacy pages)
-Change the credit link to be "Powered by pbpBB Forum Software, <URL LINK>"

That is all

User avatar
Lumpy Burgertushie
Registered User
Posts: 66849
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: new site and some styling (footer links) questions

Post by Lumpy Burgertushie » Thu Aug 08, 2019 1:38 am

here is how I would do it:
go here and download the pages ext: https://www.phpbb.com/customise/db/extension/pages
install it: https://www.phpbb.com/extensions/installing/
go to the extensions tab, click on the pages extension in the left column and create your new about page.


ok, open overall_footer.html in your text editor.

find:

Code: Select all

			<a class="footer-link" href="{{ U_TERMS_USE }}" title="{{ lang('TERMS_LINK') }}" role="menuitem">
				<span class="footer-link-text">{{ lang('TERMS_LINK') }}</span>
			</a>
on a new line after it, copy and paste this:
notice the pipe on the first line all by itself. be sure to get that

Code: Select all

|
			<a class="footer-link" href="name of your new page" title="About" role="menuitem">
				<span class="footer-link-text">About</span>
			</a>
that should do it.

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

urzh
Registered User
Posts: 126
Joined: Mon Aug 05, 2019 1:51 pm
Name: Robert

Re: new site and some styling (footer links) questions

Post by urzh » Thu Aug 08, 2019 1:19 pm

Thanks for this. Done it and running into 2 issues

1. My new page gives a 404 error even when published. Tried a bunch of options, can't get it to display:
CapturFiles_2.png
CapturFiles.png
2. Link isn't showing in footer with that edit, screenshot of my settings and the link to the page on homescreen

CapturFiles_1.png

urzh
Registered User
Posts: 126
Joined: Mon Aug 05, 2019 1:51 pm
Name: Robert

Re: new site and some styling (footer links) questions

Post by urzh » Thu Aug 08, 2019 1:25 pm

Fixed #1 adding the following rewrite rules, sorry

Code: Select all

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ app.php [QSA,L]

User avatar
Lumpy Burgertushie
Registered User
Posts: 66849
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: new site and some styling (footer links) questions

Post by Lumpy Burgertushie » Thu Aug 08, 2019 7:06 pm

did you upload and install the new style?

did you set it as default and override user so we can see it?


right now, when I visit your site, I am seeing prosilver.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

urzh
Registered User
Posts: 126
Joined: Mon Aug 05, 2019 1:51 pm
Name: Robert

Re: new site and some styling (footer links) questions

Post by urzh » Fri Aug 09, 2019 2:59 am

Yes and i made default. I don't know what you mean by the rest, screenshots below
CapturFiles_1.png
CapturFiles.png

User avatar
warmweer
Registered User
Posts: 3038
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

Re: new site and some styling (footer links) questions

Post by warmweer » Fri Aug 09, 2019 3:49 am

urzh wrote:
Fri Aug 09, 2019 2:59 am
Yes and i made default. I don't know what you mean by the rest, screenshots below
Image
I'm not sure about this but shouldn't "inherits from" show prosilver?
The year is 2192. The British Prime Minister visits Brussels to ask for an extension of the Brexit deadline. No one remembers where this tradition originated, but every year it attracts many tourists from all over the world.

User avatar
Lumpy Burgertushie
Registered User
Posts: 66849
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: new site and some styling (footer links) questions

Post by Lumpy Burgertushie » Fri Aug 09, 2019 6:58 am

normally it would but it doesn't have to if there is no reason to inherit anything from prosilver.

urzh: you need to go to the admin panel, board settings. choose your custom style for default and guest and then click yes for override users.

then purge the cache.

robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

urzh
Registered User
Posts: 126
Joined: Mon Aug 05, 2019 1:51 pm
Name: Robert

Re: new site and some styling (footer links) questions

Post by urzh » Fri Aug 09, 2019 12:09 pm

Ok thanks, its working now.

Should I update the "used by" for the custom theme with bots? I'm confused by the difference in numbers. I set prosilver custom to inherit from prosilver again.
CapturFiles.png

User avatar
Lumpy Burgertushie
Registered User
Posts: 66849
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: new site and some styling (footer links) questions

Post by Lumpy Burgertushie » Fri Aug 09, 2019 1:00 pm

no, that will take care of itself.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

urzh
Registered User
Posts: 126
Joined: Mon Aug 05, 2019 1:51 pm
Name: Robert

Re: new site and some styling (footer links) questions

Post by urzh » Fri Aug 09, 2019 1:15 pm

thanks for the help again and getting me familiarized, topic closed

Post Reply

Return to “[3.2.x] Styles Support & Discussion”