Sponsored Content
The Lounge What is on Your Mind? Mobile: Advanced Forum Statistics to Forum Home Page Post 303038905 by Neo on Monday 16th of September 2019 11:14:10 PM
Old 09-17-2019
Quote:
Originally Posted by Akshay Hegde
Happy to know that pagespeed helping, I understand rewriting theme would take time, also testing on cross browser and devices. I think bootstrap affix plug-in can be used to top header navigation to hide the forum title say user scrolls more than 30px or height of navigation bar.

Here is demo : Bootply snippet - Bootstrap Top Header, Affix Nav, Bottom Footer

Attachment 7847
Hi Akshay,

I think it is a matter of personal choice to toggle-hide the mobile header or not based on scroll position so will not be addressing or changing this anytime soon.

Honestly, I do not see this is a priority at this time and have a lot more important things I need to do.

Also, the link you provided did not provide any useful information that I could see. There was no code to download and so I did not find anything of interest at that link, to be totally honest (maybe because I viewed it on my desktop). Anyway, I have no idea what that site is or what that link is supposed to show me; other than it it has a big "sign up form" on the bottom... .

Since you have access to the source code and Chrome dev tools, and you know how to use them, it would have been helpful if you had of provided a piece of Javascript instead and said "could try this JS code to hide the navbar based on scroll position"...... that would have been helpful in this case Smilie

I always think this approach is better regarding formatting suggestions for site..... just provide the suggestion "in working easy to cut-and-paste into our site code".... which saves me a lot of time. I am pretty sure you can do that Smilie Right?

Please keep in mind I am not trying to be demotivating by my reply above; but if you get into the habit of posting "Neo please do this" and "Neo please do that" without providing working code, I will reply like this over and over; as there is not shortage of ideas; but what I need is people to open their web dev tools, look at the source, and provide working code (CSS, Javascript, jQuery) and not just "Neo, please do this and that" suggestions for the site.

Thanks for understanding!
This User Gave Thanks to Neo For This Post:
 

4 More Discussions You Might Find Interesting

1. What is on Your Mind?

Forum Update: Disabled Home Page Forum Statistics for Guests (Not Registered)

Just a quick update; to speed up the forums, I have disabled the forum statistics on the home page for non registered users. No changes for registered users. (0 Replies)
Discussion started by: Neo
0 Replies

2. What is on Your Mind?

JQuery and CSS Flex Code for Responsive Forum Home Page

So far, I have completed making the home page more responsive (except for the forum stats at the top and the WOL box at the bottom, they still use scroll bars). xevV3_iZ8-s For full screen use the link below and set your YT resolution to 1080p60 HD https://youtu.be/xevV3_iZ8-s Here is... (1 Reply)
Discussion started by: Neo
1 Replies

3. Web Development

PHP Changes to WOL for New Forum Home Page

Wrote some PHP code today to make the Who Is Online (WOL) in the forums work properly with the new home page: Wrote this global plugin to add the location to both the user table (for members) and session table (for guests + registered users) <?php if (THIS_SCRIPT != 'misc' and... (0 Replies)
Discussion started by: Neo
0 Replies

4. What is on Your Mind?

Quick Bootstrap Reformat of Forum Staff Page

This page still needs work (complete redesign), but in the meantime, I quickly added some Bootstrap classes to "pretty it up": https://www.unix.com/staff.php https://www.unix.com/staff.php (0 Replies)
Discussion started by: Neo
0 Replies
Template::Toolkit(3)					User Contributed Perl Documentation				      Template::Toolkit(3)

NAME
Template::Toolkit - Template Processing System Introduction The Template Toolkit is a collection of Perl modules which implement a fast, flexible, powerful and extensible template processing system. It is "input-agnostic" and can be used equally well for processing any kind of text documents: HTML, XML, CSS, Javascript, Perl code, plain text, and so on. However, it is most often used for generating static and dynamic web content, so that's what we'll focus on here. Although the Template Toolkit is written in Perl, you don't need to be a Perl programmer to use it. It was designed to allow non- programmers to easily create and maintain template-based web sites without having to mess around writing Perl code or going crazy with cut- n-paste. However, the Template Toolkit is also designed to be extremely flexible and extensible. If you are a Perl programmer, or know someone who is, then you can easily hook the Template Toolkit into your existing code, data, databases and web applications. Furthermore, you can easily extend the Template Toolkit through the use of its plugin mechanism and other developer APIs. Whatever context you use it in, the primary purpose of the Template Toolkit is to allow you to create a clear separation between the presentation elements of your web site and everything else. If you're generating static web pages, then you can use it to separate the commonly repeated user interface elements on each page (headers, menus, footers, etc.) from the core content. If you're generating dynamic web pages for the front end of a web application, then you'll also be using it to keep the back-end Perl code entirely separate from the front-end HTML templates. Either way, a clear separation of concerns is what allow you to concentrate on one thing at a time without the other things getting in your way. And that's what the Template Toolkit is all about. Documentation The documentation for the Template Toolkit is organised into five sections. The Template::Manual contains detailed information about using the Template Toolkit. It gives examples of its use and includes a full reference of the template language, configuration options, filters, plugins and other component parts. The Template::Modules page lists the Perl modules that comprise the Template Toolkit. It gives a brief explanation of what each of them does, and provides a link to the complete documentation for each module for further information. If you're a Perl programmer looking to use the Template Toolkit from your Perl programs then this section is likely to be of interest. Most, if not all of the information you need to call the Template Toolkit from Perl is in the documentation for the Template module. You only really need to start thinking about the other modules if you want to extend or modify the Template Toolkit in some way, or if you're interested in looking under the hood to see how it all works. The documentation for each module is embedded as POD in each module, so you can always use "perldoc" from the command line to read a module's documentation. e.g. $ perldoc Template $ perldoc Template::Context ...etc... It's worth noting that all the other documentation, including the user manual is available as POD. e.g. $ perldoc Template::Manual $ perldoc Template::Manual::Config ...etc... The Template::Tools section contains the documentation for Template::Tools::tpage and Template::Tools::ttree. These are two command line programs that are distributed with the Template Toolkit. tpage is used to process a single template file, ttree for processing entire directories of template files. The Template::Tutorial section contains two introductory tutorials on using the Template Toolkit. The first is Template::Tutorial::Web on generating web content. The second is Template::Tutorial::Datafile on using the Template Toolkit to generate other data formats including XML. The final section of the manual is Template::FAQ which contains answers to some of the Frequently Asked Questions about the Template Toolkit. You can read the documentation in HTML format either online at the Template Toolkit web site, http://template-toolkit.org/ <http://template-toolkit.org/>, or by downloading the HTML version of the documentation from http://template-toolkit.org/download/index.html#html_docs <http://template-toolkit.org/download/index.html#html_docs> and unpacking it on your local machine. Author The Template Toolkit was written by Andy Wardley (<http://wardley.org/> <mailto:abw@wardley.org>) with assistance and contributions from a great number of people. Please see Template::Manual::Credits for a full list. Copyright Copyright (C) 1996-2008 Andy Wardley. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See Also Template, Template::Manual, Template::Modules, Template::Tools, Template::Tutorial perl v5.12.1 2009-07-20 Template::Toolkit(3)
All times are GMT -4. The time now is 12:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy