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

Xen:callback tag [Deleted]

Discussion in 'Development Tutorials and Resources' started by AndyB, Jul 1, 2013.

  1. AndyB

    AndyB Well-Known Member

    AndyB submitted a new resource:

    Xen:callback tag - In Xenforo 1.2 a new tag called <xen:callback> was introduced

    Read more about this resource...
  2. Nobita.Kun

    Nobita.Kun Well-Known Member

    Awesome tutorial :p
  3. Jeremy

    Jeremy Well-Known Member

    In your example, the inclusion of banner.php is rather unnecessary since the code can be placed directly into the getHtml function you have defined. However, if you need to include PHP files, this is a rather simple way to accomplish it (ie, including another application's files).
    ExpertPixels.com likes this.
  4. RoldanLT

    RoldanLT Well-Known Member

    Nice tutorial (y)
  5. AndyB

    AndyB Well-Known Member

    I prefer to use an 'include' so that I can keep all my php files in one folder for easy access and editing.
    ExpertPixels.com likes this.
  6. ExpertPixels.com

    ExpertPixels.com Well-Known Member

    I do like your resource as it's basically what i have been doing / learning the past few days, I will also be providing a detailed tutorial for how to create a custom front page using this method (I am still playing around with my own so once it's complete / i am happy with it i shall post my tutorial and templates required for this).

    Yes i agree, I am doing the same.. what i have done is created a folder called "Expertpixels" and have placed it like so: myxfinstall.com/library/Expertpixels/ <--- I then have separate folders here so that i can group my custom templates into sections just to make it easier for me to work with / easier to find if i need to edit any..

    For example, any files that i have created that are used on my front page are found here: myxfinstall.com/library/Expertpixels/frontpage/ below is a example of my news template:

    myxfinstall.com/library/Expertpixels/frontpage/news.php <-- this file is used on my home tab / front page to display the first post of several threads from a forum in which i post news and updates related to my latest style releases.

  7. xf_phantom

    xf_phantom Well-Known Member

  8. Marcus

    Marcus Well-Known Member

  9. Motobaka

    Motobaka Active Member

    I need to call a table to a widget form an xml. I have a php file could I use this? I have widget framework and it hasta a php callback widget. Any ideas on how to do this?

    Im completely out of my league with this.
  10. Marcus

    Marcus Well-Known Member

    Honestly, it does not sound so easy. And there would be a lot of information needed to help you out. Maybe you could ask the developer of the widget?
    Motobaka likes this.
  11. Motobaka

    Motobaka Active Member

    Thanks, I will try that.
  12. AndyB

    AndyB Well-Known Member

    This resource has been removed and is no longer available for download.
  13. xf_phantom

    xf_phantom Well-Known Member

    Why was this deleted?
  14. Chris D

    Chris D XenForo Developer Staff Member

    AndyB seems to have decided that the forum for development discussions is a better place to store tutorials than the dedicated system we have for storing tutorials.
  15. AndyB

    AndyB Well-Known Member

    Chris is correct, I moved a few of my instructions that were in the Resource area to threads. I prefer to only have my add-ons in the Resource area.

    You can find the discussion about the Xen:callback tag at the following link:


Share This Page