WeStandWithUkraine

83 Posts
modernmagic
6 years ago
4
Topic

Hello,

I must be missing something because I can't recreate the Category Blog like joomla but using SEBLOD.

When using the joomla Category Blog menu type you get a list of category titles with this example URL:

/index.php?option=com_content&view=category&layout=blog&id=23&Itemid=404

the category title links to its appropriate blog view showing all the articles within that category:

/index.php?option=com_content&view=category&id=38&Itemid=404

When I use List & Search I get the list of category titles with this URL:

/index.php?option=com_cck&view=list&search=categories&task=search&Itemid=474

if the category title Link is set to View then I get this view:

index.php?option=com_content&view=category&id=45&Itemid=404

I thought that I could use a com_cck view and still see the articles.

But if I set the Link to List & Search and Search Type (List) set to Categories then I get this URL:

/index.php?option=com_cck&view=list&search=categories&task=search&Itemid=474&cat_title=Test%20Story

BUT I can't get the articles from that category to display.


Here are screenshots of my List & Search type:

Search Form: https://www.dropbox.com/s/6230i6zuvhv5kc6/Screenshot%202015-06-10%2023.19.59.png?dl=0

Ordering: empty

List: There are no positions

Item:  https://www.dropbox.com/s/r3qk1m598a7zgpn/Screenshot%202015-06-10%2023.21.44.png?dl=0

Thank you so much for the help,

Jeff

Get a VIP membership
572 Posts
_jrmo
6 years ago
2
Level 1

Jeff,

I wish I could frame your forum post and put it on my wall. Thanks for providing so much detail - it makes providing help so much easier!

There are 2 ways to accomplish what you are trying to do:

  1. If you use the "View" link on your category title, it will link to the CONTENT VIEW of your category. What you can do is put a SEBLOD List field on that view, and set it up so you pass the category id to the list field in order to define the list of articles that belong to that category. I have attached a relevant tutorial on this concept.
  2. If you apply a List & Search link on your category title, then you must also use a custom variable to pass the ID of the category in the link, and use a live value in your search form to pull that ID from the URL to define your article list. So, in your link, click the + and where it says "custom variables" put c=$cck->getValue('catid') - that will add your category ID to your URL in the variable "c". Then, in your search form, add the art_catid field and set the live value to URL > Int > c. That should work!

Cheers,

James

572 Posts
_jrmo
6 years ago
1
Level 2

Hi Jeff,

Actually I told you the wrong thing for number 1. Using the Content > View link will take you to a page where you are viewing the fields contained in the INTRO view of the category. So, you must add your List field there, with the configuration as I've linked in the tutorial above, in order to pass the category ID to the list field as the art_catid.

All of this is done in the SEBLOD Intranet Application - if you have a VIP subscription you can download that and take a look at the nuts and bolts about how it all works.

Cheers,

James

83 Posts
modernmagic
6 years ago
0
Level 3

Hi James,

Thanks so much for the detailed help.  I try and create detailed posts to reduce confusion/language/communication issues.  

 

I wish I would have thought to look at the "intranet" app since I have spent way too many hours building what that app does already and buying some of those fields already.  The $80USD would have been well worth it and still may be. :-)

 

I already have some custom work done on my Article Site Form but I bet I could transfer that code to the Intranet Item Form.  

 

The complete solution for this project is kindof a intranet. Anyone can register and create a category and then anyone can add articles within that category. The paid solution will be viewable only by the teacher and students of a classroom.  The teacher will need to manage the students accounts and maybe monitor the categories and articles they create.  This is the part that sounds like the intranet app would have partially solved.  The next part would be to add a frontend User Manager similar to the Category and Item Manager of the App.  

 

With that said, I will try your 2 ways this morning to see if that accomplishes my goals.  The site needs to be ready for testing this Sunday so I can always try the Intranet App next week after some feedback.  

Regards,

Jeff

83 Posts
modernmagic
6 years ago
0
Level 1

James,

If you understand this project's requirements, in your opinion, would it be better for me to buy the Intranet App or the SEBLOD Form & List Pack method?

Regards,

Jeff

Get a VIP membership