On 9/15/05, Anthony Zeoli <[EMAIL PROTECTED]> wrote: > I have two urgent questions as we're going live on Monday and its super > important I get this situated. > > > > I need to load a graphic in the theme based on the userName. > > For example say i create Username "bob" and the Blog resides at > "/page/bob/" > > > > I need to have the theme to set the logo based on userName... for > example bob's logo would be /images/bob-logo.gif and tom's would be > /images/tom-logo.gif >
You should be able to use /images/$userName-logo.gif Matt > > > Any ideas?" > > > > I saw this Macro, showResourceImage, but we don't want to modify the > Weblog.vm templates for each blog if we don't have to to point to > separate images...if anyone ever selected another theme and then went > back to select the main theme, the code would disappear. > > > > Declaration macro ( showResourceImage $fileName $linkUrl $alt $border > $halign $valign ) Parameters > > > Synopsys > > > Show an image IMG tag for an image you have uploaded to Roller, > optionally surrounded with an 'A HREF' link tag > > > > Also, I need to know how to disable the other types of editors so no one > changes them on us accidentally. Can someone tell me how to just have > one default editor? Thanks. > > > > > > By the way Dave...it's showRecentEntriesInCategory (10 "/CategoryName"), > that's the correct syntax, and you can use both RecentEntries and > RecentEntriesInCategories in the sidebar! Cool! > > > > > > > > Anthony P. Zeoli > > Program Manager, S&T > > Associated Press > > 450 W. 33rd Street, 15th Fl > > New York, NY 10001 > > T: 212-621-7056 > > E: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > > > > The information contained in this communication is intended for the use of > the designated recipients named above. If the reader of this communication is > not the intended recipient, you are hereby notified that you have received > this communication in error, and that any review, dissemination, distribution > or copying of this communication is strictly prohibited. If you have received > this communication in error, please notify The Associated Press immediately > by telephone at +1-212-621-1898 and delete this email. Thank you. > >
