07-24-2023, 08:27 AM
According to me there are two ways to do it:
Programatic Way:
1. Go to edit view.
2. Select page/block style.
3. Go to 'Basic Settings' and click on 'Theme: Information' to see all the different templates you can modify.
4. Add the html you want to theme and print the variables of the view wherever needed
Configuration Update: ![Using the Display suite][1]The Display suite provides us an option to place your labels inline or above and add even to hide them. Custom classes to each of the view's elements can be added too.
Advanced options include:
- Exportables
- Add your own custom fields in the backend or in your code
- Add custom layouts in your theme (D7 only)
- Change labels, add styles or override field settings (semantic fields).
- Full integration with Views and Panels
- Extend the power of your layouts by installing Field Group
- Optimal performance with Object cache (D6) or Entity cache (D7) integration
[1]:
Programatic Way:
1. Go to edit view.
2. Select page/block style.
3. Go to 'Basic Settings' and click on 'Theme: Information' to see all the different templates you can modify.
4. Add the html you want to theme and print the variables of the view wherever needed
Configuration Update: ![Using the Display suite][1]The Display suite provides us an option to place your labels inline or above and add even to hide them. Custom classes to each of the view's elements can be added too.
Advanced options include:
- Exportables
- Add your own custom fields in the backend or in your code
- Add custom layouts in your theme (D7 only)
- Change labels, add styles or override field settings (semantic fields).
- Full integration with Views and Panels
- Extend the power of your layouts by installing Field Group
- Optimal performance with Object cache (D6) or Entity cache (D7) integration
[1]: