- Posts: 38
COMMUNITY FORUM
Error in "add new item" frontpage link
- Sebastian
-
Topic Author
- Offline
- Junior Member
Less
More
12 years 4 months ago - 12 years 4 months ago #108487
by Sebastian
Error in "add new item" frontpage link was created by Sebastian
I found a strange error after the "add new item" link in frontpage.
Everything appears doubled. The the entry mask for title, tags and stuff is doubled, as its the same with the editor.
The second display of the mask (entry form, editor) seems to refresh every few seconds since it resets all my entries.
This seems strange to me since it worked perfectly a while before and I dont know which change on the system caused this behaviour.
Everything appears doubled. The the entry mask for title, tags and stuff is doubled, as its the same with the editor.
The second display of the mask (entry form, editor) seems to refresh every few seconds since it resets all my entries.
This seems strange to me since it worked perfectly a while before and I dont know which change on the system caused this behaviour.
Please Log in or Create an account to join the conversation.
- Sebastian
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 38
12 years 4 months ago - 12 years 4 months ago #108488
by Sebastian
Replied by Sebastian on topic Re: Layout Error in "add new item" frontpage link
This seems to affect only the "add new item" link in the user menu.
When I create another regular link to the k2 "item edit form" it works like a charm.
I am using K2 2.6.2 with Joomla 2.5.8
When I create another regular link to the k2 "item edit form" it works like a charm.
I am using K2 2.6.2 with Joomla 2.5.8
Please Log in or Create an account to join the conversation.
- Sebastian
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 38
12 years 4 months ago - 12 years 4 months ago #108489
by Sebastian
Replied by Sebastian on topic Re: Layout Error in "add new item" frontpage link
I found out the call/link from the module is wrong.
Wrong link (generated automatically from k2): /index.php/home/item/add?tmpl=component
Correct link: /index.php/home/item/add
"submit-article" is just the alias of a menu item "Item edit form" type.
How is it possible that the link from the menu is wrong?
I only found this out by adding an additional menu to the K2 user module and within that additional menu having a separate "Item edit form".
Now i have 2 "add item" links in my user menu. The regular K2 "add new item" link which is not working, and another one working as intended.
Wrong link (generated automatically from k2): /index.php/home/item/add?tmpl=component
Correct link: /index.php/home/item/add
"submit-article" is just the alias of a menu item "Item edit form" type.
How is it possible that the link from the menu is wrong?
I only found this out by adding an additional menu to the K2 user module and within that additional menu having a separate "Item edit form".
Now i have 2 "add item" links in my user menu. The regular K2 "add new item" link which is not working, and another one working as intended.
Please Log in or Create an account to join the conversation.
- Sebastian
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 38
12 years 4 months ago #108490
by Sebastian
Replied by Sebastian on topic Re: Error in "add new item" frontpage link
nobody got any clue?
Please Log in or Create an account to join the conversation.
- Sebastian
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 38
12 years 4 months ago - 12 years 4 months ago #108491
by Sebastian
Replied by Sebastian on topic Re: Error in "add new item" frontpage link
Can someone tells me where the module gets his "?tmpl=component" from?
Its not in my DB and not in my Joomla files. I simply cannot find any source to this setting.
Without the "?tmpl=component" the form works perfectly fine.
//edit:
the "moderate comments to my published items" link seems to work fine even though it has a "?tmpl=component" link type, too.
Its not in my DB and not in my Joomla files. I simply cannot find any source to this setting.
Without the "?tmpl=component" the form works perfectly fine.
//edit:
the "moderate comments to my published items" link seems to work fine even though it has a "?tmpl=component" link type, too.
Please Log in or Create an account to join the conversation.
- Sebastian
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 38
12 years 3 months ago #108492
by Sebastian
Replied by Sebastian on topic Re: Error in "add new item" frontpage link
Found the solution:
I was loading an external jQuery lib in the settings. Changed it back and everything worked fine then.
I was loading an external jQuery lib in the settings. Changed it back and everything worked fine then.
Please Log in or Create an account to join the conversation.