ChrisGooding Posted January 24, 2009 Share Posted January 24, 2009 Hi, I am trying to add some conformity to our instalation, regarding images etc. Some are png's some are gif's etc, and the difference is easily spotted. Now, my main thing is that most of the pageicons are gifs and look less polished than the client area pngs, so I want to bring them in line. Only problem is, I cant find where the values are changed.... From what I have read in here and on the wikki (new page creation) the $pageicon value is defined on each page, which makes sense. Problem is the pages are encoded, and as such we can't edit the value of each pages icon. Does anyone have a solution to this? Cheers 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted January 24, 2009 WHMCS CEO Share Posted January 24, 2009 Hi, You can use the same syntax as is used in the default template: {if "templates/$template/images/$filename.png"|file_exists}<img src="templates/{$template}/images/{$filename}.png" align="right" alt="" />{/if} Matt 0 Quote Link to comment Share on other sites More sharing options...
ChrisGooding Posted January 24, 2009 Author Share Posted January 24, 2009 Forgive me for being stupid, so just add that to the header instead of the existing code, and ensure the image is named the same as the page is? Cheers 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.