K2 and University template Quickstart - new K2 article

GK User
Fri Jul 18, 2014 10:51 am
Hi,

I am new to K2 and wanted to configure a site to mainly use article adding/editing/deleting from the front-end
How should I get the neccessary code easily for the users when they add an article/event etc. so that it shows up right like in the Quickstart package
When I go to submit a new K2 article in the front-end I don't know how to add code for the EVENT date/time/place etc.
or other gk specific code easily
Under the article field there is a GK typhografy link but it doesn't work in the front-end (see attached pic from both front-end/back-end)
ADDITIONALLY there is no code for the previously mentioned event date/time/place to easily add

How do I configure it properly?
or is there something I've missed?


Sincerely


Dominicus
User avatar
Expert Boarder

teitbite
Sun Jul 20, 2014 1:41 pm
Hi

Typography is a backend plugin, but what You are talking about is a self generated, so typography is not required here. Please send me an url to Your site and an access so I'll create a new article and see what can be wrong.
User avatar
Moderator

GK User
Tue Jul 22, 2014 10:15 pm
teitbite
I'll get back to you with this as i'm currently on vacation on an island without fast internet connection and my site in local on my computer.
I'll move it online and let you access it. Send you the login as soon as i get into town


Sincerely,

Dominicus
User avatar
Expert Boarder

GK User
Wed Jul 23, 2014 1:38 am
I just installed a new quick start package in a new testfolder to see the difference between my newly configured Univerity template and the original Quickstart package from you
I cannot find an easy way to make an event and to configure the event to show the dates, vane, time etc. without knowing how to code
Am I missing the say way otŕ is it hard to add events the right way to get them to show like in your example ?
There is no extra fields to fill in and where the article then would pick the data from or so?

Just trying to understand it as I have not been working with K2 before and want to build for my client an easy way of adding events to a non-profit organization sailing club.

I would like to use your university template and the K2 extension
OR
would you recommend to use the joomla way of adding articles/events?

Sincerely,

DB

PS. on thursday I will most likely be able to move the site to the internet for you to see
User avatar
Expert Boarder

GK User
Wed Jul 23, 2014 1:40 am
I just read your post again; how is the event place/date/time etc. self generated ?

Sincerely,

DB
User avatar
Expert Boarder

teitbite
Wed Jul 23, 2014 9:50 am
Hi

Date is taken from inside of the event content, You just need to place it with a css class:

Code: Select all
<div class="gkEvent"></div>
User avatar
Moderator

GK User
Wed Jul 23, 2014 1:16 pm
Is there any way to choose the css class from a menu/dropdown?
Now this is at least missing from my items.
How can I tidy up the styles etc from the menu items - they are now in duplicates and many I wouldn't like my clients to use

I know this is more of a joomla issue perhaps, but I'm afraid to mess upp your template

Sincerely,


Dominicus

PS. Could you login and check the site front-end/back-end article K" issue mentioned before
I sent you the credentials by mail
User avatar
Expert Boarder

teitbite
Thu Jul 24, 2014 12:51 pm
Hi

I'm not sure what You are afraid to break. All You need to do is to go to menu manager, edit the link which will trigger the popup and than in advanced parameters add "gkEvent" as a suffix.

I cannot see an access from You anywhere. Can You send it one more time and remind me what was this K2 issue about?
User avatar
Moderator

GK User
Thu Jul 24, 2014 9:38 pm
Thanks a million.
This is what I was missing.
Where did this get mentioned.
I must have read the instructions poorly - my apology

Thanks

Dominicus

PS. One thing though - the date that is read from the css does it work in swedish too? I meen does it recognize the date time etc.?
Or is there a specific way you have to write everything in the event?
I'll try it again and post back
User avatar
Expert Boarder

GK User
Thu Jul 24, 2014 10:09 pm
Intresting
If I let the menu and items be like in the quick start package the popupwindow shows nicely and I'm able to choose the new article item
BUT
if I add the gkEvent class to the menu item new K2 article it breaks the popup. I no longer get the popup ONLY a page with LOGOUT

the site is on
2014.hsf.fi

Sincerely,

DB

PS. I resent you the the login for superuser to your mail
User avatar
Expert Boarder

teitbite
Fri Jul 25, 2014 11:52 am
Hi

I got a little lost about the popup since I can see login in there on Your site. The "broken" layout may be because of a lack of styling for this popup module. It was designed for login, but it will work, just show me the other module in there, so I'll come up with style fixes.

About date please just use a structure:

Code: Select all
<div class="gkEvent"></div>


it's being processed by PHP function so any language and date format should be supported.
User avatar
Moderator

GK User
Fri Jul 25, 2014 12:54 pm
Hi sorry if I explained it poorly.
If I configure the New Event submenu item in the user menu with the class gkEvent as your instructions earlier it breaks the popup functionality - If I login the menu never pops up, it just goes to a page with a logout button.
I'll put the class in place and change the user menu item to english so you can follow it better.
Just login in the front-end and see for yourself by clicking "your accout"

Sincerely,


Dominicus
User avatar
Expert Boarder

teitbite
Sat Jul 26, 2014 2:29 pm
Hi

I would like to check, but looks like I've lost an url to Your site. I have panel access, but do not know where to use it. Can You please tell me the url to Your site ?
User avatar
Moderator

GK User
Sat Jul 26, 2014 6:47 pm
2014.hsf.fi
User avatar
Expert Boarder

teitbite
Tue Jul 29, 2014 9:46 pm
Hi

Looks like I've missunderstood You totally. We were talking about two differnt things. I also made a typo and made a screen of it. Sorry for that. We were talking about "gkEvent" which is neccessary to pass informations to NSP module, but acctually a trigger for popup is "gkLogin". One more time sorry for that.

"gkLogin" suffix will open a popup, but I can see that You still have Login module there. Wasn't Your question about showing a different module in this popup ? Can You please publish it ?

Other thing is that the access You've send me is not working:

Warning

Användarnamn och lösenord matchar inte eller så har du inget konto ännu.


I need an access to joomla panel in this case, so probably permissions are unsufficient.
User avatar
Moderator

teitbite
Thu Jul 31, 2014 12:50 pm
Hi

I've send this message by mail already, but it got forwarded back, so I'm trying via forum now :)

Hi

Thanks, this works fine. Can You plese just tell me if I should check the K2 item <div class=„gkEvents”> or make a popup open a different module. Sorry, but when i look into the thread on the forum I’m not sure which problem we disscuss currently. I’ll talk to You by mail, so it will go faster than wait for moderator tool to release Your thread again.
User avatar
Moderator


cron