1.5.6 RC8 (r1486) Frontend edit buttons

More
12 years 8 months ago #28789 by arche
Joomla 1.5.6 RC8 (r1486)

I think there was a post about this, but could not find it. Is there a way to temporarily disable the edit buttons on the front end until it is fixed in flexicontent? Something to comment out in flexicontent php files?

Thanks

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

More
12 years 8 months ago #28799 by ggppdk
hello, what is the bug? they do not work?


-- 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
12 years 8 months ago #28809 by micker
... more info please

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
12 years 8 months ago #28838 by arche
Sorry, forgot to subscribe to the post. Didn't know there was a response.

If I go to any of the categories I have setup, and click on item list and then click on hide for the edit button, it still shows up in the front end of the site when logged in.

Let me know if you need login info for testing.

Thanks

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

More
12 years 8 months ago #28839 by arche
This was the original post I was referring too.

flexicontent.org/forum/index.php ... =viewtopic

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

More
12 years 8 months ago #28859 by ggppdk
inside item.php of FLEXIcontent template

replace:
Code:
$editbutton = flexicontent_html::editbutton( $this->item, $this->params );

with
Code:
$editbutton = $this->params->get('show_editbutton') ? flexicontent_html::editbutton( $this->item, $this->params ) : '';

thus the category setting will be used for the item too, (if it is hidden for category views, then it will be hidden from item views too)

Maybe best solution is to add a new parameter to Content Type:

Edit button:
- Show
- Hide
- Use category setting

as it will require altering just a few places in order to disable, and also controls the behavior per content type, which maybe better


-- 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.505 seconds
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
Save