issue with k2 content module to work on homepage

Advanced and professional portal news Joomla template with community features and various content display layouts.
GK User
Sat Jul 13, 2013 2:55 pm
hi, i cannot seem to get k2 content module working properly. what i would like to do is, i would like to have the module working on my home page, and by using the page break, show three paragraphs on my home page of the story and then you can link through to the main story. but when i have tried this, the page break does not do the job

can anyone let me know if there is a way of only showing two or three paragraphs on my home page, do not want to do the word count as it does not give me line breaks and spaces between paragraphs.

any advice would be good, site is http://www.in2town.co.uk
User avatar
Platinum Boarder

teitbite
Sun Jul 14, 2013 1:39 am
Hi

A line break is dividing article into introtext and fulltext and K2 Content is capable of it as I know (this is not our product). But You need to set pagebreak carefully to not to divide a html syntax by accident, because it will bring validation error and may destroy the site.
User avatar
Moderator

GK User
Mon Jul 15, 2013 10:48 am
teitbite wrote:Hi

A line break is dividing article into introtext and fulltext and K2 Content is capable of it as I know (this is not our product). But You need to set pagebreak carefully to not to divide a html syntax by accident, because it will bring validation error and may destroy the site.


ok best look for a module that will do what i need then which is to show three paragraphs of an article on my home page with all the spaces
User avatar
Platinum Boarder

teitbite
Tue Jul 16, 2013 3:42 am
Hi

I think page break is the only option. It's not the best solution to show articles by the number of paragraphs. Paragraphs can have a different sizes, so You will lost a control over the site looks. But having page break You can decide where is should end. Anyway the closest module which can do that in K2 content, but it does not have as many options as NSP to display article.
User avatar
Moderator

GK User
Tue Jul 16, 2013 9:45 am
teitbite wrote:Hi

I think page break is the only option. It's not the best solution to show articles by the number of paragraphs. Paragraphs can have a different sizes, so You will lost a control over the site looks. But having page break You can decide where is should end. Anyway the closest module which can do that in K2 content, but it does not have as many options as NSP to display article.


ok. it is going to make the site look silly, so looks like it will not be an option. i do not understand why on k2 content module when you put a word count in, it clears the html.

I really do not understand why no one has ever invented a module that does this. i have asked for many years about this type of module and still no company or developer has written one.

to me it makes sense to have a module where you can say just display two paragraphs, or two display three paragraphs or to display a number of words but keep the spaces and layouts intact.

I have heard page break could also damage the site, so it is not an option that i can afford to take. I wanted to have something like this on my site so i could get google to visit and crawl the site more often as for some reason, since my upgrade, google only visits my site every five or six days so articles that we write today and we want people to see today, will not be indexed until five or six days, so i was hoping by keep having the latest articles on the front page and showing around two paragraphs that it will encourage google to visit more.

Do you think there will ever be a module that will do this, or do you think there will ever be a module where you can say, display 200 words but keep the spaces in and the style in.
User avatar
Platinum Boarder

teitbite
Tue Jul 16, 2013 7:22 pm
Hi

I will make such customization for You. Just need an FTP access and information how many paragraphs to display.

HTML needs to be cleared when cutting text to a number of chars or words, becuase if not than a paragraph can be cut in half so there will be an oppening for paragraph <p> but no closing one. Which will result in valiation error and broken site.

Such module was not created, becauase paragraphs can have different sizes and for example images hidden in it. Which will result in a very messy websites. But I'll trust You will take control over this and not make big paragraphs or hide any big elements in this starting paragraphs also. This is the only way such solution will work.
User avatar
Moderator

GK User
Tue Jul 16, 2013 11:57 pm
teitbite wrote:Hi

I will make such customization for You. Just need an FTP access and information how many paragraphs to display.

HTML needs to be cleared when cutting text to a number of chars or words, becuase if not than a paragraph can be cut in half so there will be an oppening for paragraph <p> but no closing one. Which will result in valiation error and broken site.

Such module was not created, becauase paragraphs can have different sizes and for example images hidden in it. Which will result in a very messy websites. But I'll trust You will take control over this and not make big paragraphs or hide any big elements in this starting paragraphs also. This is the only way such solution will work.


are you saying that it will break my site. what i would like is to have three paragraphs but do not want it to wreck the site. i have done an example on my home page where i have used the custom module. it is under lifestyle story of the day

i will send you cpanel access to the site via pm. many thanks for this.
User avatar
Platinum Boarder

teitbite
Thu Jul 18, 2013 5:23 am
Hi

It may break if articles will not be prepared properly. But to be honest I've seen so many problems with the default article adding system already, that I would say it has to be made properly always :)

In Your other thread I advice using K2 content. So since this 2 threads are connected now please select one to continue conversation and simply leave one of them.
User avatar
Moderator

GK User
Thu Jul 18, 2013 12:29 pm
teitbite wrote:Hi

It may break if articles will not be prepared properly. But to be honest I've seen so many problems with the default article adding system already, that I would say it has to be made properly always :)

In Your other thread I advice using K2 content. So since this 2 threads are connected now please select one to continue conversation and simply leave one of them.


please close this threat and will use the other thread
User avatar
Platinum Boarder

teitbite
Sat Jul 20, 2013 12:09 am
Hi

Ok. Closed as requested.
User avatar
Moderator


cron