PDA

View Full Version : Variable list


Dalantech
Aug-20-2006, 07:05 AM
I searched but could find what I was looking for. Is there a list of PHP variables that SmugMug uses? I'd like to move the login / logout link, the search box, and the shopping cart link on my site, and it would be easier if I new the variables that contain the html for those items. It would be handy to have the variables for things like the gallery categories, featured galleries, most popular photos, etc.

Mike Lane
Aug-20-2006, 07:07 AM
I searched but could find what I was looking for. Is there a list of PHP variables that SmugMug uses? I'd like to move the login / logout link, the search box, and the shopping cart link on my site, and it would be easier if I new the variables that contain the html for those items. It would be handy to have the variables for things like the gallery categories, featured galleries, most popular photos, etc.

I'm no expert, but I'm pretty sure that you won't get anywhere with php on your smugmug site. You can do all of that with javascript however.

Dalantech
Aug-20-2006, 08:03 AM
I'm no expert, but I'm pretty sure that you won't get anywhere with php on your smugmug site. You can do all of that with javascript however.

The custom header area lets you use html, so I'm thinking that PHP script could also be used -unless it's getting filtered...

bwg
Aug-20-2006, 10:08 AM
The custom header area lets you use html, so I'm thinking that PHP script could also be used -unless it's getting filtered...no php, html.

Dalantech
Aug-20-2006, 10:22 AM
no php, html.

Bummer... :cry

Andy
Aug-20-2006, 12:04 PM
Bummer... :cry
Why?
There are many javascript hacks already in my FAQ that do all sorts of wonderful things :D Have you checked them out?

Dalantech
Aug-20-2006, 12:20 PM
Why?
There are many javascript hacks already in my FAQ that do all sorts of wonderful things :D Have you checked them out?

Been reading them all day :wink -it's just that I'm use to PHP scripting, so being able to move the variables around would be easy for me.