Jump to content



  • Posts

  • Joined

  • Last visited

About Bazilisk

Contact Methods

Profile Information

  • Gender
  • Location

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Bazilisk's Achievements

  1. Thanks. all Ok now. Is it possible to add "AND" rules in WHERE to make second select option?
  2. Have error for MySQL select: $select = \IPS\Db::i()->select( '*', 'news_artcms_news', array('categorynum LIKE ?','%main%'), 'news_artcms_news.num DESC', array( 0, 12 ) ); $results = \IPS\Db::i()->query($select); Where is my mistake? I try to change problems code: array('categorynum LIKE ?','%main%') to array('categorynum = ?','main') but error dont fixed.... categorynum is text field
  3. Thanks I have to make sidebartemplate.phtml in html folder and it will be work?
  4. Fillow manual I can sent variables only to first column in template. \IPS\Output::i()->output = \IPS\Theme::i()->getTemplate( 'app1', 'app1_module', 'front' )->newslist($title, (array) $variables); Is it possible to send it to second column? Regards,
  5. I make application and have to use html tags <p></p> in variables. $text = "<p>some text</p><p>second paragraph text</p>"; But IPS auto convert it to symbols: &lt;p&gt; I try to fix it in template: {{$text = htmlspecialchars_decode($text, ENT_NOQUOTES);}} But htmlspecialchars_decode dont change variable. Is it possible to send formatted text as clear html to template?
  6. Have error in this script in Application system. I have 2 records in array if have record in table news_upload. $select = \IPS\Db::i()->select( '*', 'news_news', NULL, 'news_artcms_news.num DESC', array( 0, 25 ) ); $select = $select->join( 'news_uploads', 'news_uploads.recordNum=news_news.num', 'LEFT' ); $results = \IPS\Db::i()->query($select); Where is my mistake? Next code work Ok in block system. $select = $connection->select( '*', 'news_news', NULL, 'news_news.num DESC', array( 0, 25 ) ); $select = $select->forceIndex( 'num' ); $select = $select->setKeyField( 'num' ); $select = $select->join( 'news_uploads', 'news_uploads.recordNum=news_news.num', 'LEFT' ); $results = \count($select); But in application system I have error for forceIndex() and setKeyField. Think what problem because tables have field 'num', and select get this from second table, but I have to get it from first.... Possible using distinct can decide this task, but can not find sintax.
  7. Yes. Made app follow manual. But can not find how make furl.json for custom application.
  8. Have problems with application breadcrumb url. I made seo-link in admin panel for application coins: https://bullion.ru/coins , but breadcrumb not changed and showed full link https://bullion.ru/index.php?app=coins&module=coin&controller=coin Is it possible to fix it?
  9. Blocks is flexible. You can use it for news block: bullion.ru/news/ Made url link with n=xxx, because its 15 years old :)
  10. Is it possible to add Clubs records to forum pages (as standard block, same as New themes, last commentaries)?
  11. I have to use clubs name as subdomain. Politics.website, Comp.website etc, same as livejournal.
  12. Is it possible to set up server and soft to move Clubs to subdomain or any domain?
  13. Sorry, not well speak English. I’m looking Calendar form for selecting news from database by months and years. I made same for one form, but for this situation I used php block and have not possibility to add content from php block to forum searching system. http://bullion.ru/prices/fixes/ On this page I can select month and year and get results. I looking on IPS Calendar and thinking can I use it to select dates interval.
  14. Yes. I know this, searching easy form for result Page, same as Calendar, for select news from database.
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy