How to customize product card on Dolibarr? - dolibarr

I'm trying to use dolibarr and I'm having some troubles with product's card. I would like to split some informations on the card. For now I have two tables on the card, but I would like to put some informations of the second table in a third one. I also would like to put some other information in another tab. I read the dolibarr documentation and watch some vids on youtube but I didn't found how to do that.
Do someone have any informations about how to do that ?
Thank you for your help !

Related

Vue / Nuxt - Content Api - Filter Json on category

Am trying to build a portfolio in Nuxt. The content of the portfolio is in GoogleSheets. Via GoogleSheets Api I created an portfolio.json in the Nuxt/Content folder. The presentation of the individual items and the overview of all the items is working.
Every portfolio item is in a category, I have a few categories. I want to be able to filter the items based on those categories.
Been trying to create a filter on the Portfolio page, but haven't succeeded yet. I have tried three different approaches, they are based on examples I found online.
example frontend, with dummy content: https://dl5en.sse.codesandbox.io
code : https://codesandbox.io/s/nuxt-content-filter-json-dl5en
attempt : recreated the example I saw on Youtube. Problem to get the filters working at all.
attempt : used a dev.to example to create filters. Problem, no items showing on first page visit. Would like to show them all at first visit.
attempt : used example in a reddit article to create filters. Problem, only items of one category are showing on first page visit. Would like to show them all at first visit.
If someone could give me some pointers on how to solve this problem(for one of the attempts), this is very much appreciated!
found solution. updated the Codesandbox with example. including reset filter button and active css class.
https://codesandbox.io/s/nuxt-content-filter-json-dl5en?file=/pages/reddit2/index.vue

Getting a specific text from a website using Regex in Shortcuts

I’m trying to create a Shortcut on iOS that uses Regex, what I’m trying to accomplish is getting the price of a product from a website but no matter what Regex commands I use don’t work. It would be easier if my computer was up and running and I was able to use addons to view the site better but I’m stuck on iOS for the time being. Viewing the source code line 606 displays
'productPrice':'409.99',
But nothing I try pulls the the price even from different lines in the code.
I’m trying to get the price from https://www.microcenter.com/product/512484/intel-core-i7-9700k-coffee-lake-36-ghz-lga-1151-boxed-processor
I just can’t figure out how to retrieve the price being shown, I’ve tried so many combinations I had to turn to more experienced user help.
this works for me: 'productPrice':'(.*?)', - link
Make sure you are getting the part of the page source that contains this information.
The answer was so simple, if using shortcuts on iOS I was able to pull the price of the MicroCenter product by these commands.
URL - microcenter page to product
Get Contents of URL (leave as is)
Get Text from Input
Match Text - Pattern - \$......
Get item from list - Item at Index / 2 (2 is for items on sale or not)
The rest you can decide what to do with it, make a notification or whatever you decide how to display the price. This answer I found was a way to make sure it works. Now I’ll make a menu of multiple items from micro I have my eye on to pull all the prices in 1 click display. https://m.imgur.com/Iljvsx6

how to create a dynamic menu of items

hey i'm trying to create an it ticketing system for a college project and im stuck trying to create a page in jsp where i take in N items from my database for which i use hibernate to interface with where all the tickets or x amount are displayed in separate boxes per ticket where it shows the title and the description of the ticket as well as a button that would allow me to link it to its corresponding page to fully view the ticket. i just cant seem to figured out what this kind of menu is called as every google search i have done has lead me to dead ends.
any help would be fantastic.
I believe you can utilize Bootstrap cards to do that. See their official website: https://v4-alpha.getbootstrap.com/components/card/ You can display some image/description for the ticket. So basically what you need is to render array of such cards.

Hold data for list to add later?

So no SQL tables or anything here. Basically, I have 3 pages that have 6 items each. Each item consists of an image and then some text and also a smaller image than changes from a check to an "x" depending on if user selects or not. So if the image is checked, the user is adding that to a list which would display on a fourth page. This data needs to persist through just a session and if the session times out, then it resets. If the list is complete and on that fourth page the user choices to email or share list via social sharing, then the data would be gone after that action. What I am trying to figure out is the best way to approach and implement this with minimal time and effort as it has to go out quickly. Can any of you explain and maybe point to some links with info on the best way to achieve?
This is being done in asp.net web forms with html, css, and javascript.
Much appreciated!
You can use ViewBag() (for view in razor) or ViewData[] (for page in .net) to hold data for one web page.when you want it to other page. You can pass it to other page.
check this out
ViewBag, ViewData and TempData

Selector box question

What is the name of the html tool used for creating a list of objects from a select field. It usually looks like two boxes with an arrow in the middle. An example would be if you were creating a group and box A had a list of users and you would click on a name and then click the arrow in the middle. It would then add it to box B creating a unqiue group list. I am trying to find the name of this so I can find some examples online. Anyone know the name or where I can find some good examples?
It's called Picklist. Google gives good examples with that keyword: http://google.com/search?q=html+picklist. Good luck.
try this
Multi select transfer script
or this
Option transfer
HTML does not have this control built in. But many other environments provide it. Sometimes its called a doubleselect(struts2).