Hello! You are looking at an archived forum discussion from the old mahara.org website. You cannot reply to this topic, but if you wish to discuss it, you can sign up to mahara.org and ask about this in the new forums.

I want to ask how to make resume link to download link?
so if user or guest click it the file automatically download it.
Or How to add download link beside it?
so if user or guest want download it they can click it.

I am sorry for my bad English.

Mahara does not have this

Mahara does not have this feature yet, so you would have to write it.

The 'My Resume' screens can only be seen by the user themselves, it's up to them to put their resume information in a View before others can see it. So you have to make a choice first - do you want the resume to be downloadable by just the user who makes it, or everyone?

Then, you should choose what format you want it to be downloaded in. HTML or PDF?

Then you would need to write some code to generate the report. We can help you with any specific questions you have about Mahara code, when you have some questions to ask :)

hi, i work together with

hi, i work together with brokenenglish.

i think the resume can be downloaded by everyone, and user will have their default view.
to be more specific, it's the publication part only that will need the download link.

the user will used publication section to describe the journal article they've created and
upload the pdf file also so that other people can download it. i think the way user upload and
download will be exactly the same when user add new post to blog and upload file.
the can choose from the file they already upload, or upload the new file and mahara will
automatically place it in some new default folder, called 'publication' for example.

i also need to add more fields in publication section, i have done it before by modifying
some source and database in mahara1.02 but when i try the same with the 1.04version it didn't
work quite well, here is what i've done (i add new section rather than modifying, so i just
follow the same way with 'book and publication' section -> use 'book' keyword, and i used 'publication'
keyword):
-add new string in /artefact/resume/lang/en.utf8/artefact.resume.php
-create new file in /artefact/resume/theme/default/fragments/publication.tpl
-add new line in /artefact/resume/theme/default/index.tpl that will include publication.tpl
-add new class in /artefact/resume/lib.php consist of array of publication form
-add new record in artefact_installed_type table -> 'publication' , 'resume'
-add new line in css/style.css -> addpublicationbutton, addpublication, #publicationlist
that's the overview, but i can also write down the detail and the source if you would like to know it.

i think that's the only problem for us for now.
thank you so much for your help =)

Heh. We have talked about

Heh. We have talked about rewriting the resume to make adding fields easier... but that's a while down the pipes now.

You say you've done all those things but you still have a problem - what problem are you having?

when i clicked the add

when i clicked the add button to add new record the form didn't show up.

when i did the same thing in mahara1.02, the form show up and the record can be
saved to database as well after i add new table for resumepublication..

and about the upload and download for resume, how do you think if i just copy the
source from the add new post in 'my blog' section?
but i still confused about which part should be copied.. =(

Your problem sounds

Your problem sounds javascript related - you might want to use firebug to see if there are any javascript errors.

The blogs/files integration is a little bit messy - there are probably quite a few things that would need to be copied and changed, not just the source for 'add new post'. I'm not sure of all of them off the top of my head though... it's a reasonably big job.