variable

  1. Pawn Studios

    XF 2.2 Can I Use A Macro To Store A Template Variable?

    There is an array that I use throughout templates and it would seem reasonable to use a macro to store it as the documentation states: "use a macro any place you want to produce the same thing multiple times in multiple different files". I would like to then be able to pass it to a callback...
  2. R

    XF 2.2 Can I update $xf.options.jsLastUpdate manually?

    I would like to update $xf.options.jsLastUpdate to force reloading of some css files (..mycss.min.css?d={$xf.options.jsLastUpdate} ) that are in the browser cache. Can I change this somewhere in the ACP?
  3. T

    XF 2.0 How can I copy the register_form into a other page? + Custom Thread Field with img?

    Hey, guys, I've been working very hard on my forum lately, so I have a few questions to answer. The first question: I am currently trying to display the content of register_form on a different page. (So that people can register on another page where they also have their login). So I simply tried...
  4. CyberAP

    Pass a variable to <xen:require css="" />?

    It is possible to pass a variable into <xen:require css="" /> statement? For example in CSS template I have something like this: .selector { width: {$myVar}px; } In container template I would like to have something like this: <xen:require css="my.css"><xen:set var="$myVar" value="50"...
  5. FloV

    XF 1.5 $url variable in navigation template

    Hey, is there any way i can use the $url variable in the navigation template? Please don't tell me i need custom development for that. Would be cool if there's a way i could use it in that template! :) Thanks a lot in advance Florian
  6. C

    How to insert POST data into MySQL via Form through Xenforo with SQL Injection Prevention

    Hey Everyone, I'm new to Xenforo after moving away from phpBB and love it! However, I am just transferring over my customized pages across and struggling to find an answer to this question. I have searched everywhere high and low for an example but to no avail cant find a solution which I hope...
Top