-
AuthorPosts
-
fatimashah Friend
fatimashah
- Join date:
- June 2006
- Posts:
- 12
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
June 3, 2010 at 2:24 pm #151561Hi,
I’ve had a look through the forum and can’t find the solution even though people have had similar problems.
Basically the image in my article that is showing on the frontpage is overlapping all the text. I just want the images to show exactly how they are in the article. I don’t want them aligning to the left or to the top. My images show under the text of the article.
I’ve attached two screenshots – one of how it looks and another of how it should look. Is there a way to make it so that it just displays the article exactly how it is in the full article when you click on it?
Thankyou!
-
bkmja Friend
bkmja
- Join date:
- June 2010
- Posts:
- 96
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 25
- Thanked:
- 1 times in 1 posts
June 4, 2010 at 2:28 am #345915Hi,
Having similar issue with content. Just want to show frontpage articles, but the article layout is being destroyed.
Thanks in advance.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 4, 2010 at 8:52 am #345962Dear all!
On the home page, thumbnails are displaying , they are rendered by the ja thumbnail plugin, with the size fixed: 60*60, so that you only re-configure the with and height of thumbnail rendered on the front-page layout
Good luck
fatimashah Friendfatimashah
- Join date:
- June 2006
- Posts:
- 12
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
June 4, 2010 at 11:41 am #345999Hi,
How do I remove thumbnails being shown? I don’t want thumbnails on the frontpage. I just want normal articles to show how they are wiith images in their normal order. Please look at the photos I attached of how it should look. Is there a way so that articles show the same way they are formatte dthrough the administrator panel.
Thankyou.
fatimashah Friendfatimashah
- Join date:
- June 2006
- Posts:
- 12
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 3
- Thanked:
- 1 times in 1 posts
June 4, 2010 at 12:47 pm #346004Hi,
OK I worked it out from another post. I thought I’d post it here in case anyone else needs the same thing:
Just remove lines 18-26 in default_item.php, located in /templates/ja_rasite/html/com_content/frontpage/ .
So, completely remove:
Code:<?php
//Get out all images
$regex = “/<img[^>]*>/”;
$images = ”;
if (preg_match_all ($regex, $this->item->text, $matches)) {
$this->item->text = preg_replace ($regex, ”, $this->item->text);
$images = implode (“n”, $matches[0]);
}
?>1 user says Thank You to fatimashah for this useful post
bkmja Friendbkmja
- Join date:
- June 2010
- Posts:
- 96
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 25
- Thanked:
- 1 times in 1 posts
June 5, 2010 at 6:53 am #346051<em>@tienhc 181484 wrote:</em><blockquote>Dear all!
On the home page, thumbnails are displaying , they are rendered by the ja thumbnail plugin, with the size fixed: 60*60, so that you only re-configure the with and height of thumbnail rendered on the front-page layout
Good luck</blockquote>
Hi,
Thank you for the reply, but this is still unclear. I downloaded and installed the template only, no modules or plugins, so this must be another issue.
I also notice when the template is default that images have a blue border around them in the article editor. What is generating that blue border?
Thanks in advance for the help.
bkmja Friendbkmja
- Join date:
- June 2010
- Posts:
- 96
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 25
- Thanked:
- 1 times in 1 posts
June 5, 2010 at 7:03 am #346052<em>@fatimashah 181539 wrote:</em><blockquote>Hi,
OK I worked it out from another post. I thought I’d post it here in case anyone else needs the same thing:
Just remove lines 18-26 in default_item.php, located in /templates/ja_rasite/html/com_content/frontpage/ .
So, completely remove:
Code:<?php
//Get out all images
$regex = “/<img[^>]*>/”;
$images = ”;
if (preg_match_all ($regex, $this->item->text, $matches)) {
$this->item->text = preg_replace ($regex, ”, $this->item->text);
$images = implode (“n”, $matches[0]);
}
?></blockquote>Hi,
Thank you. I would like to better understand this issue. What exactly is this code doing, and why is it in the main content area? Also, if the other thread explains the issue, would like to read it.
Thank you.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 11, 2010 at 2:12 am #346687Dear bkmja!
The above code is using for remove images in the front-page layout.
<blockquote>I downloaded and installed the template only, no modules or plugins</blockquote>=> you try to download the ja thumbnail plugin and install it in your site, i recommend you should install the quickstast on your site and see the configuration of this plugin, you’ll make the configuration same as the demo for your plugin
bkmja Friendbkmja
- Join date:
- June 2010
- Posts:
- 96
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 25
- Thanked:
- 1 times in 1 posts
June 11, 2010 at 4:55 am #346709Hi,
Thanks for the reply.
If I understand quickstart properly, it will install joomla too. I already have a solid joomla install, with files modified for security, seo, etc…I do not want to overwrite those changes so I do not think this is an option. In any reagards, tweaking settings on modules is not difficult.
As for the thumbnail plugin, I already have an extension for managing images. I will explore your thumbnail plugin some more via the forums.
I also have another question. Do you customize the code of the modules, plugins, and template for the quickstart package? I am getting the feeling these quickstart versions are different.
Thanks again.
bkmja Friendbkmja
- Join date:
- June 2010
- Posts:
- 96
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 25
- Thanked:
- 1 times in 1 posts
June 11, 2010 at 5:14 am #346711Hi,
I may have figured out what is going on which was not clear.
In the template, the com_content articles that are displayed in “featured articles” area has been coded to work differently than a normal template, and only with the thumbnail plugin, that is why the template is messing with normal com_content articles.
Is this correct?
Thanks in advance.
bkmja Friendbkmja
- Join date:
- June 2010
- Posts:
- 96
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 25
- Thanked:
- 1 times in 1 posts
June 11, 2010 at 6:27 am #346720Hi,
Downloaded and installed thumbnail plugin. I can see now how this template absolutely must use this plugin for the frontpage.
But I have created another issue that I have to sort out now. I had the content slider set up perfectly before I started testing this plugin to better understand it. And now even though I have disabled the plugin, the images in the content slider are not resizing to the correct dimensions.
Does the thumbnail plugin and contentslider not play well together?
Thanks in advance.
June 11, 2010 at 7:57 am #346733Could you please share with us how we should configure the plug in, since Im tired of wait and I dont have a solution for my problem.
My page http://www.latingamers.net and I can´t find the way of fix the image overlaping the text.Thank you
bkmja Friendbkmja
- Join date:
- June 2010
- Posts:
- 96
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 25
- Thanked:
- 1 times in 1 posts
June 11, 2010 at 8:07 am #346736<em>@marcebarcelona 182417 wrote:</em><blockquote>Could you please share with us how we should configure the plug in, since Im tired of wait and I dont have a solution for my problem.
My page http://www.latingamers.net and I can´t find the way of fix the image overlaping the text.Thank you</blockquote>
I don’t see any problems on your frontpage…
bkmja Friendbkmja
- Join date:
- June 2010
- Posts:
- 96
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 25
- Thanked:
- 1 times in 1 posts
June 11, 2010 at 8:17 am #346738<em>@bkmja 182404 wrote:</em><blockquote>Hi,
Downloaded and installed thumbnail plugin. I can see now how this template absolutely must use this plugin for the frontpage.
But I have created another issue that I have to sort out now. I had the content slider set up perfectly before I started testing this plugin to better understand it. And now even though I have disabled the plugin, the images in the content slider are not resizing to the correct dimensions.
Does the thumbnail plugin and contentslider not play well together?
Thanks in advance.</blockquote>
Hi,
Did some testing. Will have to look some more at this, but the thumbnail plugin corrupted my content slider modules somehow. The photos in the slider are displaying the full size as in the article, and the corrupted modules are forcing me to change the pic sizes to get the module to allow changes at all. In essence, the module will no longer allow me to keep the perfect photo sizes I previously set
If anyone has any ideas, as the forum search produced no obvious hits, I would appreciate it.
Thanks in advance.
EDIT > Problem self resolved overnight. (-:
-
AuthorPosts
Viewing 14 posts - 1 through 14 (of 14 total)This topic contains 14 replies, has 4 voices, and was last updated by bkmja 14 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum