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

Random Questions Answered

Discussion in 'General XenForo Discussion and Feedback' started by Kier, Jul 29, 2010.

Thread Status:
Not open for further replies.
  1. Kier

    Kier XenForo Developer Staff Member

    Q: Is there a list of the colours used in XenForo?

    A: The majority of our colours are listed here:

    XenForo Colour Palette.png
     
    Eagle, Adham.M, Mike Creuzer and 19 others like this.
  2. Ashley

    Ashley Business Guy Staff Member

    Q: May XenForo be used in domain/site names?

    A: XenForo is a limited company, registered in the UK. The company has a website and a distinctive logo. The company also now has a history, which is currently short, but is growing. Therefore the company can demonstrate the right of trademark.

    With this in mind, the company wants to protect that trademark, understandably. Therefore, we are not giving permission for XenForo to be used, as part of a site name or domain name (or any name).

    Clearly this has potential to become (or has already become) an emotional matter and really, it is quite simple. The point is simply about protecting XenForo trademark. We would be negligent if we did not protect our trademark; for the benefit of our customers future. No one wants to become involved in wrangling over trademark issues, for obvious reasons and we ask that we are not put in a position to have to consider whether to take action.


     
    Eagle, ZeWildGuy, Fuhrmann and 28 others like this.
  3. Kier

    Kier XenForo Developer Staff Member

    Q: How do I use my favourite HTML / CSS editor to edit XenForo templates?

    A: XenForo exposes a WebDAV interface to the templates system.

    Q: WebD... er, what?

    A: WebDAV is a protocol that sits on top of HTTP and allows items on a web server to be treated as files.
    Wikipedia definition

    Q: How do I use it?

    A: To use WebDAV with XenForo, you must connect a WebDAV client to the admindav.php file on your webserver and provide your XenForo administrator login details.

    These are example setup screens from Adobe Dreamweaver:
    Dreamweaver-WebDAV.png

    And this is the equivalent configuration screen in CyberDuck:
    CyberDuck.png

    XenForo must be running in debug mode for the WebDAV connection to be active, and we would recommend that you restrict access to admindav.php through your web server (allowing only your own IP access) and also limit debug mode to your IP address alone, by including code like this in your config.php file:
    PHP:
    if ($_SERVER['REMOTE_ADDR'] == '127.0.0.1')
    {
    $config['debug'] = true;
    }
    (replacing 127.0.0.1 with your own IP address).

    While both Windows and Mac provide their own WebDAV clients, neither is particularly good for this job, and we would recommend that you use a third party tool. The following tools have been extensively tested and shown to work very well:
    • Macromedia Dreamweaver (Windows and Mac)
    • CyberDuck (Windows and Mac)
    • Panic Coda (Mac)
    Update June 16 2011 - Cyberduck status updated to reflect the availability of a Windows version.
     
    Eagle, bjornstrom, dwdmadmac and 19 others like this.
  4. Kier

    Kier XenForo Developer Staff Member

    Eagle, krstep, James and 1 other person like this.
  5. Kier

    Kier XenForo Developer Staff Member

    Eagle, Kurisu, HydraulicJack and 3 others like this.
  6. Kier

    Kier XenForo Developer Staff Member

    Eagle, EQnoble, dieketzer and 2 others like this.
  7. Kier

    Kier XenForo Developer Staff Member

  8. Kier

    Kier XenForo Developer Staff Member

    Q: Is there a definitive list of tags and functions that can make up the XenForo template syntax?

    A: There is no comprehensive list published at this point, but you don't need to be an expert to read the following and work out what is available for the public (non-AdminCP) side of XenForo:

    library/XenForo/Template/Compiler/Function/
    Classes within this directory are represented in the template syntax as {xen:functionName}

    library/XenForo/Template/Compiler/Tag/
    Classes within this directory are represented in the template syntax as <xen:tagName />

    Then there are the entries in library/XenForo/Template/Helper/Core.php $helperCallbacks,
    which define {xen:helper functionName, $arg1, $arg2...}

    and the entries in library/XenForo/Template/Helper/Core.php $stringCallbacks,
    which define {xen:string functionName, $arg1, $arg2...}

    There are a few others, but armed with those you should have a good vocabulary of XenForo template syntax.
     
    Cyb3r, Eagle, JJJ and 10 others like this.
  9. Kier

    Kier XenForo Developer Staff Member

    Q: What is {xen:link ...} all about? Is there a basic guide somewhere?

    A: {xen:link ...} is a function within the XenForo template syntax to call the XenForo link builder. All links to XenForo systems within templates should use it.

    There is a basic guide here:
    http://xenforo.com/community/threads/xen-link-guide.15615/
     
    Eagle and EQnoble like this.
  10. Kier

    Kier XenForo Developer Staff Member

    Eagle and EQnoble like this.
  11. Kier

    Kier XenForo Developer Staff Member

    Eagle, Marc and Enigma like this.
Thread Status:
Not open for further replies.

Share This Page