Jcomments select field

More
11 years 9 months ago #26864 by yaK2manD
Hi,

A good thing would be to make a select input to allow frontend users to enable or not comments for an item.

Through basic parameters, they can modify "create pathway automatically" and select a comment system.


Thank you

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #26868 by ggppdk
Replied by ggppdk on topic Jcomments select field
You mean it is wrong to allow user to select the comment SYSTEM, they should just select :
enable or disable comments, right?

if, you mean this, then yes it is wrong to expose such detail to the frontend user.


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #26870 by yaK2manD
Replied by yaK2manD on topic Jcomments select field
Yes.

Normal user (with author access to submit content) must have only the choice between On and Off.

I tried to make a select input and integrate jcomment tag but no success.

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #26873 by ggppdk
Replied by ggppdk on topic Jcomments select field
I am thinking that some other parameter should not be shown to frontend,

so maybe, selecting individual parameters to show would be more preferable than selecting groups of parameters to show in the frontend (this is a new feature)

e.g. the create pathway automatically is a parameter that should not be shown in the frontend

and yes, the parameter allow/disallow comments, is an important one and we must not allow to select commenting system ... (in 95% of the cases).

Any other parameters you would think should simplified in the frontend?

maybe remove the sliders too? I am thinking of this because we are to release final version, and easy of use in frontend is important.


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #26878 by yaK2manD
Replied by yaK2manD on topic Jcomments select field

ggppdk wrote: so maybe, selecting individual parameters to show would be more preferable than selecting groups of parameters to show in the frontend (this is a new feature)


Yes, it should be better. Another field should be voting.

edit :
after that, I don't see something else that should be added.

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #26880 by ggppdk
Replied by ggppdk on topic Jcomments select field
For voting you could do this yourself ;)

Create a FLEXIcontent radio field
- with name allow_votes,
- with Label "Allow Voting"
- with values "No" "Yes"

then add this field into the "render only position" of your template

and do something like this in your customized item.php template file:
Code:
<?php if ($this->item->fields[allow_votes])->display=="Yes" :?> .... the html of TEMPLATE position that contains the voting field <?php endif; ?>


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.294 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline