Menu

How to hide the Agent and Agency?

2003-10-27
2004-05-04
  • Victor Wang

    Victor Wang - 2003-10-27

    I use the phpwslistings 0.3.0 as my web site. I would like to hide the Agent and Agency on all my web pages because I don't use any Agent or Agency right now.  Is there a way to do it?

    Listings Menu  ------  Doesn't want "View Agents"
    Search Listings ----- Doesn't want "Agent, Agency"
    View Listings ------  Doesn't want "Agent:xxxxxxx"

     
    • Andy Tasch

      Andy Tasch - 2003-10-27

      a possible solution is that you uncomment the lines you do not want to show on your page.

      you have to go to {document root}/mod/phpwslistings/templates

      there you will find the template files. For example if you want to disable the view of agent in "View Listings" you have to modify the file view_full.tpl

      you can do this by uncommenting the lines with the html command tags eg. <!-- XXXXXXX -->

      if this answer was to difficult please let me know and i will write it again with the exact modifications you need.

      greets andy

       
      • Anonymous

        Anonymous - 2004-04-15

        Hi guys. I  have the same problem trying to hide agent and agency. I have gone into the template files cust_view_full.tpl and cust_view_small.tpl (I am using custom layout) and tried uncommenting the lines but havn't been successfull. Can you please show me exactly what you did with a before and after of the .tpl code. Thanks for any help.

         
    • Victor Wang

      Victor Wang - 2003-10-28

      Thanks, Andy. 

      It works for me.   It is very important that you told me "go to {document root}/mod/phpwslistings/templates".  I modified the templates and it works.  You are cool.

      Are you familiar with "Advanced Layout" in the settings of phpwslistings?  I wonder what it can do?

      Thanks again !!!

      Regards,

      vic
       

       
    • Andy Tasch

      Andy Tasch - 2003-10-29

      hi vic,

      I'm happy that I was able to help you. I've installed phpwebsite about 2 weeks ago but I didn't have time to try out the advanced layout settings.

      Maybe I will do that in the next days. I will tell you what I found out ;)

      greetings andy

       
    • Eric Musser

      Eric Musser - 2004-05-04

      I'm looking at the templates, but can't find one that contains the menu block that displays on the left.  All I want is the dropdown with classes, and a heading that lets people know what they're going to (it's a listing of association members, and classes are categories like apparel, restaurants, etc).  I really just want "Places to go" as a heading, and then the dropdown.  Where can I do this...which template do I edit???

       
      • Verdon Vaillancourt

        Take a look in...

        /mod/phpwslistings/class/ListingManager.php around line 1243 for the function showMenuBlock()

        You can change it there

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.