-
AuthorPosts
-
Mikael Andersson Friend
Mikael Andersson
- Join date:
- September 2014
- Posts:
- 58
- Downloads:
- 1
- Uploads:
- 6
- Thanks:
- 11
- Thanked:
- 4 times in 1 posts
October 14, 2010 at 3:01 pm #155285Hello!
I have about three or four articles showing on the frontpage. In the text I have a link pointing to another article. However.. I also want the image to be clickable and point to the same link as in the text.
So I added a link to the image, but it doesn’t work if the article is shown in the frontpage.
Any suggestions?
/Henrik, Vallagruppen
Don Lee FriendDon Lee
- Join date:
- March 2010
- Posts:
- 923
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 41
- Thanked:
- 274 times in 238 posts
October 15, 2010 at 8:07 am #359080<em>@vallagruppen 198523 wrote:</em><blockquote>Hello!
I have about three or four articles showing on the frontpage. In the text I have a link pointing to another article. However.. I also want the image to be clickable and point to the same link as in the text.
So I added a link to the image, but it doesn’t work if the article is shown in the frontpage.
Any suggestions?
/Henrik, Vallagruppen</blockquote>
Hi,
Could you take me to your site for a check?Mikael Andersson FriendMikael Andersson
- Join date:
- September 2014
- Posts:
- 58
- Downloads:
- 1
- Uploads:
- 6
- Thanks:
- 11
- Thanked:
- 4 times in 1 posts
October 19, 2010 at 10:35 am #359523Hi, of course! Here’s the URL: http://www.basco.nu
zao dao Friendzao dao
- Join date:
- September 2014
- Posts:
- 155
- Downloads:
- 160
- Uploads:
- 2
- Thanks:
- 12
- Thanked:
- 11 times in 1 posts
October 19, 2010 at 12:56 pm #359536use jceeditor and you can add article link to images .
www.8media.com
www.zaodao.comSaguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
October 26, 2010 at 2:29 am #360540<em>@vallagruppen 199193 wrote:</em><blockquote>Hi, of course! Here’s the URL: http://www.basco.nu</blockquote>
The ja rasite template made the overriding layout for the front-page layout. it does not allowing make the link of image. you can customize this as following:
you open the file: templatesja_rasitehtmlcom_contentfrontpagedefault_item.php and find the following code:
[PHP]
if (preg_match_all ($regex, $this->item->text, $matches)) {
$this->item->text = preg_replace ($regex, ”, $this->item->text);
$images = implode (“n”, $matches[0]);
}
[/PHP]
you remove them
and then you make the link for image via the editor1 user says Thank You to Saguaros for this useful post
Mikael Andersson FriendMikael Andersson
- Join date:
- September 2014
- Posts:
- 58
- Downloads:
- 1
- Uploads:
- 6
- Thanks:
- 11
- Thanked:
- 4 times in 1 posts
October 26, 2010 at 12:06 pm #360618<em>@tienhc 200501 wrote:</em><blockquote>The ja rasite template made the overriding layout for the front-page layout. it does not allowing make the link of image. you can customize this as following:
you open the file: templatesja_rasitehtmlcom_contentfrontpagedefault_item.php and find the following code:
[PHP]
if (preg_match_all ($regex, $this->item->text, $matches)) {
$this->item->text = preg_replace ($regex, ”, $this->item->text);
$images = implode (“n”, $matches[0]);
}
[/PHP]
you remove them
and then you make the link for image via the editor</blockquote>Thank you! That worked perfectly 🙂
/Henrik, Vallagruppen
January 3, 2011 at 8:07 pm #369880I am having the same problem. When I put an image on the site home page and try to make it a link, the template removes the link. I have edited the PHP Code in default_item.php as noted above with no result. Please help. Thanks.
The site is http://www.phoenixhillna.org. -
AuthorPosts
This topic contains 7 replies, has 5 voices, and was last updated by lesasei 13 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum