Pulling the content of the Alt Text field
Posted: Mon Apr 16, 2012 9:30 am
I'm looking to change up my title, by making what I think would be a quick modification to this bit of code in mention on this thread I had created before: viewtopic.php?f=44&t=16222
Here is the line of code I believe needs changed:
Basically I want to be able to input a text here in Alt Text - http://i.imgur.com/TFXfB.png
and use that instead of _Category.Name in this line of code I provided above, so it's my title.
I'm assuming that to do this it may be something like _Category.AltText, rather than _Category.Name to make this happen.
Is this almost right? I'm pretty much asking what do I type here so it pulls what's in the Alt Text box for a category, instead of the Name box.
Thanks everyone!
Here is the line of code I believe needs changed:
Code: Select all
Page.Title = _Category.Name + " at " + Token.Instance.Store.Name + ".com";
and use that instead of _Category.Name in this line of code I provided above, so it's my title.
I'm assuming that to do this it may be something like _Category.AltText, rather than _Category.Name to make this happen.
Is this almost right? I'm pretty much asking what do I type here so it pulls what's in the Alt Text box for a category, instead of the Name box.
Thanks everyone!