How about a different template in frontend editing

More
10 years 10 months ago - 10 years 10 months ago #53852 by pipedream
Is this already possible in Joomla?
It would be a time saving feature, so we won't need to care about inserting/merging the edit styles inside the site CSS.

So far, on the editbutton function in components/com_flexicontent/templates/classes/flexicontent.helper.php, I changed the line where it reads:

Code:
$link = $item_url .(strstr($item_url, '?') ? '&' : '?'). 'task=edit';
into this:

Code:
$link = $item_url .(strstr($item_url, '?') ? '&' : '?'). 'task=edit&template=protostar';
Last edit: 10 years 10 months ago by pipedream.

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

More
10 years 10 months ago #53853 by micker
sorry i didn't understand why ?

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
10 years 10 months ago - 10 years 10 months ago #53858 by pipedream
For instance, frontend editing using the template Protostar can be much cleaner than using our own template.
Also, our template wouldn't need so many styles related to Joomla itself.
Last edit: 10 years 10 months ago by pipedream.

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

More
10 years 10 months ago #53888 by ggppdk
Hello

joomla template is loaded / joomla,
so this is a general Joomla question and not FLEXIcontent specifc one

Thinking of this,
-- since frontend templates are assigned to menu items
this question becomes how to use a different menu item ...

so test:
&Itemid=NNN
e.g.
&Itemid=121

Then we could have ... a menu item per ... content for the case of form,

-- now it is possible (v3) to configure content type to always use a specific menu item, instead of the corresponding menu item of the category
-- test the above with the menu item and i will open an enhancement issue, for adding parameter, and implementation code in a future version


-- 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 review. Thanks!

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

More
10 years 10 months ago #54057 by pipedream
Absolutely!
Adding the &Itemid=xxx at the end of the editing url works as expected.

So yes, please add this new parameter.
I guess you will also add a new menu type which might be named "Item Form", right?

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

More
10 years 8 months ago #55218 by pipedream
Are there any news?
Is the following the enhancement issue?
github.com/FLEXIcontent/flexicontent-cck/issues/208

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

More
10 years 8 months ago #55224 by ggppdk
Hello

-- about Itemid
the &Itemid=NNN is the Joomla menu item
the choosen menu item is decided when SEF URL is created

Already
-- in FLEXIcontent type configuration you can force a specific MENU ITEM id (but note it must be an FC menu item, e.g. a directory menu item)
and then also set a parameter to PREFER this item instead of category menu items

about adding it only in some cases with some custom criteria of your
it is up to you to do it



- about issue 208 , it is about using diffent FLEXIcontent item layouts (FLEXIconten templates) and not about Joomla temlates


-- 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 review. Thanks!

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

More
10 years 8 months ago - 10 years 8 months ago #55226 by ggppdk
Hello

read my above message
but your question is mainly this ?

when you edit an item in frontend , you want to be able to select a specific Joomla menu item ?
(your question is not about item viewing , right ?)

so we do need to be able to customize the menu item when editting,
- thus we will be able to use and customize the Joomla template to be used


-- 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 review. Thanks!
Last edit: 10 years 8 months ago by ggppdk.

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

Moderators: vistamediajoomlacornerggppdk
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