Jump to content

$Pagicon images


ChrisGooding

Recommended Posts

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

Link to comment
Share on other sites

  • WHMCS CEO

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated