#136 new
romain

visibility of a block on the page translated Promoted and visibility of a block on the set of a controller

Reported by romain | August 5th, 2010 @ 04:19 PM | in Wishlist

Hi

I changed the line 236, file app/controllers/components/croogo.php

'Block.visibility_paths LIKE' => '%"'. $this->controller->params['url']['url'] . '"%',
to
'Block.visibility_paths LIKE' => '%"'. $this->controller->params['url']['url'] . '"%',
//Promoted management language
'Block.visibility_paths LIKE' => '%"'. $locale.$this->controller->params['url']['url'] . '"%',
//management visibility across former controller. example: controller:users
'Block.visibility_paths LIKE' => '%"' . 'controller:' . $this->controller->params['controller'] . '"%',

best regard
romain

Comments and changes to this ticket

  • fahad19

    fahad19 August 6th, 2010 @ 01:33 AM

    • Milestone set to 1.3.2
    • Tag set to blocks, visibility
    • Milestone order changed from “35” to “0”
  • romain

    romain August 6th, 2010 @ 10:39 PM

    WARNING: the bug of "OR", not to the same Key
    Me, I added spaces between "visibility_paths" and "LIKE"

    //gestion langue promoted
    'Block.visibility_paths  LIKE' => '%"'. $locale.$this->controller->params['url']['url'] . '"%',
    //gestion visibilite sur l'ensemble controleur ex: controller:users
    'Block.visibility_paths   LIKE' => '%"' . 'controller:' . $this->controller->params['controller'] . '"%',
    
  • fahad19

    fahad19 August 13th, 2010 @ 12:05 PM

    • Milestone changed from 1.3.2 to Wishlist
    • Milestone order changed from “11” to “0”

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages