Editing front

GK User
Fri Jan 30, 2015 2:39 pm
Hi.
I've followed up the instructions for enabling Front Adding and Editing Articles.
However there are a few problems with the result:
1) in the top left corner the text is mixed up
2) a text line in Red letters with the permissions is shown, which is annoying
3) in the category drop down list, it also shows the **Unpublished Categories**, which is confusing for the users.
4) When new item is saved and chosen to be Published, is marked as Pending instead, which means that the user has to login in the backend to publish it. BTW, it seems that is flagged as Pending, because it does read the GW time and not the local (website) time set.


Are there any solutions for the above?

A screenshot for your quick reference:
Image

Thank you in advance for your time.
User avatar
Senior Boarder

teitbite
Sun Feb 01, 2015 2:37 pm
Hi

First of all please update template and K2 to the latest version. Just to be sure it's not a problem that it's being outdated.

This looks to be K2 related issue, but I'll have a look before You ask on K2 forum. Send me an access to joomla panel and url address.
User avatar
Moderator

GK User
Mon Feb 02, 2015 3:44 pm
Thank you for your reply.

Credentials have been sent.

I'll update template and k2 the soonest possible.
User avatar
Senior Boarder

teitbite
Mon Feb 02, 2015 5:00 pm
Hi

Where can I find an article with Edit button and where this button is ? I've logged in, but no luck finding one yet ;/
User avatar
Moderator

GK User
Tue Feb 03, 2015 10:52 am
Hi.

Pls check Work > Narrow City, right below the last image and before the social buttons.

A screenshot for your quick reference.
Image
User avatar
Senior Boarder

teitbite
Thu Feb 05, 2015 6:48 pm
Hi

I think it's bootstrap.css file interefering, so try to disable it or add this code to /10/media/k2/assets/css/k2.frontend.css to make Your own overrides to it:

Code: Select all
.icon-48-k2 {
    background: url("http://www.doginfo.eu/10/media/k2/assets/css/../images/system/K2_Logo_105x40_24.png") no-repeat scroll 0 50% rgba(0, 0, 0, 0) !important;
}

input, textarea, .uneditable-input {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin-left: 0;
}

select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    height: 34px;
}


and add translation for a missing "K2_YOU_ARE_ALLOWED_TO" in joomla language overrides.
User avatar
Moderator

GK User
Sat Feb 07, 2015 9:11 am
teitbite wrote:Hi

I think it's bootstrap.css file interefering, so try to disable it or add this code to /10/media/k2/assets/css/k2.frontend.css to make Your own overrides to it:

Code: Select all
.icon-48-k2 {
    background: url("http://www.doginfo.eu/10/media/k2/assets/css/../images/system/K2_Logo_105x40_24.png") no-repeat scroll 0 50% rgba(0, 0, 0, 0) !important;
}

input, textarea, .uneditable-input {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin-left: 0;
}

select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    height: 34px;
}


and add translation for a missing "K2_YOU_ARE_ALLOWED_TO" in joomla language overrides.


Hi.
Thank you for your reply.

I've applied your solutions with the following results:
1) Code addition to k2.frontend.css, does not give any change.
I've also tried to disable bootstrap, with no success.

2) translation for missing "K2_YOU_ARE_ALLOWED_TO" in joomla language overrides, only applies to the first item by actually presenting another text of my choice. The rest of the line still remains.
So there is no actual change in the point either.

Kindly verify my changes in case I've missed something.
User avatar
Senior Boarder

teitbite
Sun Feb 08, 2015 4:26 pm
HI

1. Och it did. There is K2 icon visible now and editor positioning is fixed. Just replace one of the classes to :

Code: Select all
select, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    height: 34px !important;
}


also add this code:

Code: Select all
textarea {
    margin-bottom: 0 !Important;
}

div.dummyHeight {
    margin-top: 2px !important;
}


2. I did not know You wish this to be removed. Just hide it adding this code to the same file as in point 1.

Code: Select all
#k2FrontendPermissionsNotice p {
    display: none;
}
User avatar
Moderator

GK User
Tue Feb 10, 2015 7:57 am
Yeap, indeed it's OK now.
Thank you!
User avatar
Senior Boarder

teitbite
Wed Feb 11, 2015 6:59 pm
Hi

Best information today :) This wasn't an easy task. Thread closed than.
User avatar
Moderator


cron