XF 2.1 putting links into the footer

tribedude

Active member
We have just upgraded from 1x -> 2.x and are slowly tweaking the design.

We would like to put a line of links to our other domains across the bottom of the footer.

When I open the footer template it looks completely different from the 1.x version and I really don't even know where to begin. I'm not a css guy and it seems this is what its calling for.

How can we put a link to our other site https://tribe.ca centered in the footer?

Sorry for the super n00b question here.
 

Tealk

Well-known member
So the best thing to do is to create a template modification:
1564064899200.png

and in "Replace" you put in your links
e.g.
HTML:
<a href="xxx">xxx</a>
<a href="xxx">xxx</a>
<a href="xxx">xxx</a>
<a href="xxx">xxx</a>
<a href="xxx">xxx</a>
 

tribedude

Active member
And why shouldn't I be able to if I am logged into as an Admin in Admin CP. Is there a reason for making such a simple (and I would imagine very common) modification so difficult?
 

ozzy47

Well-known member
Make sure your user has the permission “Manage styles, style properties, and templates” selected.
 

djbaxter

Well-known member
Well

I am a Super Administrator so I should have permission, right?
Not necessarily. Another Super Administrator, perhaps the one who promoted you if you are not the owner, can restrict what permissions are given to other Super Administrators.
 

tribedude

Active member
Not necessarily. Another Super Administrator, perhaps the one who promoted you if you are not the owner, can restrict what permissions are given to other Super Administrators.
Nobody escalated me, but I will check again then on whether I have permissions to make template modifications. Where exactly is the permission for template modification switch located? In case I missed it somewhere else in the admin CP.
 

djbaxter

Well-known member
Nobody escalated me, but I will check again then on whether I have permissions to make template modifications. Where exactly is the permission for template modification switch located? In case I missed it somewhere else in the admin CP.
Apologies.

I am still administering some vBulletin forums and it appears I was confusing the two again. Restricting admin permissions is a vBulletin feature but apparently not a Xenforo feature:


Administrators

Administrators are users that can access and perform actions within the administrator control panel. Making someone an administrator does not inherently give them additional access to the forum.

There are two types of administrators: super and regular. Super administrators always have access to all parts of the control panel and can add/remove other administrators. Regular administrators are controlled by the specific permissions applied to them. They are unable to add/remove administrators.
 

djbaxter

Well-known member
Even if we try to edit an existing (disabled ) template we get this error message. Also, in spite of what it says, none of the fields are editable.
Oh... I didn't realize that's the error you've been seeing./

You may need to enable Debug or Development mode:

Add this to the bottom of your config.php file:

Code:
// need debug = true for editing some cron jobs and some other features
$config['debug'] = true;
Important! Remember to disable this when you are finished:

Code:
// need debug = true for editing some cron jobs and some other features
// $config['debug'] = true;
Alternatively, this addon makes it easy to do this from your AdminCP without editing the config.php file:

 

beerForo

Active member
Can you tell me what this was exactly? So we can see if it is the cause of our issue?
Sure. On that page when you get the error, in Chrome copy and paste the error from the Console (F12) here or to XF support.

If it is a ModSecurity issue, send it to your host and ask them to whitelist the rule that is causing it.
 
Last edited:
Top