Keyword

Introtext word limit

  • jacklib
  • jacklib's Avatar Topic Author
  • Offline
  • New Member
More
15 years 1 month ago #80319 by jacklib
Introtext word limit was created by jacklib
Hi! I'm trying to limit the Introtext in Category Listing of all categories I have from a Menu link to the component Categories but the Introtext limit is not working but it seems to work if I list all items in a single category. Doesn't K2 is using the same template for all categories (category.php)?Anybody tried or fixed this issue?Thanks!

Please Log in or Create an account to join the conversation.

More
15 years 1 month ago #80320 by Tvrtko
Replied by Tvrtko on topic Introtext word limit
Hello, I have a similar problem. Were can I limit introtext for multiple category listing that is set from a menu link?
I'm using K2 2.1.

update:
File controlling this feature is category_item.php in com_k2/templates/default (if I'm not mistaken) and the following line of code:





I am wondering why "introtext" variable shows full text of an article.

Please Log in or Create an account to join the conversation.

More
15 years 1 month ago #80321 by Simon Wells
Replied by Simon Wells on topic Introtext word limit
Hi Tvrtko.

You need to specify, in your parent category, what the intro text limit will be. This can be done under the Item view options in category listings parameters, which is found in the category itself, not the menu.
If you have sub categories, then you can either do the same to them or you can use the inherit function to copy all parameters from the parent.

So, categories can be independent in layout, the can also inherit from parent, you can also apply specific templates to each category.

More information can be found in the documents on the K2Joom.com site.
This works both both 2.1 and 2.2.

Regards,

Simon

Please Log in or Create an account to join the conversation.

More
15 years 1 month ago #80322 by Tvrtko
Replied by Tvrtko on topic Introtext word limit
Dear Simon, thank you for the reply.
The problem is that I have already set intro text limit in category listings parameters.
You can see the data in a file that I have attached.

Please Log in or Create an account to join the conversation.

More
15 years 1 month ago #80323 by Greg Gaskill
Replied by Greg Gaskill on topic Introtext word limit
I have the same problem - have tried setting the parent category intro text limit with no success. Tried the same setting for child categories too - still no luck.

Please Log in or Create an account to join the conversation.

More
15 years 1 month ago #80324 by Simon Wells
Replied by Simon Wells on topic Introtext word limit
The two categories shown above, are they both top level categories or are they sub categories within another?
If they are actually sub cats, then check the top level category first.

Also, do any of these cats inherit from parameters from another category? or have you got any over rides set in the item itself.
Finally, check the main K2 parameters to see if intro text is enabled, that the icon on the top right side of the k2 dashboard which appears in a lightbox pop up.

Simon
K2Joom.com

Please Log in or Create an account to join the conversation.

More
15 years 2 weeks ago #80325 by piperchick
Replied by piperchick on topic Introtext word limit
I'm having the same problem as Adam.

I want my home page (which is a collection of categories) to limit introtext. It works fine if I click the "Category link" at the bottom of any article, but the link from the menu doesn't work for multiple categories.

I have tested with a menu link from a single category and it works fine. I then made a second category and inherited the parameters from the first category and it doesn't work.

Has anybody resolved this?

Adam said:I am having the same problem. On my site www.forexfocusdaily.com I have tried using one category menu item with two categories and it won't limit the intro text. However when I do the two categories as separate menu items they are both limited. How do I fix this so I can do them together so articles from both categories show up on the same page but just intro text?

Please Log in or Create an account to join the conversation.

More
15 years 1 week ago #80326 by Nexus Star
Replied by Nexus Star on topic Introtext word limit
In all my experience Intro text word limit does not work when category listing is on more than one category and category listing is from menu item all other options work although !?
I try everything I could find So here is my settings in category:
Item view options in category listings -> Introtext word limit:50
The second selected category inherit the properties from the first and all categories are primary categories not children

Joomla: 1.5.15
K2 v2.2

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #80327 by Jens Weidemann
Replied by Jens Weidemann on topic Introtext word limit
I have the same problem. Intro text word limit works for all categories if they are displayed at a single category menu item. When i am try to make a menu item with multiple categories, then the intro text word limit isnt working.

To solve the problem is really important for me :(

Is there a solution for this?

Please Log in or Create an account to join the conversation.

  • Mauricio González
  • Mauricio González's Avatar
  • Offline
  • Senior Member
More
14 years 11 months ago #80328 by Mauricio González
Replied by Mauricio González on topic Introtext word limit
IM PRETTY SURE I saw a plugin that did just that. You should look around in the k2 extentions directory.

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #80329 by Jens Weidemann
Replied by Jens Weidemann on topic Introtext word limit
extensions.joomla.org/extensions/extension-specific/k2-exten...

I looked at this link for a plugin, but i dont find anything. Maybe Iam wrong?

Please Log in or Create an account to join the conversation.

  • Mauricio González
  • Mauricio González's Avatar
  • Offline
  • Senior Member
More
14 years 11 months ago #80330 by Mauricio González
Replied by Mauricio González on topic Introtext word limit
True, can't find it myself after 30 mins of looking. :S

Please Log in or Create an account to join the conversation.

More
14 years 11 months ago #80331 by frankmail007
Replied by frankmail007 on topic Introtext word limit
I found a walk-around. That is to use "Read more" feature.

Please Log in or Create an account to join the conversation.

  • jacklib
  • jacklib's Avatar Topic Author
  • Offline
  • New Member
More
14 years 10 months ago #80332 by jacklib
Replied by jacklib on topic Introtext word limit
Hi Frank,

Can you elaborate how you use Read More? is that part of K2 or are you talking about the Plug-in "Read more"?

Thanks!

mail frank said:I found a walk-around. That is to use "Read more" feature.

Please Log in or Create an account to join the conversation.

  • Christian Matthieas
  • Christian Matthieas's Avatar
  • Offline
  • Premium Member
More
14 years 8 months ago #80333 by Christian Matthieas
Replied by Christian Matthieas on topic Introtext word limit
Has anyone found anything on this?

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #80334 by Lefteris
Replied by Lefteris on topic Introtext word limit
Surely the we should be able to use the intro text limit for multiple categories. I have a Master Category, with introtext word limit set at 12 words. I have 2 sub cats and want the layout of the category page to "obey" the params of the master cat. Works fine if I only point the menu link at one of the sub cats - but as soon as I change to multiple cats (i.e., both of them) I lose the intro text word limit that was set. Has anyone figured this out or is it just something we have to deal with?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #80335 by Ash
Replied by Ash on topic Introtext word limit
I am having same problem. I have one parent Category (News) and got few sub category in it. I wat to show one image and few line of intro text from these categories but its seems not working.
I am using v2.3.
Thanks,

caron rose said:Surely the we should be able to use the intro text limit for multiple categories. I have a Master Category, with introtext word limit set at 12 words. I have 2 sub cats and want the layout of the category page to "obey" the params of the master cat. Works fine if I only point the menu link at one of the sub cats - but as soon as I change to multiple cats (i.e., both of them) I lose the intro text word limit that was set. Has anyone figured this out or is it just something we have to deal with?

Please Log in or Create an account to join the conversation.

  • Christian Matthieas
  • Christian Matthieas's Avatar
  • Offline
  • Premium Member
More
14 years 8 months ago #80336 by Christian Matthieas
Replied by Christian Matthieas on topic Introtext word limit
Ok here is the answer to the whole problem. In short, you only need to attach to 1 category even though it has children underneath it and just make sure that it fetches the items in the "subcats". This seems like it doesn't work because it is greyed out but it really does. And... if you need to force it then just selest multiple cats and make sure you can set the "fetch" to yes and then make sure afterwards you select only the one parent category.

I figured out another sucky thing beyond this that when you set a page to only 1 cat it makes life so much easier. I wrote a tutorial and it is really good.... but to answer the question you guyshave the top paragraph is enough. .........----=====

Tutorial:
K2 TUTORIAL HERE:********

For the more complex part, my blogs page it was a lot more tricky. Here we go. I set up a main category called BLOGS. underneath that category I nested Platinum bloggers and every other blog title I have underneath BLOGS. Beneath Platinum Bloggers I put a category Of my name Christian XXXXX This is CRUCIAL so pay attention.

When you set up BLOGS as the main category everything beneath that will be adhering to BLOGS and all of its Parameters IN THE SENSE of you connecting a menu Item to the Category BLOGS. DON'T set up a menu item with multiple categories.. let the nesting do the work. In layman's terms if the category is below the main one you don't have to choose multiple categories ***** the are children items at this point.

***When directing the menu item to categories(s) choose BLOGS ONLY do not highlight every category underneath or it will be considered a "MULTIPLE Category" Listing. *****CRUCIAL.
Now make sure that fetch items in children categories which are your subcats but if it is greyed out don't worry I am pretty sure when you save it and it sees you have children cats it will be put to yes for the Fetch Children cats.

DO NOT select multiple cats on the list this is the last time I will say this. IT screws everything up and confuses the hell out of you if you do.

So now on my Blogs page everything will come up the way I want and all I need to mess with are the settings in the Blogs Category section parameters.

What does this do it makes the link on the article / item title point to the category page if you have that category set up AND ALL CHILDREN ITEMS. Remember, like Kat said if you don't want these pages I am talking about showing up but need them to "POINT / be directed to somewhere" then put them in a new menu you create called Hidden (more below about this). For me I want my categories as menu items. Sort of like a showcase page for my blogs.

So for my platinum user blog member ME (christian) I want to put a page that is for ME so I just repeat the same setup as above and point to a SINGLE category >> Christian XXXXX blog... NOT a USER's blog page and you will see why in a minute.

Going back to my blogs page, because you have listened to me and saved yourself a million hours of headache. You will notice that your links via the READ MORE and the LINK on the article / item point to the item ID in which is the menu item you set up to a category called Christian XXXX Blog. This is the same for the rokpager on your page too whether it is on the front page, blog page, or whatever page. YEAAA.... Proper direction.

Now if you have a blog page set up like me I want the link to the article / item via the title, via the read more, and obviously the category it is published by. THIS IS ALL possible because you set up a menu item pointing to a category where these articles are coming from. AND DIDN'T choose multiple categories EVER.

So one more thing. The author. If you don't set up an author page and you have that on the articles listed in your blog page it will direct to either a blank page (menu less items) or the page where the item is on i.e. the blogs page in my case. So how do we fix this?

Easy, set up a menu item to a user (blog) page i.e. Me the author and this time if you don't want it shown anywhere put it in a hidden menu that isn't displayed on your main menu. I title my menu Hidden for my hidden things. You can title this Christian's Profile because really that is all it is. And it is a horrible set up with poor settings that simply lists everything one after the other and I don't know if they are gonna be fixing this in K2 but for now I rather point to a category with a link to Christians Profile page rather than a direct link to it.

So, if now back to our blogs page item / article listings. if you have author set to show and you visit the page and click on the writer / author you will see it goes to that persons "crappy layout" blog page. It lists social links email and a description and avatar which is cool but for a profile page that is GOOD enough. This was making my main menu items a little messy so I didn't want it there that is why I put it in Hidden Per Kats suggestion. Was confused there for a minute.

This should help a LOT OF you for getting started with K2 so I want to hear some thanks for my hours making yours minutes!!!

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #80337 by Lefteris
Replied by Lefteris on topic Introtext word limit
C - this is a lot of work for you to have put in as a tutorial for everyone - thanks! What you've said makes sense so will be trying this out for our client today. It's also going straight into our knowledge base - don't want to go through all this again :-)

Christian Matthieas said:Ok here is the answer to the whole problem. In short, you only need to attach to 1 category even though it has children underneath it and just make sure that it fetches the items in the "subcats". This seems like it doesn't work because it is greyed out but it really does. And... if you need to force it then just selest multiple cats and make sure you can set the "fetch" to yes and then make sure afterwards you select only the one parent category.
I figured out another sucky thing beyond this that when you set a page to only 1 cat it makes life so much easier. I wrote a tutorial and it is really good.... but to answer the question you guyshave the top paragraph is enough. .........----=====

Tutorial:
K2 TUTORIAL HERE:********

For the more complex part, my blogs page it was a lot more tricky. Here we go. I set up a main category called BLOGS. underneath that category I nested Platinum bloggers and every other blog title I have underneath BLOGS. Beneath Platinum Bloggers I put a category Of my name Christian XXXXX This is CRUCIAL so pay attention.

When you set up BLOGS as the main category everything beneath that will be adhering to BLOGS and all of its Parameters IN THE SENSE of you connecting a menu Item to the Category BLOGS. DON'T set up a menu item with multiple categories.. let the nesting do the work. In layman's terms if the category is below the main one you don't have to choose multiple categories ***** the are children items at this point.

***When directing the menu item to categories(s) choose BLOGS ONLY do not highlight every category underneath or it will be considered a "MULTIPLE Category" Listing. *****CRUCIAL.
Now make sure that fetch items in children categories which are your subcats but if it is greyed out don't worry I am pretty sure when you save it and it sees you have children cats it will be put to yes for the Fetch Children cats.

DO NOT select multiple cats on the list this is the last time I will say this. IT screws everything up and confuses the hell out of you if you do.

So now on my Blogs page everything will come up the way I want and all I need to mess with are the settings in the Blogs Category section parameters.

What does this do it makes the link on the article / item title point to the category page if you have that category set up AND ALL CHILDREN ITEMS. Remember, like Kat said if you don't want these pages I am talking about showing up but need them to "POINT / be directed to somewhere" then put them in a new menu you create called Hidden (more below about this). For me I want my categories as menu items. Sort of like a showcase page for my blogs.

So for my platinum user blog member ME (christian) I want to put a page that is for ME so I just repeat the same setup as above and point to a SINGLE category >> Christian XXXXX blog... NOT a USER's blog page and you will see why in a minute.

Going back to my blogs page, because you have listened to me and saved yourself a million hours of headache. You will notice that your links via the READ MORE and the LINK on the article / item point to the item ID in which is the menu item you set up to a category called Christian XXXX Blog. This is the same for the rokpager on your page too whether it is on the front page, blog page, or whatever page. YEAAA.... Proper direction.

Now if you have a blog page set up like me I want the link to the article / item via the title, via the read more, and obviously the category it is published by. THIS IS ALL possible because you set up a menu item pointing to a category where these articles are coming from. AND DIDN'T choose multiple categories EVER.

So one more thing. The author. If you don't set up an author page and you have that on the articles listed in your blog page it will direct to either a blank page (menu less items) or the page where the item is on i.e. the blogs page in my case. So how do we fix this?

Easy, set up a menu item to a user (blog) page i.e. Me the author and this time if you don't want it shown anywhere put it in a hidden menu that isn't displayed on your main menu. I title my menu Hidden for my hidden things. You can title this Christian's Profile because really that is all it is. And it is a horrible set up with poor settings that simply lists everything one after the other and I don't know if they are gonna be fixing this in K2 but for now I rather point to a category with a link to Christians Profile page rather than a direct link to it.

So, if now back to our blogs page item / article listings. if you have author set to show and you visit the page and click on the writer / author you will see it goes to that persons "crappy layout" blog page. It lists social links email and a description and avatar which is cool but for a profile page that is GOOD enough. This was making my main menu items a little messy so I didn't want it there that is why I put it in Hidden Per Kats suggestion. Was confused there for a minute.

This should help a LOT OF you for getting started with K2 so I want to hear some thanks for my hours making yours minutes!!!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Christian Matthieas
  • Christian Matthieas's Avatar
  • Offline
  • Premium Member
More
14 years 8 months ago #80338 by Christian Matthieas
Replied by Christian Matthieas on topic Introtext word limit
Thanks. check out my website and you can see it in action. I am not totally done yet but here you go. www.primeparty.org ... it is not done just yet so don't judge yet. LOL

caron rose said:C - this is a lot of work for you to have put in as a tutorial for everyone - thanks! What you've said makes sense so will be trying this out for our client today. It's also going straight into our knowledge base - don't want to go through all this again :-)Christian Matthieas said:Ok here is the answer to the whole problem. In short, you only need to attach to 1 category even though it has children underneath it and just make sure that it fetches the items in the "subcats". This seems like it doesn't work because it is greyed out but it really does. And... if you need to force it then just selest multiple cats and make sure you can set the "fetch" to yes and then make sure afterwards you select only the one parent category.I figured out another sucky thing beyond this that when you set a page to only 1 cat it makes life so much easier. I wrote a tutorial and it is really good.... but to answer the question you guyshave the top paragraph is enough. .........----=====Tutorial:K2 TUTORIAL HERE:********For the more complex part, my blogs page it was a lot more tricky. Here we go. I set up a main category called BLOGS. underneath that category I nested Platinum bloggers and every other blog title I have underneath BLOGS. Beneath Platinum Bloggers I put a category Of my name Christian XXXXX This is CRUCIAL so pay attention.When you set up BLOGS as the main category everything beneath that will be adhering to BLOGS and all of its Parameters IN THE SENSE of you connecting a menu Item to the Category BLOGS. DON'T set up a menu item with multiple categories.. let the nesting do the work. In layman's terms if the category is below the main one you don't have to choose multiple categories ***** the are children items at this point.***When directing the menu item to categories(s) choose BLOGS ONLY do not highlight every category underneath or it will be considered a "MULTIPLE Category" Listing. *****CRUCIAL.Now make sure that fetch items in children categories which are your subcats but if it is greyed out don't worry I am pretty sure when you save it and it sees you have children cats it will be put to yes for the Fetch Children cats.DO NOT select multiple cats on the list this is the last time I will say this. IT screws everything up and confuses the hell out of you if you do.So now on my Blogs page everything will come up the way I want and all I need to mess with are the settings in the Blogs Category section parameters.What does this do it makes the link on the article / item title point to the category page if you have that category set up AND ALL CHILDREN ITEMS. Remember, like Kat said if you don't want these pages I am talking about showing up but need them to "POINT / be directed to somewhere" then put them in a new menu you create called Hidden (more below about this). For me I want my categories as menu items. Sort of like a showcase page for my blogs.So for my platinum user blog member ME (christian) I want to put a page that is for ME so I just repeat the same setup as above and point to a SINGLE category >> Christian XXXXX blog... NOT a USER's blog page and you will see why in a minute.Going back to my blogs page, because you have listened to me and saved yourself a million hours of headache. You will notice that your links via the READ MORE and the LINK on the article / item point to the item ID in which is the menu item you set up to a category called Christian XXXX Blog. This is the same for the rokpager on your page too whether it is on the front page, blog page, or whatever page. YEAAA.... Proper direction.Now if you have a blog page set up like me I want the link to the article / item via the title, via the read more, and obviously the category it is published by. THIS IS ALL possible because you set up a menu item pointing to a category where these articles are coming from. AND DIDN'T choose multiple categories EVER.So one more thing. The author. If you don't set up an author page and you have that on the articles listed in your blog page it will direct to either a blank page (menu less items) or the page where the item is on i.e. the blogs page in my case. So how do we fix this?Easy, set up a menu item to a user (blog) page i.e. Me the author and this time if you don't want it shown anywhere put it in a hidden menu that isn't displayed on your main menu. I title my menu Hidden for my hidden things. You can title this Christian's Profile because really that is all it is. And it is a horrible set up with poor settings that simply lists everything one after the other and I don't know if they are gonna be fixing this in K2 but for now I rather point to a category with a link to Christians Profile page rather than a direct link to it.So, if now back to our blogs page item / article listings. if you have author set to show and you visit the page and click on the writer / author you will see it goes to that persons "crappy layout" blog page. It lists social links email and a description and avatar which is cool but for a profile page that is GOOD enough. This was making my main menu items a little messy so I didn't want it there that is why I put it in Hidden Per Kats suggestion. Was confused there for a minute.This should help a LOT OF you for getting started with K2 so I want to hear some thanks for my hours making yours minutes!!!

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum