For my index page , i manually input HTML to make it work
I also looked for javascript file to see if i needed to add anything or do something so the button "Highlighted " will function and i wont need manually add informtion in simple page plugin.Briefly , I simply want my page to be dynamic by this button in collection plugin
Sorry, but I am not familiar with such a plugin. I know Collection Tree and Multicollections plugins, but not a Collection one. Where did you find it, could you provide a link? And what is its purpose, given that Omeka Classic already works with collections? Iâm a bit puzzled hereâŚ
Hey sorry for being cofusing. Here is the link : Collections - Omeka Classic User Manual
The purpose it is to gather different content together . So it will end up looking like that :
Now that we know weâre talking about a normal Collection, if you checked both âAudienceâ (=Public) and âHighlightedâ (=Featured) then the Collections should be displayed in the home page under âHighlited collectionâ.
Can you confirm theyâre both checked (in your first picture, only âHighlightedâ was checked), and the page saved? And could you also provide with a link to your site, if itâs public?
Ok, accepting that the information has been correctly recorded in the db, I wonder whether the code in the âfeatured-collectionâ DIV is correct, then. Could you check that and maybe show it here (in the fourth picture the div was collapsed)?
Yulia, now I understand what has happened: you have just created a static Simple Page that will always show what youâve coded, i.e. âAucune collection nâest mise en avantâ. That page will never update with actual content, because itâs a static page.
If you looked at the index page of themes that are showing featured collections, youâd see the code is different, and includes a dynamic part thatâs retrieving the information from the db and displays it.
In order to do something similar in a Simple Page, you need to use shortcodes. Documentation page, with examples, is here: Shortcodes - Omeka Classic User Manual