• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

template

  1. L

    <select> inside a <xen:option>

    I'm trying to create a template modification that adds a new option to a radio unit in an admin template. This existing radio unit looks like so: <xen:radiounit label="..." name="..."> <xen:option value="...">...</xen:option> ... </xen:radiounit> I want my new option to contain a...
  2. whitesky

    Weird glitch with Style Property used in conditional statement?

    Searched through the forum and didn't see this specifically asked before. I've tested the following from Conditionals page to show content to the default four usergroups: <xen:if is="{xen:helper ismemberof, $visitor, 1,2,3,4"> content here... </xen:if> This works fine when testing in each...
  3. CyberAP

    PHP min() function alternative in templates?

    Is there any way to have something similar to min() function in PHP but in templates?
  4. C

    XF 1.5 Add a custom box to xenforo

    Hello all, I am using a pixelexit theme and wanted to know if there was a global way to add a boxes throughout the forum. Essentially, I would like to add a sidebox and a header box that is global throughout the forum for internal advertising. I have a couple of banners that I would like to use...
  5. LPH

    XF 1.5 Template Syntax

    What is the syntax for trying to get a particular category by title loaded then do a callback? In PHP it would look something like this: if ( $category.title == 'Business & Finance' ) { echo "Yay"; } What would it be for the template syntax? I tried this but fails to save. <xen:if...
  6. Vastyles

    XF 1.5 Display page_x_of_y in header

    Is there a way to display the pagenav bits within the header template? So if there is a pagination it would display the page x of x? <xen:if is="{$pageTotal} > 1"> {xen:phrase page_x_of_y, 'current={$currentPage}', 'total={$pageTotal}'} <xen:else />...
  7. VanillaNeko

    French translation for ACP Extended (ACPE) 1.7

    This Add-On features numerous enhancements for XenForo and especially the ACP, and which improve many security-related functions, the security of your XenForo. The following functions provides you the ACP Extended (please look at the images - more on xenmade.com): ACP -> Home: Displayed...
  8. R

    Not a bug Templates variables & require do not work when the dependence is too much

    So let's say I have a template template_base and a template_module1 and template_nice_input_box. template_base <xen:include template="threemagw_auto_trigger" var1="supi" /> template_module1 Something with {var1}. <xen:require js="js/MyAddon/ThisIsAnIsland.js" /> <!-- This is not embedded! -->...
  9. Jawaad

    XF 1.5 How to add new URL variable template for http and https

    I have running my forum with http protocol. After I change the url to https protocol, the problem is share facebook count, it doesn't count from http. The suggestion from facebook is using old url. So, how can I change the url share facebook from https to http? I want to edit template...
  10. T

    XF 1.5 How can i add my extra css in header.css template

    Hi, I want to add my extra css in these classes "#header .pageWidth .pageContent". I found it in header.css template but it is something like that {xen:helper clearfix, '#header .pageWidth .pageContent'} and on front-end its displaying how can i add my own custom css in the template which...
  11. au lait

    ACP Extended (ACPE) 1.9.0

    DEMO This Add-On features numerous enhancements for XenForo and especially the ACP, and which improve many security-related functions, the security of your XenForo. The following functions provides you the ACP Extended (please look at the images - more on xenmade.com): ACP -> Home: Displayed...
  12. P

    XF 1.5 Need help with Header/Banner Redirect Link

    I'm trying to optimize the header banner on our Forums so that when clicked it redirects to the Forum homepage but can't figure out how. Please help me. :D I have a problem with the Logo It's showing up as a CSS background image, but I don't know where the attributes for it are, therefore, I...
  13. lsxforo

    How to getting template name?

    Dear, I have a question too. Is there way to get an own template name(unique) that inside certain template? :rolleyes:
  14. Torrey Leonard

    XF 1.4 Incorporate WordPress Header with XenForo

    Hey XenForo, For the past few days, I've been searching endlessly for a way to integrate my forum with WordPress. I've reached the conclusion that, well- it's difficult. At this point, I've extracted the contents of my header to raw HTML and CSS. However, placing the static HTML in my header is...
  15. R

    Prevent template modifications?

    I can select this options in the templates for the addons I created: There are no more details. So I wonder what effects are when I enable this. In what cases should/may you enable this option?
  16. M

    XF 1.4 sidebar_online_users "Staff online"

    Hey guys, my problem is the sidebar (sidebar_online_users) "staff online" isn't working correctly for me, I'm new to XenForo and it's templates.... Have a look: I hope anyone can help me :/. Yours, Montimedici
  17. nanocode

    Unmaintained [n] Template Security 1.1.0

    Enhance the security on your site using this very basic add-on. There has been a surprising increase in malicious attacks to XenForo sites through injection of malicious code into your templates. Limiting the access of all templates to yourself and a small handful may not always be a...
  18. DevTech

    What in Ticket Support

    I want to ask that what is in the ticket support. Like if we are making template for our community or making changes in the templates and something went wrong and we are unable to fix that then is this kind of support also included in ticket support. And what other kind of supports are...
  19. DevTech

    Learn Theme Editing Xenforo

    As I a checking the demo version of the Xenforo found templates and view something new to me. As from past few months am working on mybb, so just very habitual of it. But now me and my team is planning to shift our forum on XF. Used demo and many things in ACP, everything we want and more will...
  20. L

    Not a bug Cannot edit some templates - bounce to forum index.

    We recently changed some templates in our custom style. Our process is to modify on a local server, export the style XML, then source control the XML. We then import the style on the production server. Right now, the latest changes we have made cause some strange error where trying to edit some...