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

template

  1. CMTV

    XF 2.0 <xf:radiorow class attribute is not working

    In public templates class="..." attribute is not working for <xf:radiorow tag. For example this code: <xf:radiorow class="js-mathTypeSwitcher" name="math-type"> <xf:option value="inline">{{ phrase('Math_inline') }}</xf:option> <xf:option value="block">{{ phrase('Math_block')...
  2. SyTry

    XF 2.0 Question about a script for xenforo 2

    Hello, I have a script made for XenForo 1.5 and I want to convert it to XenForo 2.0. There are 3 lines blocking me : $('iframe.redactor_textCtrl').contents().find('body').html(txt); $('iframe.redactor_textCtrl').contents().find('body').select()...
  3. Yugensoft

    XF 2.0 Using admin template on public side

    Hi, I want to use admin:forum_selection_macros in a public template I get this error: "admin:forum_selection_macros is unknown (src\XF\Template\Templater.php:564)" It's trying to get the template from code_cache\templates\I1\s1\admin, which doesn't exist (only ...\public exists). How do I...
  4. Sal Collaziano

    XF 1.5 Can't edit templates after moving to a different domain and folder...

    Is there any scenario that would make it difficult to edit/change templates after moving the forum to a different domain and folder structure? Everything appears to be working okay other than being able to save template changes...
  5. M

    Not a bug Default template/themes - Template public:thread_view error: Received invalid UTF-8 for string column [message]

    It could make the message does not display (blank). InvalidArgumentException: Template public:thread_view error: Received invalid UTF-8 for string column [message] src/XF/Mvc/Entity/Entity.php:685 Stack Trace #0 src/XF/Mvc/Entity/Entity.php(572): XF\Mvc\Entity\Entity->_castValueToType('Khi...
  6. Ali Ahmed

    XF 2.0 staff bar file template

    Hi Where is the template file for editing the login and register things like icons see the screenshoot. i can't find it out in admin panel thanks for help
  7. whitesky

    Implemented [XF2] Multi-line property type like XF1

    Hello, enjoying the features so far in XF2 but would love to see the multi-line property make a return to XF2. Many users of my themes really loved the ease of adding content directly into their themes by using this, without having to rely on a plugin or performing template edits. It's also...
  8. CMTV

    XF 2.0 PHP <xf:codeeditorrow...

    Hi! I am trying to add PHP <xf:codeeditorrow in my admin template. I tried this code: <xf:codeeditorrow name="test_name" value="..." mode="php" data-line-wrapping="true" class="codeEditor--autoSize" /> But I get an error every time I hit...
  9. C

    XF 2.0 Styling a "POST"

    Ok, crazy question, but I want to use the forum to post what I consider "articles". I am wondering if there are any 'templates' that would stylize a post. Something I can replicate over and over again to keep all similar posts the same. I have seen BBcode templates, but those are mostly for...
  10. CMTV

    XF 2.0 How use user custom field in .less template?

    Hi! I have a custom user field called test_color. How can I use the value of this field in extra.less or other less templates? Is there a way to do so without involving xenForo development mode and writing addons?
  11. whitesky

    Modern Gamer 1.0.0

    Modern Gamer is an amazing new responsive gaming theme, bringing powerful theme features and customization. Perfect for esports, gaming teams both casual and competitive alike, Modern Gamer is the ultimate sleek and professional gaming template for your forum. Boasting incredible features out...
  12. WeaponOwl

    XF 2.0 TO_MANY relation and templates

    Hello. I see very strange behaviour. I have entity 'MissionRecord' with TO_MANY relation to 'NpcMissionRecord', if try load this entity with relation using default finder $this->finder('.../MissionRecord') ->with('NpcMissionRecord') ->where('id', $id) ->fetch(); i receive...
  13. semprot

    XF 1.5 How to Modify Admin Template using Add On

    How to modify admin template using add-on system? I know how to modify admin template using debug mode, but i don't want it because change will be lost on each uprgrade. I can create add on to modify normal template such as here...
  14. whitesky

    XF 1.5 Access the background-image value from a Style Property?

    Wondering if it's possible to access just the background-image value of a standard CSS based property. For example, we could call from a template: .content { color: @primaryContent.color } .. or even render out all background items as a set: .content { {xen:property...
  15. CleanTalk Team

    XF 2.0 Addon development: edit register template

    Hello, we're making an application for XF2 and we need to change the default register template by adding a custom hidden field to it when plugin is installed (next to reg_key, timezone and xf_token). Any tips how could we do this?
  16. CMTV

    XF 2.0 Including external library (js and css)

    How to include external library (js and css files) in specific template that requires jQuery? I tried this code in template forum_view: <xf:head option="questionthreads_iconpicker"> <!-- Iconpicker styles --> <link rel="stylesheet" href="{{...
  17. CMTV

    XF 2.0 LESS "when" is not working

    I have created my custom style variable questionthreads_isStylingBestAnswerUserBg. It has Boolean value type. It is set to true. Now in my LESS template I have this code: .container when (@xf-questionthreads_isStylingBestAnswerUserBg = true) { background: #000; } The problem is that this...
  18. tmoflash

    Need Designer

    I was asking if there is a place on the forums hear to request a designer for my site. I am not on here all the time and I did look around very briefly and didn't see a place to post this request. Thanks, tmo
  19. CMTV

    XF 2.0 Extending <xf:avatar.../> template tag functionality

    Hi! I extended user entity structure and added custom column is_pixelated to it. Now I am trying to make every avatar of those users that have true in is_pixelated column to have image-rendering: pixelated CSS property in avatar img tag. xenForo uses <xf:avatar.../> template tag to display...
  20. CMTV

    XF 2.0 Switching thread option

    Hello! First of all, I have to say that it is really hard for my to get into all this xF core and addon structure, relations, models and etc. but I am trying my best to understand this. I used to create Wordpress plugins before and that process was fairly easy. So, let's get to the point. I am...
Top