Skip to content

problem with search page and copyright in footer

Solved Bugs
13 3 3.7k 1
  • wrote on last edited by phenomlab
    #1

    Hi @phenomlab , I cannot click any of the options on the top right side except “tags” button… those buttons cannot be clicked, so I cannot filter the search results…

    Screenshot 2024-03-11 at 19.45.20.png

    additionally, it is not that important, it could be nicer if we can see the top of the “search” title on left top corner…

  • Hi @phenomlab , I cannot click any of the options on the top right side except “tags” button… those buttons cannot be clicked, so I cannot filter the search results…

    Screenshot 2024-03-11 at 19.45.20.png

    additionally, it is not that important, it could be nicer if we can see the top of the “search” title on left top corner…

    wrote on last edited by phenomlab
    #3

    @crazycells This should be fixed now

    fc6a1403-e38c-4fc0-a6cf-ca8f77058028-image.png

    It’s caused by the addition of breadcrumbs into the Harmony theme which alters the page layout. Sudonix uses a heavily customised theme 🙂

    @crazycells said in problem with /search page:

    additionally, it is still not that important, but I believe the info “ 2021-2023 sudonix.org” at the bottom of the page should be 2024… at some point we should stop living in the past and seize the future lol

    Good catch. This has been fixed also using js to calculate the current year so it will roll forward itself in future.

    <script>
    document.getElementById("year").innerHTML = new Date().getFullYear();
    </script>
    
    <div class="copyright">&copy; 2021-<span id="year"></span> sudonix.org</div>
    

    f13303a5-635a-432a-a716-bf5f4ce996e6-image.png

  • Hi @phenomlab , I cannot click any of the options on the top right side except “tags” button… those buttons cannot be clicked, so I cannot filter the search results…

    Screenshot 2024-03-11 at 19.45.20.png

    additionally, it is not that important, it could be nicer if we can see the top of the “search” title on left top corner…

    wrote on last edited by
    #2

    @crazycells additionally, it is still not that important, but I believe the info “© 2021-2023 sudonix.org” at the bottom of the page should be 2024… at some point we should stop living in the past and seize the future lol 🤣

  • Hi @phenomlab , I cannot click any of the options on the top right side except “tags” button… those buttons cannot be clicked, so I cannot filter the search results…

    Screenshot 2024-03-11 at 19.45.20.png

    additionally, it is not that important, it could be nicer if we can see the top of the “search” title on left top corner…

    wrote on last edited by phenomlab
    #3

    @crazycells This should be fixed now

    fc6a1403-e38c-4fc0-a6cf-ca8f77058028-image.png

    It’s caused by the addition of breadcrumbs into the Harmony theme which alters the page layout. Sudonix uses a heavily customised theme 🙂

    @crazycells said in problem with /search page:

    additionally, it is still not that important, but I believe the info “ 2021-2023 sudonix.org” at the bottom of the page should be 2024… at some point we should stop living in the past and seize the future lol

    Good catch. This has been fixed also using js to calculate the current year so it will roll forward itself in future.

    <script>
    document.getElementById("year").innerHTML = new Date().getFullYear();
    </script>
    
    <div class="copyright">&copy; 2021-<span id="year"></span> sudonix.org</div>
    

    f13303a5-635a-432a-a716-bf5f4ce996e6-image.png

  • wrote on last edited by
    #4

    i can not do it Mark.

  • i can not do it Mark.

    wrote on last edited by
    #5

    @cagatay Which part?

  • wrote on last edited by
    #6

    this one

    image.png

  • this one

    image.png

    wrote on last edited by
    #7

    @cagatay That’s in the footer widget on your site. You need to add the js at the bottom of the page including the <script> and </script> tags plus all text in between those, then modify the line I referenced with the updated code.

  • wrote on last edited by
    #8

    code is not working in my js

    <script>
    document.getElementById("year").innerHTML = new Date().getFullYear();
    </script>
    
  • code is not working in my js

    <script>
    document.getElementById("year").innerHTML = new Date().getFullYear();
    </script>
    
    wrote on last edited by
    #9

    @cagatay Should work now. The code

    <script>
    document.getElementById("year").innerHTML = new Date().getFullYear();
    </script>
    

    Needs to be placed at the bottom of the footer widget code 🙂

  • phenomlab phenomlab marked this topic as a question on
  • phenomlab phenomlab has marked this topic as solved on
  • wrote on last edited by
    #10

    mm i added it on js code side ,.) thank you Mark see you did it.

  • mm i added it on js code side ,.) thank you Mark see you did it.

    wrote on last edited by
    #11

    @cagatay if you added it into the ‘js’ custom code area you should remove it from there.

  • wrote on last edited by
    #12

    no deleted nothing there.

  • @crazycells This should be fixed now

    fc6a1403-e38c-4fc0-a6cf-ca8f77058028-image.png

    It’s caused by the addition of breadcrumbs into the Harmony theme which alters the page layout. Sudonix uses a heavily customised theme 🙂

    @crazycells said in problem with /search page:

    additionally, it is still not that important, but I believe the info “ 2021-2023 sudonix.org” at the bottom of the page should be 2024… at some point we should stop living in the past and seize the future lol

    Good catch. This has been fixed also using js to calculate the current year so it will roll forward itself in future.

    <script>
    document.getElementById("year").innerHTML = new Date().getFullYear();
    </script>
    
    <div class="copyright">&copy; 2021-<span id="year"></span> sudonix.org</div>
    

    f13303a5-635a-432a-a716-bf5f4ce996e6-image.png

    wrote on last edited by
    #13

    @phenomlab yes, search page is fixed 🙂 thanks 👍


Did this solution help you?
Did you find the suggested solution useful? Support 💗 Sudonix with a coffee ☕
If your organisation needs deeper expertise around infrastructure, security, or technology leadership, learn more about Phenomlab Ltd. Many of the deeper technical guides behind Sudonix are published there.

Related Topics
  • CTA banner for visitors

    Solved Bugs bug
    3
    1
    2 Votes
    3 Posts
    2k Views
    phenomlab
    @crazycells Yes, because of this code $(document).ready(function () { $(window).on('action:ajaxify.end', function (data) { if (config && config.uid > 0) { // User is logged in, so don't fire any message } else { // Insert content into the selected element var addAfterLastPost = $( "<div class='alert alert-warning alert-dismissible fade show' role='alert'>" + "<p><strong>Hello! It looks like you're interested in this conversation, but you don't have an account yet.</strong></p>" + "<p>Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, " + "and choose to be notified of new replies (ether email, or push notification). You'll also be able to save bookmarks, use reactions, and upvote to show your appreciation to other community members.</p>" + "<p>With your input, this post could be even better 💗"+ "<br><br>"+ "<a style='margin-right:5px;' component='topic/reply/guest' href='/register' class='fw-semibold btn btn-sm btn-warning'>Register</a>" + "<a component='topic/reply/guest' href='/login' class='fw-semibold btn btn-sm btn-info'>Log in</a>" + "<button type='button' class='btn-close' data-bs-dismiss='alert' aria-label='Close'></button>" + "</div>" ); $('ul[component="topic"]').after(addAfterLastPost); } }); }); This was adopted into core as far as I know, so I’ve removed my manual code.
  • Layout Issues/Transparency

    Solved Bugs bug reply transparent
    5
    2
    2 Votes
    5 Posts
    2k Views
    Madchatthew
    @phenomlab said in Layout Issues/Transparency: Does it work properly now? Yes, it does
  • "most votes" ranking option is not respecting the plugin

    Bugs nodebb
    5
    1
    3 Votes
    5 Posts
    2k Views
    phenomlab
    @crazycells Agreed. It takes a more sensible approach. Nobody ever upvotes the first post - it’s usually much further down as the conversation progresses.
  • nodebb error logs

    Bugs nodebb
    6
    2
    4 Votes
    6 Posts
    2k Views
    ahmed
    I just wanted to ask because I don’t have much knowledge about the new installation. Thank you for the explanatory answer.
  • Getting Eror When Started NodeBB

    Solved Configure bug
    7
    1
    2 Votes
    7 Posts
    2k Views
    cagatay
    @phenomlab yes i did. i deleted one of plugin then it started to work normally.
  • Is NTFY working properly on iOS?

    Bugs
    10
    5 Votes
    10 Posts
    4k Views
    crazycells
    @phenomlab thx, the same for us. It sees 1.7.3 as the last version although it is updated to 1.7.4… i will report this to @barisusakli
  • Bug Report

    Solved Bugs nodebb bugs
    47
    1
    26 Votes
    47 Posts
    20k Views
    phenomlab
    @crazycells Good points, thanks. I completely forgot that classes are added - makes life much simpler! EDIT - seems this is pretty straightforward, and only needs the below CSS .upvoted i { color: var(--bs-user-level) !important; } This then yields [image: 3f072f8a-ebfa-4910-8723-73c493b8e4eb-image.png] However, the caveat here is that the .upvoted class will only show for your upvotes, and nobody else’s. However, this does satisfy the original request however I would love to see my upvoted posts more clearly, because currently, when I upvote, nothing on the post tool is changing, it would be nicer if there is an indication that I have upvoted (like a filled or colored triangle?)
  • Nodebb 3.2.2

    Bugs nodebb 3.2.2
    27
    1
    11 Votes
    27 Posts
    11k Views
    phenomlab
    @crazycells yes, I’ve just seen that and modified the post. It seems to only happen if you have a space between the “greater than” symbol and the actual text. Clearly a markdown thing.