Is it possible to modify the main page?

aa2k
Posts: 7
Joined: Thu Sep 30, 2010 1:53 pm

Is it possible to modify the main page?

Postby aa2k » Fri Oct 29, 2010 8:35 am

Hi,
I see that the main page when you go to the https://hda page you have this front portion for "latest news", which btw they are not new.... anyway, is it possible to get rid of it by editing any particular file in the server itself? maybe to add a picture or something else instead?

Thanks!

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Is it possible to modify the main page?

Postby bigfoot65 » Fri Oct 29, 2010 10:55 am

I would think it could be modified. You would need to locate the css/html file to make the change. I would recommend you use an html editor and make backups before starting. Don't want to break something you cannot fix.

This may help you find it (http://wiki.amahi.org/index.php/How_to_ ... _new_Theme).

The news that is listed there is current for Amahi Blog posts. So, unless there is a new blog post, it will not reflect anything newer. That portion can stay the same for several days as a result.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

aa2k
Posts: 7
Joined: Thu Sep 30, 2010 1:53 pm

Re: Is it possible to modify the main page?

Postby aa2k » Fri Oct 29, 2010 11:28 am

Thanks! :D
I appreciate it, I'll take a look and see what I can do. Its just a personal preference and it would be good if we have the option to 'personalize' (maybe using the settings option) on some degree the main page.
Thanks again.

aa2k
Posts: 7
Joined: Thu Sep 30, 2010 1:53 pm

Re: Is it possible to modify the main page?

Postby aa2k » Fri Oct 29, 2010 8:19 pm

I looked inside the files in /var/hda and I cant find the file (html? css?) that holds the calling of that secction, if I vew the source of the page using Internet Explorer (view -> source) I see the section I need to change (="latest_news" section) but I cant find the actual page anyware... does anyone know where it is?


View souce code:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Amahi Home Server &rsaquo; Dashboard</title> <link href="/stylesheets/base.css?1282727440" media="screen" rel="stylesheet" type="text/css" /> <link href="/themes/main/style.css?1288407877" media="screen" rel="Stylesheet" type="text/css" /> <script src="/javascripts/prototype.js?1236676233" type="text/javascript"></script> <script src="/javascripts/effects.js?1236676233" type="text/javascript"></script> <script src="/javascripts/dragdrop.js?1236676233" type="text/javascript"></script> <script src="/javascripts/controls.js?1236676233" type="text/javascript"></script> <script src="/javascripts/application.js?1234039811" type="text/javascript"></script> <link rel="stylesheet" type="text/css" href="/stylesheets/slimbox.css" media="screen" /> <link rel="search" type="application/opensearchdescription+xml" title="HDA Search" href="/search.xml"/> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" /> </head> <body> <div id="header"> <div id="head-left"> <ul> <li class="first"><a href="/">Home</a></li> <li class="last"> <form action="/search/hda" id="searchform"> <input id="searchinput" name="query" type="text" accesskey="f" value="" /> <input type='submit' class="searchbutton" name="button" value="HDA" /> <input type='submit' class="searchbutton" name="button" value="Web" /> </form> </li> </ul> </div> <div id="head-right"> <ul> <li class="first"><a href="/setup">Setup</a></li> <li><a href="http://help.amahi.org">Help</a></li> <li class="last"><a href="/setup?tab=app">Apps</a></li> </ul> </div> </div> <div id="content"> <div id="logo"> <ul> <li><a href="/"><img border="0" src="/themes/main/logo.png?1234039811" title="Return to Dashboard" alt="Return to Dashboard" /></a></li> <li>&nbsp;&nbsp;</li> <li><div id="pagetitle">Dashboard</div></li> </ul> </div> <div id="app"> <table id="welcome" class="nav" border="0" cellspacing="0" cellpadding="0" width="90%"> <tr> <td> <table border="0" cellspacing="0" cellpadding="0" id="welcome_apps"> <tr> <td class="welcome_desc"><a href="http://adito.Home1.com" target="_blank"><img alt="Vpn_logo" class="welcome-logo" src="http://wiki.amahi.org/images/b/b3/Vpn_logo.png" title="OpenVPN ALS" /></a><a href="http://adito.Home1.com" target="_blank">OpenVPN ALS</a></td> </tr> <tr align="center"> <td colspan=4><a href="/setup?tab=app"><img alt="Dashboard" class="theme-image" src="/themes/main/dashboard.png?1236845568" title="Install applications!" /></a></td> </tr> </table> </td> <td valign="top"> <div id="latest_news"> <div id="latest_news_header"> <center><br/><b>Latest News</b></center> </div> <div id="latest_news_content"> <table width="100%" border="0" align="center" cellpadding="2" cellspacing="0"> <tr><td valign="top">&#149;</td><td><a style="text-decoration: none;" href="http://blog.amahi.org/?p=9277">Crank up your media with Videos5 and .. GoogleTV!? (no permission required)</a><br/><font size="-3">2 weeks ago</font></td></tr> <tr><td colspan="2"><br /></td></tr><tr><td valign="top">&#149;</td><td><a style="text-decoration: none;" href="http://blog.amahi.org/?p=8539">OMGWTFUN: A Sexy New Logo for Amahi! Vote for yours!</a><br/><font size="-3">7 weeks ago</font>, 7 comments</td></tr> <tr><td colspan="2"><br /></td></tr><tr><td valign="top">&#149;</td><td><a style="text-decoration: none;" href="http://blog.amahi.org/?p=7933">Themes, VoIP/PBX, Amahi 5.5 ready! And the winners are ...</a><br/><font size="-3">8 weeks ago</font>, 6 comments</td></tr> <tr><td colspan="2"><br /></td></tr><tr><td valign="top">&#149;</td><td><a style="text-decoration: none;" href="http://blog.amahi.org/?p=7699">Get Your Theme Groove On! Win a Plug Computer</a><br/><font size="-3">10 weeks ago</font></td></tr> <tr><td colspan="2"><br /></td></tr> </table> <br/> <a href="http://blog.amahi.org/">More news ...</a> <!--[if gte IE 5]><small><br /><br /><br /><a href="#" onClick="this.style.behavior='url(#default#homepage)'; this.setHomePage('http://hda');">Make the HDA your home page!</a><br /><br /></small><![endif]--> </div> </div> </td> </tr> </table> </div> &nbsp; </div> <div id="footer"> &copy; 2010 &nbsp; <a href="http://www.amahi.org">Amahi</a> | <a href="http://www.amahi.org/user">Your Control Panel</a> | <a href="http://www.amahi.org/feedback">Feedback</a> | <a href="http://wiki.amahi.org/">Wiki</a> | <a href="http://bugs.amahi.org">Tracker</a> | <a href="http://talk.amahi.org">Live Help</a> | <a href="http://forums.amahi.org/">Forums</a> | <a href="/logout">Logout</a> (adam) </div> </body> </html>

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Is it possible to modify the main page?

Postby bigfoot65 » Sat Oct 30, 2010 5:40 am

Style sheet is here /var/hda/platform/html/public/themes/main. Not sure where the index.html file is located. You might find it easier to install a different theme and the files for it will be easier to locate. They will be in the themes dir under its name.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

aa2k
Posts: 7
Joined: Thu Sep 30, 2010 1:53 pm

Re: Is it possible to modify the main page?

Postby aa2k » Sun Oct 31, 2010 6:31 am

Hi,
I have not had any luck with this, I tried and no luck the same window appears, to be honest the front page make it look outdated, not clean like a real Home Server should look. Is this Home server somehow "calling" home and bringing this page from amahi site? this should not be.
I think that looking to OLD news is not a good idea, where you able to find the main page? I have been literaly through all the files in /hda folder and no luck... where is it? :shock:

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Is it possible to modify the main page?

Postby bigfoot65 » Sun Oct 31, 2010 6:54 am

Sorry you don't feel the dashboard is suitable. We do have many other themes which might make it look nicer for you.

Have you tried installing a different theme, then going to the directory to find the files for it? Modifying the dashboard is not something we support at the moment.

Keep in mind this is free software, so our support team is very small. We are all volunteers and our workload is currently focused on other priority projects to keep things working for Amahi.

I would recommend you submit a feature request at bugs at amahi.org to ask for a customizable front page. If you have linux experience and would like to assist us, that would be awesome. See http://wiki.amahi.org/index.php/Application_Contributor for more info.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

aa2k
Posts: 7
Joined: Thu Sep 30, 2010 1:53 pm

Re: Is it possible to modify the main page?

Postby aa2k » Sun Oct 31, 2010 7:09 am

Thanks for your response. I love the product as it is and I think its great, I just though that I could just change the html main page (dashboard) somehow on an easy way.
I installed several themes from and they all have the same news part of it... I looked into their directories and found the same - this is the only thing - other that that is perfect!

Thanks again for your time.

Who is online

Users browsing this forum: No registered users and 76 guests