Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An issue to add attribute to Projects database + frontend #41

Open
Signior-X opened this issue Sep 24, 2020 · 5 comments
Open

An issue to add attribute to Projects database + frontend #41

Signior-X opened this issue Sep 24, 2020 · 5 comments
Labels
backend frontend Intermediate Have some idea, however easy and good one to try

Comments

@Signior-X
Copy link
Collaborator

Adding links for each project.

  1. To add "link" variable in the Project model structure and in database file at backend.
  2. To make changes in the ejs page of home page.
  3. To add in form also to add the link in the database.
@Signior-X Signior-X added Intermediate Have some idea, however easy and good one to try backend frontend labels Sep 24, 2020
@dipanshu231099
Copy link
Collaborator

@BeingHomosapien are you still working on this issue

@BeingHomosapien
Copy link
Contributor

I did this but as i told you i did it so that we can add only a single link
I was working on how to add multiple links and kt did work, but i need time to implement it on original website

@dipanshu231099
Copy link
Collaborator

@BeingHomosapien the way it is done is this, you create a new table with two fields, 'pid' and 'link'. now in the original project table make a new field 'pid'. then simply make a join on these tables to display the multiple links

@BeingHomosapien
Copy link
Contributor

Backend is resolved i just took an array of links. The thing is how to take multiple link inputs from user. I figured that if we can add new input field for every link. But it a little troublesome in frontend. We need to make the number of links dynamic so i thought it as a kind of todo app.

@dipanshu231099
Copy link
Collaborator

Backend is resolved i just took an array of links. The thing is how to take multiple link inputs from user. I figured that if we can add new input field for every link. But it a little troublesome in frontend. We need to make the number of links dynamic so i thought it as a kind of todo app.

for that part just have initially option to add one link and then an add button in the frontend to add more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend frontend Intermediate Have some idea, however easy and good one to try
Projects
None yet
Development

No branches or pull requests

3 participants