Permition for Cross domain access

Technical Support

Suggested Topics


  • 0 Votes
    14 Posts
    2k Views

    @julian I've solved the problem. Thank you very much!

  • Cant Access ACP

    Technical Support
    0 Votes
    23 Posts
    7k Views

    @julian I do not think the problem is a DB issue, because i can log in as a user and use all the feature available on the platform but login as admin to the control panel is not possible. getting 504 error BAD gateway.

    Please advise.

  • 0 Votes
    10 Posts
    4k Views

    @Maahi The error message tells you what you need to know. In this case, nginx cannot start because there is already something bound to port 80. Apache? NodeBB? You need to figure this out.

  • Accessing data inside header.tpl?

    Moved Unsolved Technical Support
    0 Votes
    13 Posts
    3k Views

    Here is what I have done, I finally figured out how to get a list of categories, I kind of like this method but I hate having to pass an array, but it is what it is.

    var theme = {}; var catLength = [1,2,3,4,5,6,7]; var Categories = module.parent.require("./Categories"); theme.init = function(params, callback) { Categories.getCategoriesData(catLength, function(err, data) { data.forEach(function(something, index) { if(something) { console.log(data[index].name); } }); }); callback(); }; module.exports = theme;

    Cool now I have all the categories and the next step is to create a dynamic header based on the categories, the problem is I am so confused on how to do that, I think I am missing something very obvious!

    I am inside a theme and I want to pass this into the precompiled template! 🙂

  • 0 Votes
    4 Posts
    1k Views

    @julian

    Hahaha, good question. I didn't even notice. I just googled for the documentation to get to it quickly. I didn't even pay attention to the URL.