The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Thu Sep 09, 2010 1:07 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Aug 06, 2010 2:50 pm
Posts: 28
Hello guys.

Any extensions out there which can help me publish articles which will have the same size (dimensions)? I tried to work it with an automatic read more plugin, but it doesn't seem to work because if for example the title of an article is longer than the title of another or if one article contains more empty spaces than an other, the automatic read more doesn't help because it counts only the words or the characters of the article. What i want is something (plugin or whatever) which will give me fixed size for articles' "boxes" (ie. 500 x 400).

Any ideas? If i don't find a solution here it means that i cant publish my website!

Thank you


Top
 Profile  
 
PostPosted: Thu Sep 09, 2010 1:21 pm 
User avatar
Joomla! Master
Joomla! Master
Online

Joined: Wed Aug 13, 2008 2:57 am
Posts: 15673
Location: Chennai, India
You could do this by using the min-height and max-height properties for the css that controls the content display.

_________________
- Ilagnayeru (MIG) Manickam
http://www.eegan.org - helping the poor and underprivileged
educate. empower. enrich.
Support the poor and underprivileged


Top
 Profile  
 
PostPosted: Thu Sep 09, 2010 1:37 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Aug 06, 2010 2:50 pm
Posts: 28
sounds good. some help for where can i find that?


Top
 Profile  
 
PostPosted: Thu Sep 09, 2010 2:21 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Aug 06, 2010 2:50 pm
Posts: 28
i found something in /templates/mytemplate/css folder. There are 4 css files. editor.css, template.css, template.ie6.css and template.ie7.css. I tried to edit the template.css file but there are so many information in there and i got somewhere i got lost! i would appreciate it if you could give me more detailed information :)


Top
 Profile  
 
PostPosted: Thu Sep 09, 2010 2:34 pm 
User avatar
Joomla! Master
Joomla! Master
Online

Joined: Wed Aug 13, 2008 2:57 am
Posts: 15673
Location: Chennai, India
What is your site URL? What is the template you are using?

_________________
- Ilagnayeru (MIG) Manickam
http://www.eegan.org - helping the poor and underprivileged
educate. empower. enrich.
Support the poor and underprivileged


Top
 Profile  
 
PostPosted: Thu Sep 09, 2010 4:15 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Aug 06, 2010 2:50 pm
Posts: 28
The site is http://new.asomatos.eu .But it's in greek,so I hope you know some greek!:).But anyway I think you will get an idea for the problem I have. I use my own template,created with artristeer (or something like that). I can send you the css file if you want to check it out


Top
 Profile  
 
PostPosted: Thu Sep 09, 2010 5:59 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Aug 06, 2010 2:50 pm
Posts: 28
i was looking around in the web and i found this link http://demoeng.lot-studio.ru/en/smartresizer-demo . This is almost what i'm looking for!! Check their content how nice it looks :|. Got any idea how they did that?


Top
 Profile  
 
PostPosted: Fri Sep 10, 2010 10:50 am 
User avatar
Joomla! Master
Joomla! Master
Online

Joined: Wed Aug 13, 2008 2:57 am
Posts: 15673
Location: Chennai, India
I am glad that you are looking around for a solution. The demo site you have referenced is good. However, I do not think that all your articles would contain the same text and the Read More break at the same place. It is not practical. All you could do is to have Read More separation in almost similar places - it is just a question of trial and error.

For example, in your template, if you alter the following css entry that is available in the template.css that is located in the directory \templates\asomatos2408\css, you would notice that all the boxes would be of the same height.

Code:
.art-Post-body
{
   position: relative;
   z-index: 1;
   padding: 11px;
   height: 550px; /* newly added */
}



In these situations, you could use the tool FireBug to inspect elements and view the css entries.

The tool FireBug that is available in browsers such as FireFox and Chrome could be used for this purpose. With FireBug you can inspect an element in a web page and find out its css entries and in which file the entries are located. You could even change the css entries to see how it affects the look and feel of your site. Once you are satisfied you could incorporate the changes in the actual file.

Review the file http://docs.joomla.org/Tutorial:Using_Firebug_With_Your_Joomla_Website for more information about how to use FireBug.

_________________
- Ilagnayeru (MIG) Manickam
http://www.eegan.org - helping the poor and underprivileged
educate. empower. enrich.
Support the poor and underprivileged


Top
 Profile  
 
PostPosted: Fri Sep 10, 2010 1:18 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Aug 06, 2010 2:50 pm
Posts: 28
ok now we are talking. i tried to edit the css file and i saw the results. It seems that all the secondary articles work fine, and let's say that there one way or an other i can control the read more function (maybe by setting less or more characters for the auto read more plugin to work, in order not to set the read more for every article every time a new article comes in).

Now the problem is that by setting the height of the articles, unfortunately it affects all the articles and not only the secondary ones. So in simple terms, is there a way to set the height only for the secondary articles and not for the leading one or all the other things i have at the bottom of the page (those videos you saw and photos...). It looks that you are expert on these css things and i really like that!!:p. I think i found my saint! :p


Top
 Profile  
 
PostPosted: Fri Sep 10, 2010 1:53 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Aug 06, 2010 2:50 pm
Posts: 28
i tried something else. i changed the min-height to let's say 450px so now even if the article is smaller than others, the box will still have the same size. if it's longer, then i just set the read more (in the secondary articles).
But i still have the problem with the other areas,where i have my videos, my photos, the other articles etc... All those are recognised as articles there, so their size is affected as well. Now i have to find a way to exclude those specific article areas from the coordinates i set above.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 



Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group