Terms and Conditions article

  • Patricia Lawson
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 6 months ago #71089 by Patricia Lawson
Terms and Conditions article was created by Patricia Lawson
Hello EB Team,

When my article for Terms and Conditions pops up, there is an h1 tag that says "Articles" at the top of the form. How can I get rid of this?

Thanks!

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

More
9 years 6 months ago #71092 by James Riley
Replied by James Riley on topic Terms and Conditions article
Wonder if it is something that your site template is tossing in (doesn't happen on my site)? Could you post a link to a registration page and I'll see if I can recommend a CSS fix? If I can't help you, I'm sure the devs will be able to come up with something when they come online later today (well, tomorrow in their part of the world).

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.

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

  • Patricia Lawson
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 6 months ago #71093 by Patricia Lawson
Replied by Patricia Lawson on topic Terms and Conditions article
Thanks for taking a look, James. Here is a link to my dev site:
bdadev.cloudapp.net/abc/index.php/clinic...ividual-registration

Just scroll to the bottom of the page and click on Terms and Conditions

Funny cuz even in Inspect it is simply an h1 without a class or id....

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

More
9 years 6 months ago #71094 by James Riley
Replied by James Riley on topic Terms and Conditions article
Here's a comparison between an actual article on your site, and the T&C article:

It looks like it is your template pushing the " div.page-header h1 " content into the T&C article.
EB uses an iFrame to call the T&C article, and this page is therefeore out-of-the-scope of the Event Booking custom.css (so we can't simply hide the h1 via EB's custom.css). And there is no unique identifier on anything in the T&C article that we can use to isolate that h1 from every other h1 on the site.. unless you hack your template code to include a unique id/class on the <div class="page-header">

If you search your template php files and find out where it applies this specific <div class="page-header"> tag, you could add in some php code to append a unique id that you can target, something like:
Code:
<div class="page-header articleID_<?php echo $_GET['Itemid']; ?>"> // note: there is probably a Joomla variable you can access to give you the Article Itemid in situations where SEO urls don't provide the Itemid, but because in this case the url DOES contain the Itemid, we can pull it from there
and then make a template-level css entry for:
Code:
div.articleID_101 {display:none;}

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Attachments:

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

More
9 years 6 months ago #71109 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Terms and Conditions article
If I remember correctly, we can solve this issue by creating a hidden menu item to link to terms and conditions article. Could you please give it a try ?

Tuan

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

  • Patricia Lawson
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 6 months ago #71128 by Patricia Lawson
Replied by Patricia Lawson on topic Terms and Conditions article
Creating a Hidden Menu did the trick! Thanks.

The last thing is getting rid of links to Facebook, Linked In and PinIt on this page. Don't mind them elsewhere....

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

  • Patricia Lawson
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 6 months ago #71130 by Patricia Lawson
Replied by Patricia Lawson on topic Terms and Conditions article
I think I can do that myself, though, so thanks.

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

  • Patricia Lawson
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 6 months ago #71131 by Patricia Lawson
Replied by Patricia Lawson on topic Terms and Conditions article
I lied. I thought I could figure it out: if I put display: none on the element in Inspect, the links go away. If I add it to custom.css, doesn't seem to work??

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

More
9 years 6 months ago - 9 years 6 months ago #71132 by James Riley
Replied by James Riley on topic Terms and Conditions article
Event Booking's css won't work on the T&C because the T&C article is a different webpage (in a different css-scope) loading in an iFrame window (it's like watching TV, and trying to use your remote to control the TV that the character on TV is watching) :(
To do it with css, my hack solution from my previous post would open the door to being able to control this as you need a unique identifier into your template's pages so that you can target the .sp-social-share class only on article Itemid=101...
Maybe your template or sp-social-share module has a way to not include it on specific pages? Depends how it is coded into your template.
Hopefully Tuan has an easier work-around again :)

James Riley .: EventBooking user since 2014 ::: JoomDonation user since 2016 :.
.: grfx & web design / IT / AV @ St. Therese Institute of Faith and Mission, Bruno, SK, Canada :.
Last edit: 9 years 6 months ago by James Riley.

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

More
9 years 6 months ago #71151 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Terms and Conditions article
I think the buttons are generated by a social sharing plugin used on your site. You should be able to find and unpublish it if you don't want these buttons to be displayed on the page

If you want, you can submit a support ticket sending us super admin account of your site so that we can check and unpublish it for you if needed

Anyway, as that article is rendered by Joomla core com_content component, it is out of control of Events Booking

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc