Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Passing parameters from template to custom .php files

Featured Lock Resolved Task
Hi all,

I was wondering if I could get some help here with my issue.
I have a defined custom field named 'parameter' in tempalteDetails.xml and the value of that field is being entered from backend/template settings. I need to pass that value to index.php and one more custom.php layout.

I get that parameter/value in index.php by: $this->helix3->getParam('parameter')
But I can't do that in the individual custom.php file.

Is there a way to increase the scope of the Helix template variables so you can access and use those parameters from a custom.php layout?
Are there any settings where you can set what layouts/files can use parameters from template?

Thanks!

1 Answers

Toufiq - Staff

More than a month ago #Permalink
Hi,

Thanks for your query. We are really sorry to say that, we don't allow customization support. We are restricted to give custom support. I hope you will understand.

-Thanks


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 148
Toufiq

Toufiq

Total Accepted Answers: 103
Sifat

Sifat

Total Accepted Answers: 83
Kamruzzaman Alam

Kamruzzaman Alam

Total Accepted Answers: 2
DS

Dustin Swayne

Total Accepted Answers: 1

116

Templates

299304

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us