Search found 444 matches

by musicscore
Fri Sep 20, 2019 10:43 am
Forum: Developers Discussion
Topic: Display inline
Replies: 11
Views: 7187

Re: Display inline

Thank you Calguy1000 en Velden. I got it working : To help others, here is my code : action.default.php <?php if( !defined('CMS_VERSION') ) exit; $query = new CategoryQuery; $categorys = $query->GetMatches(); $sql = 'SELECT SQL_CALC_FOUND_ROWS H.* FROM '.CMS_DB_PREFIX.'mod_msfaq_questions H WHERE ca...
by musicscore
Wed Sep 18, 2019 2:52 pm
Forum: Developers Discussion
Topic: Display inline
Replies: 11
Views: 7187

Re: Display inline

I,m losing the battle. >:D This is my template : <div class="msfaq_wrapper"> <div id="categoryBlock"> {foreach $categorys as $category} <div class="category"> <div class="row"> <div class="categoryline"> <a href="{cms_action_url action='default...
by musicscore
Sun Sep 15, 2019 9:55 am
Forum: Developers Discussion
Topic: Display inline
Replies: 11
Views: 7187

Re: Display inline

Calguy1000

Thank you very much for this explanation.
I'm gonna try to use this jquery tip and let you know if was able to get it to work.
by musicscore
Sat Sep 14, 2019 7:24 pm
Forum: Developers Discussion
Topic: Display inline
Replies: 11
Views: 7187

Re: Display inline

Calguy1000 Thank you for your answer. What I did was create a website where all the pages are displayed on one page. I used the tips on cmscanbesimple.org. https://cmscanbesimple.org/blog/multiple-pages-in-one-with-jquery-tabs I used the CGSimpleSmarty module as mentioned in the tip. On one of the p...
by musicscore
Wed Sep 11, 2019 2:01 pm
Forum: Developers Discussion
Topic: Display inline
Replies: 11
Views: 7187

Re: Display inline

Anyone ?

I'm building a module and want the replace the tag and not the page.

Please help

TIA
by musicscore
Tue Sep 10, 2019 6:01 pm
Forum: Developers Discussion
Topic: Display inline
Replies: 11
Views: 7187

Display inline

Hey you all. My module is almost working as I planned but I'm facing one unsolved problem. I have a php file pointing to a template : <?php if( !defined('CMS_VERSION') ) exit; $query = new CategoryQuery; $categorys = $query->GetMatches(); $sql = 'SELECT SQL_CALC_FOUND_ROWS H.* FROM '.CMS_DB_PREFIX.'...
by musicscore
Tue Sep 10, 2019 5:51 pm
Forum: Developers Discussion
Topic: Learning building modules
Replies: 1
Views: 2670

[Solved] Learning building modules

The problem was caused by the read of the array.
by musicscore
Thu Sep 05, 2019 2:45 pm
Forum: Developers Discussion
Topic: Learning building modules
Replies: 1
Views: 2670

Learning building modules

Hi all, I'm building a module (FAQ's) but have a problem. This is my code of the default.php : <?php if( !defined('CMS_VERSION') ) exit; $query = new CategoryQuery; $categorys = $query->GetMatches(); $sql = 'SELECT * FROM '.CMS_DB_PREFIX.'mod_msfaq_questions WHERE category = "Category 1"';...
by musicscore
Sat Aug 31, 2019 8:35 am
Forum: Modules/Add-Ons
Topic: Dropdown inputfield with data from database
Replies: 6
Views: 2027

Re: Dropdown inputfield with data from database

Thank you DIGI3 for this advise. Together we can make cmsms better. Here is my solution: The part is the dropdown in my template looks like this : <div class="pageoverflow"> <p class="pagetext">{$mod->Lang('category')}:</p> <p class="pageinput"> <select class="sele...
by musicscore
Fri Aug 30, 2019 9:41 am
Forum: Modules/Add-Ons
Topic: Dropdown inputfield with data from database
Replies: 6
Views: 2027

[Solved] Dropdown inputfield with data from database

YES YES. I did it. Thanks to the advise from calguy1000.

THANK YOU
by musicscore
Wed Aug 28, 2019 7:21 pm
Forum: Modules/Add-Ons
Topic: Dropdown inputfield with data from database
Replies: 6
Views: 2027

Re: Dropdown inputfield with data from database

Hey you all I'm almost there but after trying and trying the fiekd is not filling correctly I used the code : $sql = 'SELECT SQL_CALC_FOUND_ROWS H.* FROM '.CMS_DB_PREFIX.'mod_msfaq_category H ORDER BY category_name'; $arr = \cms_utils::get_db(); if( !$arr ) return; $out = null; $out = array(); forea...
by musicscore
Tue Aug 27, 2019 5:15 pm
Forum: Modules/Add-Ons
Topic: Dropdown inputfield with data from database
Replies: 6
Views: 2027

[Solved] Dropdown inputfield with data from database

calguy1000

Thank you for your response.
I was not shure if there was a special CMSMS command.
I will use your advise and do my best toi get it to work.

(I'm learning)

Thanks again
by musicscore
Sun Aug 25, 2019 10:49 am
Forum: Modules/Add-Ons
Topic: Dropdown inputfield with data from database
Replies: 6
Views: 2027

Dropdown inputfield with data from database

Hi you all I have (for you a small) problem. I'm creating my first module. This module has two database tables. 1 named categorys and one name questions. Now I want to make a input form for the questions. In that form there should be a dropdown field and that field should be filed with the categorie...
by musicscore
Sun Aug 18, 2019 12:17 pm
Forum: Modules/Add-Ons
Topic: Help -What module to use ?
Replies: 2
Views: 932

[Solved]: Help -What module to use ?

Thanks for the very quick answer
Knowing this, I'm gonna use Lise for Shure.
by musicscore
Sun Aug 18, 2019 10:59 am
Forum: Modules/Add-Ons
Topic: Help -What module to use ?
Replies: 2
Views: 932

Help -What module to use ?

I'm building a website and it's gonna be a beauty (hihi). But I need your help. I want/need to integrate a Faq's and a Job page. These pages need to have backend where my customer can enter the data/information. The information should have these fields : Catagory - Question - Answer (I added an exam...

Go to advanced search