View Full Version : Inserting HTML
allblue
12-29-2005, 05:36 AM
Hey guys,
I found this site from www.photoblogs.org and installed pixelpost onto my site.
The only question I have is whether or not it is possible to install the metatag reqiured for photoblogs.org into the index.php file for pixelpost?
The tag needs to go in the < head > of an html document, but php doesn't have this. Is there anyway to insert HTML code such as the pixelpost authentification and web stats into the index.php file?
Thanks
Connie
12-29-2005, 07:16 AM
Hello and welcome here!
please understand that all HTML is done in the templates which you activate in admin section / options / template
so you can enter these tags or any HTML tags into your image_template.html and everything will be ok
no need to touch index.php at all for that!
The tag needs to go in the < head > of an html document, but php doesn't have this. Is there anyway to insert HTML code such as the pixelpost authentification and web stats into the index.php file?
If you want to write code for your public site of your website you need to do this in your image_template.html. You could with your code right in the image_template.html aslong it is not PHP. But a nicer solution would be when you write an addon. More information about this read this (http://forum.pixelpost.org/showthread.php?t=16).
If you want to write code for the admin part you need make an admin-addon. This is only possible in Pixelpost 1.5. More information about this read this (http://forum.pixelpost.org/showthread.php?t=2931).
You must use the function:
add_admin_functions ($function_name,'admin_html_head','','');
Connie
12-29-2005, 07:30 AM
eon,
aren't you shooting with canons at sparrows? ;=)
just enter this one tag into images_template.html and all will be ok...
aren't you shooting with canons at sparrows? ;=)
Hahhaha, a nice speaking again. I'm gonna collect them ;)
Yes, an addon is maybee a little bit overdone.
allblue
12-29-2005, 03:04 PM
Thanks for the replies guys
All working smoothly now :)
garuda
02-20-2006, 09:17 AM
Just used the trick, and it works fine ! Thanks a lot guys !
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.