jonsecu Posted August 8, 2012 Share Posted August 8, 2012 Hi... I am building a new theme. I am placing some custom links to other fixed pages (such as twitter profile page, facebook... ) around the site. Right now I am just writing the ahref tag with the fixed link, however I am wondering if it is possible to create a variable to be able to write the variable name everytime I want to build one of these fixed links, and then just update the gobal variable to assign it a value. I mean this: This: <a href="{my-variable{">Link</a> where {my-variable}=www.prestashop.com Instead of this: <a href="www.prestashop.com">Link</a> Is this possible? Thanks. Link to comment Share on other sites More sharing options...
Krystian Podemski Posted August 9, 2012 Share Posted August 9, 2012 You can assign some special vars overriding the FrontController.php and variable values can be applied from Configuration::get() method. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now