Search in support tickets

#207 – Remove the displayed categories under

Posted in ‘Support’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Tuesday, 09 January 2018 14:37 CET
FrankBP
I would like to remove the displayed categories under "All Ad"

See Attachment
Custom Fields
Joomla Version
3.8.3
PHP Version
7.1
Product
AdsManager
Product Version
GOLD
Attachment
Tuesday, 09 January 2018 19:19 CET
loic
Hello,

In 'components/com_adsmanager/views/list/default.php', you can remove the block of code that display.

<div class="row-fluid">
    <div class="span12">
<?php foreach($this->subcats as $key => $subcat) {
	$subcat->link = TRoute::_('index.php?option=com_adsmanager&view=list&catid='.$subcat->id);
	if ($key != 0)
		echo ' | ';
	echo '<a href="'.$subcat->link.'">'.$subcat->name.'</a>';
} 
?>
</div>
</div>


Best regards.
 
Wednesday, 10 January 2018 07:29 CET
FrankBP
In 'components/com_adsmanager/views/list/default.php', - default.php does not exist in

In 'components/com_adsmanager/views/list/',

There are only the following:
In 'components/com_adsmanager/views/list/ templ',
In 'components/com_adsmanager/views/list/index.html'
In 'components/com_adsmanager/views/list/view.feed.php',
In 'components/com_adsmanager/views/list/view.html.php',

If I go in:
In 'components / com_adsmanager / views / list / tmpl' / default.php /, find default.php
I correct this happens nothing

Frank
Wednesday, 10 January 2018 16:28 CET
loic
Hello,

Sorry my mistake.

the file is in components/com_adsmanager/views/list/tmpl/default.php

Best regards.
 
Thursday, 11 January 2018 15:07 CET
FrankBP
I did not think it helps to remove:

<div class="row-fluid">
<div class="span12">
<?php foreach($this->subcats as $key => $subcat) {
$subcat->link = TRoute::_('index.php?option=com_adsmanager&view=list&catid='.$subcat->id);
if ($key != 0)
echo ' | ';
echo '<a href="'.$subcat->link.'">'.$subcat->name.'</a>';
}
?>
</div>
</div>

Are you absolutely sure that this is not the one to be removed:
<?php if (count($this->subcats) > 0) {?>
<div class="row">
<div class="col-md-12">
<div class="adsSubcategories">
<?php echo JText::_('ADSMANAGER_SUBCATEGORIES');?>
<?php foreach($this->subcats as $key => $subcat) {
$subcat->link = TRoute::_('index.php?option=com_adsmanager&view=list&catid='.$subcat->id);
echo '<a class="label label-success" href="'.$subcat->link.'">'.$subcat->name.'</a>';
}
?>
</div>
</div>
</div>
Friday, 12 January 2018 16:59 CET
loic
Hello,

I gave you the code without checking, you're right, it is the second code that you need to remove.

We will add a condition in the setting of adsmanager to simply hide that part.

Best regards.
 
Saturday, 13 January 2018 10:53 CET
FrankBP
Hello,
Thanks,

When is the condition to do it simply hide that part.

Frank
Monday, 15 January 2018 16:23 CET
loic
Hello,

Since we are very late for the release of the next version, I can't give you any date for that.

Best regards.
 
Tuesday, 16 January 2018 08:23 CET
FrankBP
OK - I will return in 6 to 10 months

Susanne/Frank
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.