Thomas Rozanov Posted January 30, 2011 Report Share Posted January 30, 2011 Simpilot Great Module! Sorry I don't know how do you edit or add news and what files do you need to edit? Thank You Very Much!!! Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted January 30, 2011 Author Administrators Report Share Posted January 30, 2011 Simpilot Great Module! Sorry I don't know how do you edit or add news and what files do you need to edit? Thank You Very Much!!! Your news items can be added, edited, and deleted from the admin panel. The module draws all its information from those news posts. 1 Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted January 31, 2011 Report Share Posted January 31, 2011 Simpilot Great Module! Sorry I don't know how do you edit or add news and what files do you need to edit? Thank You Very Much!!! +1 to Simpilot's answer. If you are new to using this module, you might opt to get rid of the news on your home page then. This module is real nice because it shows the news as links instead of taking up VERY valuable room on a VA's home page. There is really no point in having the news on your home page twice right? And yes I agree, it is a great module. Quote Link to comment Share on other sites More sharing options...
Bradpl6 Posted January 31, 2011 Report Share Posted January 31, 2011 I used a combination of the original module and the simpilot module, after some modification they both fit together quite nicely http://www.airsouthwestvirtual.com/ Quote Link to comment Share on other sites More sharing options...
Thomas Rozanov Posted January 31, 2011 Report Share Posted January 31, 2011 Your news items can be added, edited, and deleted from the admin panel. The module draws all its information from those news posts. Yeah but that makes everynews thing on all the page aswell as the popupnews module Quote Link to comment Share on other sites More sharing options...
Bradpl6 Posted January 31, 2011 Report Share Posted January 31, 2011 Yeah but that makes everynews thing on all the page aswell as the popupnews module It would be useful if you could explain more on what you are trying to achieve. Quote Link to comment Share on other sites More sharing options...
Thomas Rozanov Posted January 31, 2011 Report Share Posted January 31, 2011 It would be useful if you could explain more on what you are trying to achieve. Basically when i add news from the admin panel. It shows on every page. And also in the popup news module in the sidebar however there's no link to the news item in the sidebar (popup news module). In other words i tried adding news from admin panel and it doesnt work . Because it shows the news on every page. Quote Link to comment Share on other sites More sharing options...
Bradpl6 Posted January 31, 2011 Report Share Posted January 31, 2011 Basically when i add news from the admin panel. It shows on every page. And also in the popup news module in the sidebar however there's no link to the news item in the sidebar (popup news module). In other words i tried adding news from admin panel and it doesnt work . Because it shows the news on every page. It sounds like you have put <?php PopUpNews::PopUpNewsList(5); ?> in a global template, which would explain why the news is showing on every page. As for the links open popupnewslist.tpl and check to see if all is correct, I would show an example but I'm on my phone. Quote Link to comment Share on other sites More sharing options...
Thomas Rozanov Posted January 31, 2011 Report Share Posted January 31, 2011 It sounds like you have put <?php PopUpNews::PopUpNewsList(5); ?> in a global template, which would explain why the news is showing on every page. As for the links open popupnewslist.tpl and check to see if all is correct, I would show an example but I'm on my phone. Yeah i put it into layout.tpl (obsess blue skin) I substituted it with the latest news box in the sidebar. Quote Link to comment Share on other sites More sharing options...
Thomas Rozanov Posted January 31, 2011 Report Share Posted January 31, 2011 Yeah i put it into layout.tpl (obsess blue skin) I substituted it with the latest news box in the sidebar. So what do i do to fix this? And what did i do wrong? Quote Link to comment Share on other sites More sharing options...
Bradpl6 Posted January 31, 2011 Report Share Posted January 31, 2011 So what do i do to fix this? And what did i do wrong? Can you provide a link to your website? So we can decipher what is going on. Quote Link to comment Share on other sites More sharing options...
Thomas Rozanov Posted January 31, 2011 Report Share Posted January 31, 2011 Can you provide a link to your website? So we can decipher what is going on. www.brtvirtualairlines.com and i will make a test news item Quote Link to comment Share on other sites More sharing options...
Bradpl6 Posted January 31, 2011 Report Share Posted January 31, 2011 www.brtvirtualairlines.com and i will make a test news item Ok, It looks like your calling the default news module: Open layout.tpl remove <?php News::ShowNewsFront(5);?> Open frontpage_main.tpl and put <?php PopUpNews::PopUpNewsList(5); ?> wherever you want your news to show. You will need to do the same for your sidebar, the result should be a list with links on your homepage and a list with links in your sidebar. Quote Link to comment Share on other sites More sharing options...
Thomas Rozanov Posted February 1, 2011 Report Share Posted February 1, 2011 Ok, It looks like your calling the default news module: Open layout.tpl remove <?php News::ShowNewsFront(5);?> Open frontpage_main.tpl and put <?php PopUpNews::PopUpNewsList(5); ?> wherever you want your news to show. You will need to do the same for your sidebar, the result should be a list with links on your homepage and a list with links in your sidebar. Wait, but i cant make it show in latest news in sidebar? In layout.tpl ? Quote Link to comment Share on other sites More sharing options...
Thomas Rozanov Posted February 1, 2011 Report Share Posted February 1, 2011 Wait, but i cant make it show in latest news in sidebar? In layout.tpl ? My Question basically is can't i have it in my sidebar in layout .tpl and now it works except that the article is on every page :S. And what file do i need to edit to get rid of PopUpNews © simpilotgroup.com? Thanks In Advance. Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted February 1, 2011 Moderators Report Share Posted February 1, 2011 My Question basically is can't i have it in my sidebar in layout .tpl and now it works except that the article is on every page :S. And what file do i need to edit to get rid of PopUpNews © simpilotgroup.com? Thanks In Advance. Dont get rid of PopUpNews © simpilotgroup.com, Dave has spent many hours to this community and all he asks is to leave the links in his work. 2 Quote Link to comment Share on other sites More sharing options...
Thomas Rozanov Posted February 2, 2011 Report Share Posted February 2, 2011 Dont get rid of PopUpNews © simpilotgroup.com, Dave has spent many hours to this community and all he asks is to leave the links in his work. Oh okay, Simpilot thanks a lot! I will leave it and great module sorry for asking i just saw other phpvms sites using the module without simpiliotgroup Quote Link to comment Share on other sites More sharing options...
Thomas Rozanov Posted February 2, 2011 Report Share Posted February 2, 2011 My Question basically is can't i have it in my sidebar in layout .tpl and now it works except that the article is on every page :S. So how do i get the news off every page??? I only want it in the sidebar Quote Link to comment Share on other sites More sharing options...
Bradpl6 Posted February 2, 2011 Report Share Posted February 2, 2011 So how do i get the news off every page??? I only want it in the sidebar You need to remove <?php PopUpNews::PopUpNewsList(5); ?> from layout.tpl, you will have it in there twice one for the main content and one for the sidebar. You can identify which one is in the sidebar by looking for a sidebar divider or you might see <!-- sidebar -->. You can modify the way it looks by opening up the module which can be found in core > modules > PopUpNews > Popupnews.php. Sadly if you remove the copyright mark you will no longer receive support on any simpilot module. Quote Link to comment Share on other sites More sharing options...
Thomas Rozanov Posted February 2, 2011 Report Share Posted February 2, 2011 You need to remove <?php PopUpNews::PopUpNewsList(5); ?> from layout.tpl, you will have it in there twice one for the main content and one for the sidebar. You can identify which one is in the sidebar by looking for a sidebar divider or you might see <!-- sidebar -->. You can modify the way it looks by opening up the module which can be found in core > modules > PopUpNews > Popupnews.php. Sadly if you remove the copyright mark you will no longer receive support on any simpilot module. Thanks A Lot Brad! And Everyone And Simpilot For Creating This Module. Quote Link to comment Share on other sites More sharing options...
TAV1702 Posted February 3, 2011 Report Share Posted February 3, 2011 Oh okay, Simpilot thanks a lot! I will leave it and great module sorry for asking i just saw other phpvms sites using the module without simpiliotgroup I asked him about this earlier in this thread and he said it was ok to do. I did remove it from the side bar block, BUT His copyright and info remains intact on every news page that comes up in the news center. AND I also have links galore to Simpilot Group for obvious reasons such as bad a** modules Simpilot builds. I was going to do a links/Kudos page to but never got around to it. I suppose I need to do that now that I think of it. Quote Link to comment Share on other sites More sharing options...
deactivated Posted February 25, 2011 Report Share Posted February 25, 2011 Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'PopUpNews::popupnewsitem' was given in /home/canada/public_html/core/classes/MainController.class.php on line 218 thats what i get http://canadianairvirtual.co.cc/index.php/PopUpNews/popupnewsitem/?itemid=1 Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted February 25, 2011 Author Administrators Report Share Posted February 25, 2011 The solution is back a few pages in this thread, there was a change when phpVMS went to version 2 Quote Link to comment Share on other sites More sharing options...
deactivated Posted March 1, 2011 Report Share Posted March 1, 2011 There Is A Login Error Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted March 1, 2011 Moderators Report Share Posted March 1, 2011 I don't think that has to do anything with that module. But what's the error? Quote Link to comment Share on other sites More sharing options...
deactivated Posted March 2, 2011 Report Share Posted March 2, 2011 Warning: Cannot modify header information - headers already sent by (output started at /home/canada/public_html/core/modules/PopUpNews/PopUpNews.php:176) in /home/canada/public_html/core/modules/Login/Login.php on line 154 Quote Link to comment Share on other sites More sharing options...
Sascha (DCS299) Posted March 2, 2011 Report Share Posted March 2, 2011 Works great! Mybe you could move the updated files to the first post...would help Quote Link to comment Share on other sites More sharing options...
deactivated Posted March 4, 2011 Report Share Posted March 4, 2011 So Shall I Try The Updated One Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted March 4, 2011 Author Administrators Report Share Posted March 4, 2011 So Shall I Try The Updated One A header error is coming from something you have edited and you have white space right before a php tag in one of your class files. Quote Link to comment Share on other sites More sharing options...
deactivated Posted March 4, 2011 Report Share Posted March 4, 2011 in login 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.