- Posts: 3
- Thank you received: 0
Search views
- damconsulting
- Topic Author
- Offline
- New Member
Less
More
11 years 11 months ago #1123
by damconsulting
Search views was created by damconsulting
Hi, can I change views option of search results?
I'd like to view a table output like attached image and I think the only way to do this is to use an option "No title + HTML". Can I avoid to show the title in my search results?
Or can I modify "Plugin Output" properties?
Thank you.
Bye
Michele
I'd like to view a table output like attached image and I think the only way to do this is to use an option "No title + HTML". Can I avoid to show the title in my search results?
Or can I modify "Plugin Output" properties?
Thank you.
Bye
Michele
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
11 years 11 months ago #1125
by andrea_4g
Replied by andrea_4g on topic Re: Search views
Three options:
a) quick and dirty:
edit file components/com_customproperties/views/show/tmpl/default.php (line 394)
b) clean solution: Custom Properties output format is now determined by 'Template' param in module
1) make a copy of file components/com_customproperties/views/show/tmpl/default.php, into its directory (e.g alt.php)
2) edit alt.php to meet your requirements
3) select the 'Alt' template within the dropdown options of 'Template' param in module configuration.
c) alternate clean solution: Custom Properties output permanently modified
take advantage of docs.joomla.org/Understanding_Output_Overrides mechanism:
1) create html/com_customproperties/show directory into your template folder
2) copy components/com_customproperties/views/show/tmpl/default.php into the directory created with step 1)
3) modify the file
a) quick and dirty:
edit file components/com_customproperties/views/show/tmpl/default.php (line 394)
b) clean solution: Custom Properties output format is now determined by 'Template' param in module
1) make a copy of file components/com_customproperties/views/show/tmpl/default.php, into its directory (e.g alt.php)
2) edit alt.php to meet your requirements
3) select the 'Alt' template within the dropdown options of 'Template' param in module configuration.
c) alternate clean solution: Custom Properties output permanently modified
take advantage of docs.joomla.org/Understanding_Output_Overrides mechanism:
1) create html/com_customproperties/show directory into your template folder
2) copy components/com_customproperties/views/show/tmpl/default.php into the directory created with step 1)
3) modify the file
Please Log in or Create an account to join the conversation.
- damconsulting
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
11 years 11 months ago #1127
by damconsulting
Replied by damconsulting on topic Re: Search views
Ok. Deleting line 372 I was able tho delete title from my views.
Next step: can I show real HTML code of Joomla article (attachment: 01.jpg) layout instead of text (attachment: 02.jpg)?
In configuration I selected "Intro HTML" format.
Thank you.
Next step: can I show real HTML code of Joomla article (attachment: 01.jpg) layout instead of text (attachment: 02.jpg)?
In configuration I selected "Intro HTML" format.
Thank you.
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
11 years 11 months ago #1129
by andrea_4g
Replied by andrea_4g on topic Re: Search views
Yes,it's doable.
Table-related HTML tags are removed from articles text, if you leave Custom Properties default parameters untouched.
So, makes sure that param 'Allowed HTML tags:' (CP Config > Search results) allows also <table><th><tr><td>.
Table-related HTML tags are removed from articles text, if you leave Custom Properties default parameters untouched.
So, makes sure that param 'Allowed HTML tags:' (CP Config > Search results) allows also <table><th><tr><td>.
The following user(s) said Thank You: damconsulting
Please Log in or Create an account to join the conversation.
- damconsulting
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
11 years 11 months ago #1133
by damconsulting
Replied by damconsulting on topic Re: Search views
Great!
It works very well.
Thank you.
It works very well.
Thank you.
Please Log in or Create an account to join the conversation.
Time to create page: 0.140 seconds