PrvtPilot Posted May 1, 2013 Share Posted May 1, 2013 Hi All, Anyone have an idea how to change the number of announcements show at the bottom of the home page? Currently displays 3 would like to change to 5. Thanks, Dean 0 Quote Link to comment Share on other sites More sharing options...
bear Posted May 1, 2013 Share Posted May 1, 2013 Looks like it's being called from a query that we don't have access to? {foreach key=num item=announcement from=$announcements} [EDIT] See this about including on external pages (shows the query): http://docs.whmcs.com/Linking_to_WHMCS#Displaying_Announcements_on_your_Site 0 Quote Link to comment Share on other sites More sharing options...
PrvtPilot Posted May 1, 2013 Author Share Posted May 1, 2013 Thanks for the response bear, I added the code shown in the link you provided but got a white page. I think it has something to do with adding PHP code to a .tpl file. I seem to remember reading somewhere how to do it. Will have to go back and research that. Thanks again... 0 Quote Link to comment Share on other sites More sharing options...
bear Posted May 1, 2013 Share Posted May 1, 2013 That was linked to show the query sets the results to 3. The linked FAQ is for pages external to WHMCS; the one that sets the result for internal pages is hidden inside encrypted files somewhere, AFAIK. I don't believe you can change that. You may be able to turn off showing announcements through the script and include the query code manually in WHMCS pages? That may work. 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.