Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

HAve block XML up.

Sign in to follow this  


For a while now I have been debation on how to do blocks on the php CMS system I am doing, I want it to be able to be used in my templates and not screw with the templater. I have found a way, I have a function that takes what the templater returns(after parsing all the template stuff in it, it will return the contents) it runs through and then parses my block xmlish code.

Here is an example of the code that it takes to make a block in my system.

Look here is a block!

My block XML causes major pwnage


Here is what it looks like.
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!