Smarty Purl Parameter Plugins is a cool open-source tool you can use for free! It’s totally platform-independent and runs on PHP. Basically, it’s made to be a plugin for Smarty, which helps you manage GET URL parameters in your web apps.
This plugin makes it super easy to handle hyperlinks in your Smarty template files. It includes two parts: apurl and ppurl. Both of these plugins work together to help you manage those tricky URL parameters.
Installing the plugin is a breeze! First, just download the latest tarball from Softpedia. After that, pick a spot on your computer to save it. Once that's done, extract the contents using any archive manager you like. Finally, move all the .php files from the ‘src’ directory into your Smarty plugin folder. Easy-peasy!
After installation, you’ll want to check if everything's working right. You can do this by testing it on a blank page with the purl_test.tpl
file that you'll find in the ‘test’ folder of your source archive. If you're curious about more details, check out the project’s homepage here.
If you want to link to another document while keeping all the current page's parameters intact, just use this code: {ppurl path="other.php"}
. For example, if your current URL looks like main.php?sid=658474679697&print=1
, it'll change into other.php?sid=658474679697&print=1
.
If we look closer at how Smarty Purl Parameter Plugins works, we see it’s made up of just three PHP files. Yep, it's all written in PHP! Currently, you can grab this plugin on GitHub. It's been tested successfully with the latest stable version of the Smarty PHP template engine and works great on both 32-bit (x86) and 64-bit (x86_64) Linux distributions.
Go to the Softpas website, press the 'Downloads' button, and pick the app you want to download and install—easy and fast!
SoftPas is your platform for the latest software and technology news, reviews, and guides. Stay up to date with cutting-edge trends in tech and software development.
Subscribe to newsletter
© Copyright 2024, SoftPas, All Rights Reserved.