I have been trying to create views for icon with menu links two times but failed.
Today, I tried again and finally successful to create one. Hooreyyy!
How to create views?
- Structure > Views
- Add New View > Title: Links > Add Blocks > Save
- Format: HTML list
- Show: Fields
- In FIELDS settings:
add:
Content: URL > Exclude From Display
Content: صورة > SHOWREWRITE RESULTS > Output this field as a link > Link path : [field_url]
*Check the available token format from SHOWREPLACEMENT PATTERNS - [field_url] == Content: URL
- [field_image] == Content: صورة
Content: Title >
SHOWREWRITE RESULTS > Output this field as a link > Link path : [field_url]
*Check the available token format from SHOWREPLACEMENT PATTERNS - [field_url] == Content: URL - Apply (All displays) after each settings
- Save the views
How to display view in block?
- Structure > Blocks
- Find View: Links > Set Block Region: Sidebar first
- Save.
- Configure View: Links
- Set Block Title: Student Portal Services
- Pages > All pages except those listed
front
main
welcome - Languages: Translatable, Not restricted
- Save block
- Translate > Choose Arabic > translate
- Set Arabic Title: الخدمات لبوابة الطالب
- Save translation
- Save block
- See the changes in other page than
page.
The block for Student Portal Services will appear, accordingly to your current chosen language.