(solved) extra quote in navbar html code

For documentation of changes to the PGSocial Network extension
Post Reply
User avatar
Mandi
Site Admin
Site Admin
Posts: 47
Joined: July 31st, 2023, 8:37 pm
Location: Somewhere, Canada
Contact:

(solved) extra quote in navbar html code

Post by Mandi »

There was an extra quote in the header navbar causing some minor cosmetic issues. To fix this go to ext/pgreca/pgsocial/styles/all/template/event and open the file navbar_header_user_profile_append.html
Locate line 3 which looks like this:

Code: Select all

<i class="icon fa-users fa-fw" {% if FRIENDS_REQUEST_COUNT %} new{% endif %}" aria-hidden="true"></i><strong class="badge{% if FRIENDS_REQUEST_COUNT == 0 %} hidden{% endif %}">{{ FRIENDS_REQUEST_COUNT }}</strong>
Replace with this:

Code: Select all

<i class="icon fa-users fa-fw" {% if FRIENDS_REQUEST_COUNT %} new{% endif %} aria-hidden="true"></i><strong class="badge{% if FRIENDS_REQUEST_COUNT == 0 %} hidden{% endif %}">{{ FRIENDS_REQUEST_COUNT }}</strong>
Post Reply