- Posts: 32
COMMUNITY FORUM
Frontend editing / Hiding a row
- Victoria
- Topic Author
- Offline
- Junior Member
I wonder if I can hide a row "title alias (URL)" and it's input box at the frontediting window using CSS ???
Thank you,
Victoria
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
You need to hide the .k2TitleAliasBox and label[for="alias"] elements.
Eg:
.k2TitleAliasBox, label[for="alias"] { display: none; }
Depending on the template you might need to add !important or some parent classes.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Victoria
- Topic Author
- Offline
- Junior Member
- Posts: 32
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Victoria
- Topic Author
- Offline
- Junior Member
- Posts: 32
One more question, I hid the 'Alias' and 'Featured' rows successfully but can't do with the 'Published'. According to the firebug, 'Published' has a slightly different code; instead of <label for="published">Published</label>, it is <label> Published</label>.
I tried few different things but no luck yet.
Thanks,
Victoria
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
You can override the itemform.php file which is used in the form and hide (NOT remove) the elements you want.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Victoria
- Topic Author
- Offline
- Junior Member
- Posts: 32
Please Log in or Create an account to join the conversation.
- Vlad
- Offline
- Junior Member
- Posts: 23
How to hide the elements? Can you please provide a sample code for that?
Thanks
Krikor wrote: I think you should try a different approach.
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates
You can override the itemform.php file which is used in the form and hide (NOT remove) the elements you want.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.