Hide Event Properties table?

More
12 years 7 months ago #11553 by Pines
Hide Event Properties table? was created by Pines
Hi! Is there a way to hide the event properties table, so that only the registration buttons are showing?

Thank you!

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago - 12 years 7 months ago #11559 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Hide Event Properties table?
Hi Pines

Get the file below, unzip it and upload to folder components/com_eventbooking/views/event/tmpl . After that, it will look OK as expected .

Regards,

Tuan

Attachment default-20111003.zip not found

Attachments:
Last edit: 12 years 7 months ago by Tuan Pham Ngoc. Reason: Forgot to upload file

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago - 12 years 7 months ago #11756 by penguinhead
Replied by penguinhead on topic Re: Hide Event Properties table?
Can I confirm what Properties Table this modification removes? I have made the change but it has not removed the table I want which is the one in the right column of the attached screenshot!

Can you please advise how to remove this table?

Attachments:
Last edit: 12 years 7 months ago by penguinhead.

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #11776 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Hide Event Properties table?
The code modified in the previous post is for Event Detail page. The page you are talking about is Event List Page. If you want to remove it, you need to have a look at components/com_eventbooking/views/category/tmpl/default.php and remove the code to render table (should be easy to find) .

Tuan

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #12441 by ralphK
Replied by ralphK on topic Re: Hide Event Properties table?
Hi Tuan,

Thanks for this information. It worked great and the right box with information, and the box on the detail page are removed. Super, while I use your event table as a catalogue on one part of my website and as an reservation system on another part.

What would be great, if you could add an option in the back end, to turn these tables on and off, instead of rewriting the php files. Best place to do so is per event or category.

best wishes

Please Log in or Create an account to join the conversation.

More
12 years 5 months ago #12823 by jgribble
Replied by jgribble on topic Re: Hide Event Properties table?
Tuan,
Could you identify this code for me? What is the name of the table?
-jgribble

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #12827 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Hide Event Properties table?
Hi jgribble

There are two files you need to modify to remove the table (if you know HTML + PHP, you can remove it easily) :

- components/com_eventbooking/views/category/tmpl/default.php

- components/com_eventbooking/views/event/tmpl/default.php

Regards,

Tuan

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #12836 by jgribble
Replied by jgribble on topic Re: Hide Event Properties table?
Thanks,

While I do know HTML and PHP, I have learned the hard way that messing around with code can be hazardous to one's site. And so, I wondered if you could send me the actual code which needs to be deleted. I did look at both files and the code appears to have moved from where I used to find it. Thanks for the quick answer.

Also, you sent me another reply with an attached file. If I install that file as directed, will the Event Properties box go away? Or is it necessary to BOTH install the plugin AND hack the code?

Would you consider adding a short tutorial on the Forum?

Best regards and thanks again,

-Jim Gribble

Please Log in or Create an account to join the conversation.

More
12 years 4 months ago #12849 by jgribble
Replied by jgribble on topic Re: Hide Event Properties table?
I have another thought. You could just post the two files with the table script removed. Customers will be able to copy and paste or upload to the folder with overwrite. There's no guesswork. And, this way, you will get many fewer inquiries. To make the change will be easy and quick. Also, to go back to the original scheme with the event properties table will be simple as long as the customer downloads and saves the original script. For those clients who want to display the event details in the content, rather than automatically, it would be a nice upgrade.
-jgribble

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #15046 by Oregon Bears
Replied by Oregon Bears on topic Re: Hide Event Properties table?
Here's the change I made after reading this thread. I hope it helps others:

<div id="eb_details" style="width: 100%; display: none";>

Setting the div display to "none" is quick, easy, and easily undone.

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc