Browsing this Thread:
1 Anonymous Users
how to add "preview" in user submit ? |
||
---|---|---|
Just popping in
Joined:
2006/3/17 3:51 Group:
Registered Users Posts:
2
Level : 1; EXP : 2
HP : 0 / 0 MP : 0 / 36 |
Ok i'm useing artices1.01 and xoops 2.2x. I've found that there has no "preview" button on the user submit side but on the admin side it has. I found also that in submit.ini it do have 4 code-lines which being remaked and seems to be used as enable the preview funktion.
But i really don't konw how to activate this funktion, by simply remove the // of the remaked 4 code-lines, the button "preview" do appear beside the "submit"and "reset" button , but when i click the preview button , the articel just being submitted! oop~~ would u please so kind to help that? submit.ini , start at line 161
//$button_pre = new XoopsFormButton('', 'but_preview', _MD_ART_PREVIEW, 'submit');
Posted on: 2006/3/17 7:26
|
|
Transfer |
Re: how to add "preview" in user submit ? |
||
---|---|---|
Webmaster
Joined:
2003/11/7 20:56 Group:
Webmasters Registered Users Posts:
137
Level : 10; EXP : 75
HP : 0 / 243 MP : 45 / 14615 |
There is no preview for the user submit area, yet.
That code was copied over from the admin form to save having to type it out from scratch, but was left there and commented out for if/when preview is added.
Posted on: 2006/3/17 23:02
|
|
Transfer |
Re: how to add "preview" in user submit ? |
||
---|---|---|
Just popping in
Joined:
2006/3/17 3:51 Group:
Registered Users Posts:
2
Level : 1; EXP : 2
HP : 0 / 0 MP : 0 / 36 |
O, bad news~
As the authors can not edit there articels after they had been submitted, why not give the preview funktion to prevent articel's format problems? Is there anything i can do simply for that? hopes that can be added in the next release~ thanks all the same:)
Posted on: 2006/3/18 6:52
|
|
Transfer |
You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.