top of page

Forum Posts

financedetox
Aug 07, 2020
In Coding with Velo
Dear All I am currently registering user to my website by sending them triggered email to their email. Member needs to click the link to activate account. Every thing is working well but the link looks little bad. Can some one help me as how i can embed the link in to a button etc. Here is the screen short for your reference.
Email Activation link content media
0
1
26
financedetox
Jul 28, 2020
In Coding with Velo
I have taken below code from wix tutorials for search with one drop down filter. Now i have updated the code for dropdown2 for one more filter in my dynamic dataset. Entire code is working fine but only issue i am facing for drop down option. Example - if i filter using dropdown1 than dropdown 2 is showing all dropdown options (including empty data in the filter). import wixData from "wix-data"; import {local} from 'wix-storage'; //These keys will hold the last search params in local storage const PREV_TITLE = 'PREV_TITLE'; const PREV_CONTINENT = 'PREV_CONTINENT'; const PREV_CONTINENT1 = 'PREV_CONTINENT1'; let lastFilterTitle; let lastFilterContinent; let lastFilterContinent1; $w.onReady(() => { loadTeam(); }); let debounceTimer; export function iTitle_keyPress(event, $w) { if (debounceTimer) { clearTimeout(debounceTimer); debounceTimer = undefined; //what is this line for? } debounceTimer = setTimeout(() => { filter($w('#iTitle').value, lastFilterContinent,lastFilterContinent1); }, 500); } export function iContinent_change(event, $w) { filter(lastFilterTitle, $w('#iContinent').value, lastFilterContinent1); } export function iContinent1_change(event, $w) { filter(lastFilterTitle, lastFilterContinent, $w('#iContinent1').value); } function filter (title, continent, continent1) { if (lastFilterTitle !== title || lastFilterContinent !== continent || lastFilterContinent1 !== continent1) { let newFilter = wixData.filter(); if (title) newFilter = newFilter.contains('title', title); if (continent1) newFilter = newFilter.contains('consultantServices', continent1); if (continent) newFilter = newFilter.contains('city', continent); $w('#dynamicDataset').setFilter(newFilter); lastFilterTitle = title; lastFilterContinent = continent; lastFilterContinent1 = continent1; } //save for next session (and if it's empty, remove any old leftovers) if (title) local.setItem(PREV_TITLE, title); else local.removeItem(PREV_TITLE); if (continent) local.setItem(PREV_CONTINENT, continent); else local.removeItem(PREV_CONTINENT); if (continent1) local.setItem(PREV_CONTINENT1, continent1); else local.removeItem(PREV_CONTINENT1); } function loadTeam() { wixData.query('Team') .find() .then(res => { let options = [{ "value": '', "label": 'All City' }]; options.push(...res.items.map(continent => { return { "value": continent.city, "label": continent.city, }; })); $w('#iContinent').options = options; let options1 = [{ "value": '', "label": 'All Category' }]; options1.push(...res.items.map(continent1 => { return { "value": continent1.consultantServices, "label": continent1.consultantServices, }; })); $w('#iContinent1').options = options1; loadPrevSearch(); }); } function loadPrevSearch() { let prevTitle = local.getItem(PREV_TITLE); let prevContinent = local.getItem(PREV_CONTINENT); let prevContinent1 = local.getItem(PREV_CONTINENT1); if (prevTitle) { $w('#iTitle').value = prevTitle; } debugger; if (prevContinent) { $w('#iContinent').value = prevContinent; } debugger; if (prevContinent1) { $w('#iContinent1').value = prevContinent1; } if (prevTitle || prevContinent || prevContinent1) { filter(prevTitle, prevContinent, prevContinent1); } }
0
0
66
financedetox
Jul 25, 2020
In Coding with Velo
Hi, I have created a collection for 100 people and categories as A, B and C. I have created dynamic page based on categories A, B and C. If i click A than list of people within category A is published. Now i am trying to create a code where i can search records with in that category. Have written the below code: import wixData from 'wix-data' $w.onReady(function () { }); export function iTitle_keyPress(event, $w) { let SearchValue = $w("#iTitle").value; if ((SearchValue)) { $w("#dynamicDataset").setFilter(wixData.filter().contains('title', SearchValue)) }}; Problem but it searches data within entire database and once search value is removed than it list people of all categories. please help Thanks
0
2
28
financedetox
Jul 08, 2020
In Coding with Velo
Hi, Current posts (FORUM) database in WIX is read only. Can i change it to editable once i subscribe premium plan. I want to delete test database from my website and how to delete in case any user write obscene comments or picture in website forum. Thanks in Advance
0
1
237
financedetox
Jul 08, 2020
In Coding with Velo
Hi, Have use WIX app to create a forum page. I need to know as how i can create a FORUM post from members area? I can see this option for blogs. Thanks in advance
0
6
30

financedetox

More actions
bottom of page