5121 Posts in 1527 Topics by 1119 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2573 Views |
-
Changing the icons of pages in the CMS

10 November 2009 at 5:12am
Hi All
Im taking SS for a test drive today and I have to say Im v impressed from a usability perspective!
However I've just hit a snag but I'm almost certain its an oversight on my part. I’m using SilverStripe-v2.3.3 and Im currently trying to change the home page icons.
Ive so far managed to change the 'news page' icons by following the tutorial and adding the following code to 'ArticleHolder' and 'ArticlePage' classes within code directory:
static $icon = "themes/tutorial/images/treeicons/news";
As instructed, I then tried to add the following to homePage.php in the same directory:
static $icon = "themes/tutorial/images/treeicons/home";
I may be missing something here but homePage.php looks more HTML driven (below) and Im unsure of where to put the above line of code?
<div id="Banner">
<img src="themes/tutorial/images/welcome.png" alt="Homepage image" />
</div>
<div id="Content" class="typography">
$Content
</div>If anybody can help Id be most grateful
Thanks
Shazbat
-
Re: Changing the icons of pages in the CMS

11 November 2009 at 12:43am
Thanks for your reply biapar. I managed to fix this.
-
Re: Changing the icons of pages in the CMS

12 November 2009 at 8:38pm
what?
__________________________
cheap golf clubs
taylormade r9 driver
ping g15 driver
callaway x-22 irons
titleist AP2 irons
taylormade r7 CGB MAX irons
| 2573 Views | ||
|
Page:
1
|
Go to Top |


