-
AuthorPosts
-
Luna Garden Moderator
Luna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
July 31, 2017 at 3:09 am #1052549Hi,
On the Megafilter menu item, I can see the custom fields, like, {field 8}, in place of the actual text supposed to display there.
Please update info of FTP of your site on first post, we’ll check for you.
I can’t seem to be able to switch off Hits, rating, etc.
Just go to backend >> Component >> Megafilter >> Open the Filter >> uncheck Publish to Rating, Hit …
When clicking on a content item, it displays the modules that are set to only display on the home page. Also, things like Category and Published Date also show which should not be showing.
JA MegaFilter only do the filter, show results, the Details Item Page belong to the component which JA MegaFilter works on, in your case, that’s Com_content. And try to set in Com_content.
Tags don’t show up in either Megafilter view, or article view.
Yes, at this time JA MegaFilter doesn’t support to show fields on Results part, this feature will be release in next version.
How does one change words like, "Shop By".
All the phrases are put in file:
language\en-GB\en-GB.com_jamegafilter.ini
How does one alter the layout of the filter without hacking the code?
There’s no other way, you have to hacking the code. The Layout is located in:
plugins\jamegafilter\content\layouts\default
July 31, 2017 at 9:53 am #1052698Please update info of FTP of your site on first post, we’ll check for you.
Done
Just go to backend >> Component >> Megafilter >> Open the Filter >> uncheck Publish to Rating, Hit …
It is unpublished… still shows.
JA MegaFilter only do the filter, show results, the Details Item Page belong to the component which JA MegaFilter works on, in your case, that’s Com_content. And try to set in Com_content.
Those modules are only set to display on the home page. There’s nowhere in com_content to set that?
Tags don’t show up in either Megafilter view, or article view.
Yes, at this time JA MegaFilter doesn’t support to show fields on Results part, this feature will be release in next version.
When do you think this will be released? My client is quite persistent that he wants those tags to show.
All the phrases are put in file:
<pre class="prettyprint linenums:1 prettyprinted">
- <span class="pln">languageen<span class="pun">-<span class="pln">GBen<span class="pun">-<span class="pln">GB<span class="pun">.<span class="pln">com_jamegafilter<span class="pun">.<span class="pln">ini
Will this then have to be changed again with each update?
How does one alter the layout of the filter without hacking the code?
There’s no other way, you have to hacking the code. The Layout is located in:
<pre class="prettyprint linenums:1 prettyprinted">
- <span class="pln">pluginsjamegafiltercontentlayoutsdefault
Can this be done with an override?
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
August 1, 2017 at 4:12 am #1052910Hi,
The info of FTP is not correct, could you check it again ?
I misunderstood your question. In order to remove the Hit & Rating, go to file:
plugins\plg_jamegafilter\content\layouts\default\product-item.php
find & remove:
<div class="product-reviews-summary short"> <div class="rating-summary"> {?rating} <div title="{rating} out of 5" class="rating-result"> <span style="width:{width_rating}%"></span> </div> {:else} <div title="0%" class="rating-result"> <span style="width:0%"></span> </div> {/rating} </div> </div>
and:
<div class="product-reviews-summary short"> <div class="hits-summary"> {?hit} <span class="file-downloads"><?php echo JText::_('COM_JAMEGAFILTER_HIT');?> : {hit}</span> {:else} <span class="file-downloads"><?php echo JText::_('COM_JAMEGAFILTER_HITS');?> : {hits}</span> {/hit} </div> </div>
Those modules are only set to display on the home page. There’s nowhere in com_content to set that?
What module did you ask ? JA MegaFilter ? You could set to show any page, just assign it in Menu Assignment in backend of JA MegaFilter module.
When do you think this will be released? My client is quite persistent that he wants those tags to show.
We hope that it can be done next week, we’re run out of Human Resource, and there’s a lot works to do.
Will this then have to be changed again with each update?
i’m afraid not, you’ll have to change back each time you update the Component.
Can this be done with an override?
To override "filter" folder, you can copy folter "filter" to
/templates/ {your template} /html/layouts/jamegafilter/content/default/
And edit files as you want.
- This reply was modified 7 years, 4 months ago by Luna Garden.
August 1, 2017 at 11:34 am #1053020I forgot, our firewall blocks anyone outside our country from accessing our server via FTP. Can you please tell me what to change so that I can do it from my side. Otherwise, provide me with your IP range in a PM so that I can open up for you.
So if I edit those files, every time there is an update, I will need to go edit them again? Is there no override possibility for all these hacks that need to be made?
Please visit the URL provided and click on any article. You will see the modules that are set to only appear on the site home page also appear at the top of each article. This does not happen when that specific page is just a normal blog layout.
August 1, 2017 at 3:49 pm #1053068Page Heading is also not showing.
Can you please tell me where I can fix all these issues. It has been a week now since I posted this and still no answers. I did pay for this extension which is supposed to include support.
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
August 2, 2017 at 3:18 am #1053124Here is my IP Address: 118.70.176.221
So if I edit those files, every time there is an update, I will need to go edit them again? Is there no override possibility for all these hacks that need to be made?
To override "filter" folder, you can copy folter
plugins\plg_jamegafilter_content\layouts\default\
to
/templates/ {your template} /html/layouts/jamegafilter/content/default/
And edit files ‘product-item.php’ to remove Hits & Rating.
The changes for file en-GB.com_jamegafilter.ini won’t remain after you update.
Please visit the URL provided and click on any article. You will see the modules that are set to only appear on the site home page also appear at the top of each article. This does not happen when that specific page is just a normal blog layout.
Cause in module backend of JA MegaFilter, you only assign JA Megafitler module to only Menu Item ‘Intern’. If you want this module display on other Page, assign it to that Menu Item.
Mo0nlight ModeratorMo0nlight
- Join date:
- September 2014
- Posts:
- 707
- Downloads:
- 38
- Uploads:
- 107
- Thanked:
- 99 times in 97 posts
August 2, 2017 at 3:18 am #1053125Hi.
You can try this.
Open the file. /components/com_jamegafilter/views/default/view.html.php
Look for
if ($jatype === 'blank') { parent::display($tpl);
Add this above.
$menus = $app->getMenu(); $menu = $menus->getActive(); $show_page_heading = $menu->params->get('show_page_heading', 0); if ($show_page_heading != 0) $page_heading = $menu->params->get('page_heading', ''); else $page_heading = ''; $page_title = $menu->params->get('page_title', ''); if ($page_title != '') $this->document->setTitle($page_title); $this->item['page_heading'] = $page_heading;
Open file: /plugins/jamegafilter/[Your Plugin]/tmpl/default.php
Add this anywhere you like.
<h3> <?php echo $this->item['page_heading']; ?> </h3>
- This reply was modified 7 years, 4 months ago by Mo0nlight.
August 2, 2017 at 10:07 am #1053260Thanks for getting back to me guys.
Ok, I added your IP range to my server’s firewall, so you should be able to access FTP now.
I’ve managed to figure out how to do the overrides, so that’s working now.
For those modules, I had to create menu items for all those articles so that those home page modules don’t appear.
mo0nlight, that does not help to create the page heading, it does not appear. Is there a way to also add that /components/com_jamegafilter/views/default/view.html.php file to the template override? I have an override for the /plugins/jamegafilter/[Your Plugin]/tmpl/default.php file in: /templates/{my_template}/html/plg_jamegafilter_content/default.php
Problems I’m still having:
- No page heading on the JAMegafilter page.
- Tags don’t show
- {field} tags still show. In fact, none of the HTML above the ‘Read More’ renders (see screenshot attached)
- How can I get rid of the ‘Sort By’ rows? I’d like to move the display options, ‘list or tiles’ to the filter area, but remove the rest of that row. (see screenshot attached)
- When I access that page, the filter/search scrolls up automatically. I have changed the setting but it still does that. It also does not ‘sticky’.
- This reply was modified 7 years, 4 months ago by ijack.
-
Mo0nlight Moderator
Mo0nlight
- Join date:
- September 2014
- Posts:
- 707
- Downloads:
- 38
- Uploads:
- 107
- Thanked:
- 99 times in 97 posts
August 3, 2017 at 2:26 am #1053438Hi.
I couldn’t access your ftp account.
It seems that you have many problem.
It will be easier if i could have access to your ftp to edit and explain.
August 3, 2017 at 11:54 am #1053548What is your IP range? What does your IP change to day by day? Is it always in the 118.0.0.0 range? Or does it change?
If you cannot provide me with the various IP ranges you are in, I will never be able to open a port for you in our firewall.
Please can you just explain what to edit. This is VERY VERY URGENT NOW!!! It’s more than a week since I posted and still don’t have an answer.
August 4, 2017 at 9:08 am #1053750Hey guys. Can I please get assistance? As a paying client, I am a bit disappointed in how slow your support is.
Mo0nlight ModeratorMo0nlight
- Join date:
- September 2014
- Posts:
- 707
- Downloads:
- 38
- Uploads:
- 107
- Thanked:
- 99 times in 97 posts
August 4, 2017 at 10:18 am #1053767Hi.
I added the page heading.
Edit file : /templates/shaper_helix3/html/plg_jamegafilter_content/default.php
Add the code:<h3> <?php echo $this->item['page_heading']; ?> </h3>
I added the tag too.
Edit file:
/templates/shaper_helix3/html/layouts/jamegafilter/content/default/product-item.phpAdd the code:
<div class="product-tags"> <p><?php echo JText::_('Tag'); ?> : {attr.tag.frontend_value}</p> </div>
Remove ‘Sort By’
/templates/shaper_helix3/html/layouts/jamegafilter/content/default/product-toolbar.phpAnother content of the toolbar could be change here too.
Remove the line:
<label for="sorter" class="sorter-label"><?php echo JText::_('COM_JAMEGAFILTER_SORT_BY'); ?></label>
Remove auto scroll.
Edit file : /templates/shaper_helix3/html/plg_jamegafilter_content/default.php
add // to this line:if (!isMobile.phone) jQuery("html, body").stop().animate({ scrollTop: jQuery('div.ja-megafilter-wrap').offset().top }, 400);
HTML in the description.
Edit the file:/plugins/jamegafilter/content/helper.php
line 108:$item->desc = !empty($baseItem->introtext) ? ($baseItem->introtext) : '';
Edit the file:
/components/com_jamegafilter/assets/js/libs.js
line 299.h: function(value) { return value; },
Must Index again.
August 8, 2017 at 2:40 pm #1054515Thanks for that. I was just wondering, when will the issue with the custom field tags showing, {field}, be resolved?
Mo0nlight ModeratorMo0nlight
- Join date:
- September 2014
- Posts:
- 707
- Downloads:
- 38
- Uploads:
- 107
- Thanked:
- 99 times in 97 posts
August 9, 2017 at 7:41 am #1054670Hi.
I fixed the custom field.
Edit the file :
/templates/shaper_helix3/html/layouts/jamegafilter/content/default/product-item.php
Change.<div class="product-desc"> <p>{desc}</p> </div>
To
<div class="product-desc"> <p>{attr.ct5.frontend_value}</p> <table class="table table-striped" style="max-width: 768px;"> <tbody> <tr> <td>Minimum Duration:</td> <td>{attr.ct6.frontend_value}</td> </tr> <tr> <td>Cost:</td> <td>{attr.ct7.frontend_value}</td> </tr> <tr> <td>Minimum Age:</td> <td>{attr.ct8.frontend_value}</td> </tr> </tbody> </table> </div>
The tags link will need to wait for some more time then.
-
AuthorPosts
This topic contains 29 replies, has 4 voices, and was last updated by ijack 7 years, 3 months ago.
The topic ‘Custom fields showing tags, hits shows, modules show up when clicking article’ is closed to new replies.
Jump to forum