Jump to content

avizeke

Retired Forum Member
  • Posts

    6
  • Joined

  • Last visited

Everything posted by avizeke

  1. Any help on this advanced scrypting would be appreciated. long story short, were attemptig to achieve a whmcs widget for our front page joomla website were the announcements are fed through to the front of our website automatically. actual code for it : <?php include("domain/whmcs/dbconnect.php"); include("domain/whmcs/includes/functions.php"); $query = "SELECT * FROM tblannouncements WHERE published='on' ORDER BY date DESC LIMIT 0,3"; $result = mysql_query($query); while ($data = mysql_fetch_array($result)) { $id = $data["id"]; $date = $data["date"]; $title = $data["title"]; $announcement = $data["announcement"]; $date = fromMySQLDate($date); echo("<p><font color=#cccccc>$date</font> - <b>$title</b><br>$announcement</p>"); } ?> Its outcome code <p><?php<br />include("<a href="http://gameplayservers.com/whmcs/dbconnect.php">http://gameplayservers.com/whmcs/dbconnect.php</a>");<br />include("<a href="http://gameplayservers.com/whmcs/includes/functions.php">http://gameplayservers.com/whmcs/includes/functions.php</a>");<br />$query = "SELECT * FROM tblannouncements WHERE published='on' ORDER BY date DESC LIMIT 0,3"; <br />$result = mysql_query($query);<br />while ($data = mysql_fetch_array($result)) {<br /> $id = $data["id"];<br /> $date = $data["date"];<br /> $title = $data["title"];<br /> $announcement = $data["announcement"];<br /> $date = fromMySQLDate($date);<br /> echo("<p><font color=#cccccc>$date</font> - <b>$title</b><br>$announcement</p>");<br />}<br />?></p> <p> </p> - basically, after inserting the proper code, joomla inserts page breaks and other aspects automatically. but when you go to view it it is as shown above but when you go to edit it it shows alot of additional code. Joomla changes the code assuming your a noob and require help of altering by interpreting what your trying to attempt, but for advanced users who know what they are doing, it interferes on aspects like this. again any advice on this guys is appreciated.
  2. i want to specifically remove, the left panel. and just have teh products showing. that means no banner, no nav bar, JUST the procucts website/whmcs/cart.php basically am gonna put product page in a iframe. were it just shows the products. i have added you to msn, for little assistance, again any help is appreciated. thanks.
  3. still waiting on a re response from this
  4. thanks john for your reply. i checked previous HOW TO's in forum, for the infor of header and footer. brought them up in dream wever, and the specific files i needed to edit were NOT there. for example this is the Footer.tpl yet the code that is needed to be edited is NOT there </td></tr></table> </td></tr></table> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="footerbar"> <tr><td><table width="950" border="0" cellpadding="0" cellspacing="0" align="center"><tr><td><strong>{$companyname}</strong></td><td><div align="right">{if $langchange}{$setlanguage}{/if}</div></td></tr></table></td></tr> </table> </body> </html> Please if you can, which i appreciate, to elaberate some step by step, kindest regards zeke
  5. Hello all. i am looking for some help mainly in custom fields and custom pages. i basically want JUST my products page showing just the products and not the side bar. this is my 1st time venturing into whmcs files, am aware of html and have dream wever so i can undersatnd code but whmc looks overly complex. So if its possible for anyone to assist in a small understanding of how to remove and maybe some advise in undersatnding it. it would be appreciated. kindest regards zeke
×
×
  • 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