Link in module

October 08 Joomla Templates
GK User
Sat Jul 14, 2012 11:29 am
Hi,
Can anyone explain why the link in the module "Konkurrencer" is not working.

www.fritidsmagasinet.dk


http://tinypic.com/r/jua2qa/6
User avatar
Expert Boarder

Konrad M
Sat Jul 14, 2012 4:02 pm
Hi,
please check if the category of item from this module is added as menu item in main menu.
User avatar

GK User
Sun Jul 15, 2012 8:27 am
Hi,
For this module I do not need or want a menu item. People should just have to click on the module to learn more about the "konkurrencer" that means competions where people can win something.
Best
Louis
User avatar
Expert Boarder

GK User
Tue Jul 17, 2012 5:48 pm
Hi,

I created an article "Sommer i Provence"

and a module "Sommer i Provence" which is now unpublished. It is a copy of Konkurrencer and meant to be set in the same place as a substitution of Konkurrencer.

Then I created a menu "Sommer i Provence" which was only for special user to see.

But it didn't work. I was not able to display the image in the article.

Then I deleted the menu and tried later. Then I was not allowed to create a menu with the same url. Så I made another Skønne Provence, but that did not work either.

So now I am back with the old Kokurrencer that does not work. The links in the articles do not work.

See http://www.fritidsmagasinet.dk

By the way - how can I create a menu with the name I want without getting the error message that a menu with this url exists.

Can anyone help.

Best

Louis



--
User avatar
Expert Boarder

GK User
Tue Jul 17, 2012 6:13 pm
Here is a screenshot

http://tinypic.com/r/zyhffr/6
User avatar
Expert Boarder

Konrad M
Tue Jul 17, 2012 6:43 pm
Can you provide correct url to your site ? Becasue this one isn't working.
User avatar

GK User
Tue Jul 17, 2012 8:00 pm
Yes,
Here you go.

http://www.fritidsmagasinet.dk

Best

Louis
User avatar
Expert Boarder

Konrad M
Wed Jul 18, 2012 12:08 pm
Unfortunetly not working. If I go there I will see Apache 2 Test Page. Nothing more.
User avatar

GK User
Wed Jul 18, 2012 8:58 pm
Is this a problem you experience with my site only?

You are welcome to contact my host directly - [email protected] - att Thomas.

This is so strange.

Best
Louis
User avatar
Expert Boarder

GK User
Thu Jul 19, 2012 9:41 am
Hi Konrad,

My host ask if the ip is dynamic or static

84.10.239.173
Er det en statisk ip adresse eller er den dynamisk ?

Mvh. Internet 123 support - Thomas

Du kan følge denne ticket her:
https://support.i123.dk/tickets/louis.m ... 554691408/
User avatar
Expert Boarder

Konrad M
Fri Jul 20, 2012 9:13 am
You are asking about my IP ?
User avatar

GK User
Sun Jul 22, 2012 3:09 pm
Hi Konrad,
Yes he is. Why I don't know, but I guess he has a good reason. You can ask him.

Best
Louis
User avatar
Expert Boarder

Konrad M
Mon Jul 23, 2012 8:26 am
My IP is static.
User avatar

GK User
Sat Jul 28, 2012 9:19 am
It is strange.
NormanUK and others see the site - I have tried several pc on libraries and so - and they show the site perfect.
To move on with this specific topic is it ok to have NormanUK look at it. He can see www.fritidsmagasinet.dk
User avatar
Expert Boarder

GK User
Fri Aug 03, 2012 7:27 am
Hi Konrad,

Is it still imposible for you to see the site - have you tried on other computers for example at the library or other places?
User avatar
Expert Boarder

GK User
Mon Aug 06, 2012 9:18 am
Hi,
This is what my host just wrote in Danish - please translate it in google.

Does this help.

du blokerer en masse via din .htaccess fil på webhotellet.

Måske er det årsagen til at han ikke kan se siden:

########## Block bad user agents

m.m.



Mvh. Internet 123 support - Thomas
User avatar
Expert Boarder

GK User
Wed Aug 29, 2012 10:15 am
Have you looked into it?
User avatar
Expert Boarder

GK User
Thu Aug 30, 2012 8:23 am
Hi,
Any solutions to your problem with not being able to see the site?
User avatar
Expert Boarder

GK User
Fri Aug 31, 2012 9:56 am
@morgenstund,

Can you please check while viewing main menu items if you have any items in trash, if you do simply empty your joomla trash, select status > trashed, select all items by checking on their checkbox and click on top right "Empty Trash". Now you can recreate the menu item which you couldn't earlier on. See below image.

Image

When you create the menu item make sure it is linked to joomla or k2 category where your module is getting its data from, this way links will work.

Also see following topic regarding why links not working and menu & joomla / k2 category examples.

https://www.gavick.com/forums/image-sho ... 18883.html

See you around...
User avatar
Platinum Boarder

GK User
Fri Aug 31, 2012 5:34 pm
HI,
thanks for the answer.
I can not see the image - could you use a tinypic.com - I just see a square where image should be.

But thanks once again.

Best

Louis
User avatar
Expert Boarder

GK User
Fri Aug 31, 2012 9:02 pm
Image is from tinypic already.

Here is a link.

http://i45.tinypic.com/2a4si39.jpg

See you around...
User avatar
Platinum Boarder

GK User
Mon Sep 03, 2012 10:53 am
User avatar
Expert Boarder

GK User
Mon Sep 03, 2012 12:34 pm
You can use it in hidden menu. Only thing is whatever alias you enter in menu item in website urls you will see that alias.

See you around...
User avatar
Platinum Boarder

GK User
Sat Sep 22, 2012 8:51 pm
Hi,
I think I got the solution. It seems to work, but a facebook link inside does not. How do I make it work=

http://fritidsmagasinet.dk/index.php?op ... Itemid=593

Image

http://tinypic.com/r/la64x/6
http://i45.tinypic.com/la64x.jpg
Best
Louis
User avatar
Expert Boarder

GK User
Sun Sep 23, 2012 7:03 am
Looks like module is stripping html code before outputting. There is a switch in module settings > Additional Settings > XHtml Off. Check that, in my testing on twn2 it didn't have any effect so I ll check with developers if this is normal behaviour.

See you around...
User avatar
Platinum Boarder

GK User
Tue Sep 25, 2012 10:21 am
Great - I am looking forward to your answer.
I tried to publish a copy of the module on right top on frontpage, but I was only able to see a small part of the text - it was all to the right. I am wondering why it changes when published on the frontpage and not under for example the menu - Konkurrencer - also right top.
Best
Louis
User avatar
Expert Boarder

GK User
Tue Sep 25, 2012 10:41 am
I have tested this further and following is what I've found.

Normal Article layout items follow switch in module settings additional settings > XHTML "on" or "off". If its on it strips HTML tags in content if its off it doesn't. So using html tags in Joomla Articles or K2 Items and if those are displayed in "Article Layout items" then it will work regardless of module position.

Link Layout items however strips off html tags and has no switch to enable it or disable it.

Regarding difference between article layout items and Link Layout items see following image.

Image

See you around...
User avatar
Platinum Boarder

GK User
Wed Sep 26, 2012 4:41 pm
Hi Norman,
I tried, but to no avail.
My plan was to unpublish "Køb og Salg" module top right and then havn the "konkurrence top rigt" instead.
Maybe you will give it a try - I guess you have my credential.
You can just check off the Køb og Salg so it is still on the other pages.
Best
Louis
User avatar
Expert Boarder

GK User
Thu Sep 27, 2012 9:31 am
Please send details again as I usually delete them after a solution is given.
normanuk [at] live.co.uk

Please also include ftp details in case I need to make changes to module files.

Please include this topic url in your email.

See you around...
User avatar
Platinum Boarder

GK User
Thu Sep 27, 2012 12:39 pm
Please check your website to see if its working as you wanted.

I added a link to Following article "Vind Santa Maria middagskit" following word "Tilmeld dig" is linked to http://www.mywebsite.com.

It is showing on module.

I had to make a change to module file due to following reason.

When XHTML is disabled in module settings > additional settings then your first image gets rendered in module as large image.
I have added '<a>' to whilelist so that doesn't get stripped while XHTML clean mode is enabled.
File: modules\mod_news_pro_gk4\tmpl\layout.parts.php
Line: 32 to 34 which is below
Code: Select all
   // article text generator
   function text($config, $news_id, $news_cid, $news_text, $news_readmore) {
      if($config['news_content_text_pos'] != 'disabled') {
         if($config['clean_xhtml'] == 1) $news_text = strip_tags($news_text);

Added last line '<a>' which strips rest of html but allows a link.
Code: Select all
   // article text generator
   function text($config, $news_id, $news_cid, $news_text, $news_readmore) {
      if($config['news_content_text_pos'] != 'disabled') {
         if($config['clean_xhtml'] == 1) $news_text = strip_tags($news_text,'<a>');


See you around...
User avatar
Platinum Boarder

GK User
Thu Sep 27, 2012 4:59 pm
Hi Norman,

The link works great, but the module looks great when a copy is placed on the frontpage.

Image

http://tinypic.com/r/175k6x/6

Best
Louis
User avatar
Expert Boarder

GK User
Fri Sep 28, 2012 4:33 am
Can you please send joomla admin details as I cannot access your site and then I ll take a look at the module in homepage.

See you around...
User avatar
Platinum Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.