xenforo template hook a button in front of breadcrumb - xenforo

how can I add/create a call to action button in xenforo template in front of breadcrumb, like we open a category or forum, and you found a create thread button

You can use the following code
<xen:topctrl>
<span>Whatever</span>
</xen:topctrl>

Related

BigCommerce Lifestyle theme - add to cart show quickview instead of redirect to cart

i'm using the LifeStyle default theme for our bigcommerce based website, and i'm having difficulties figuring out how to use the quickview dialog instead of redirecting to the cart when I click dd to cart from the homepage (it works as I want it to from product section)
https://themes.psdcenter.com/theme-documentation/lifestyle-bigcommerce-theme-manual/
any help greatly appreciated!
looks like this is being set by a dynamic {{add_to_cart_url}} in the card.html file, found through templates > components > products. I agree that this information is not located in the docs by lifestyle developers.
You always have the option to reach out to the theme developers for some guidance/best practice advice from them directly when making this customization.
Some options to consider: You could write a script that overrides this default behavior, but that may not be the best route. You could also look at writing custom login in card.html specifically for the homepage. And based on card.html, it looks like to open quick view, the button has a class of 'quickview' which could be what's targeting the modal action. You could test with adding this class and making other modifications to the card.html. Search the card.html file for 'theme_settings.show_product_quick_view' to see how this works to help you achieve this on the homepage.

Click to GitHub repository from a Webpage

Is there a way to click a button on our webpage and it will bring the user back to our GitHub page to show repository information?
This is a group project, trying to have a click event at the bottom of the webpage that would take a viewer back to GitHub to check out the code/ReadMe/etc.
Possible?
What you need to do is to add a button, which should have the link of the Github repository you want to get to.
Something like this:
<button>
Go to your Github Repo
</button>
Not sure if this is what you need.
PS. You can add style to your button, by using any CSS library, or your own class.

Embed Form from Planning Center to Wix

We are trying to embed a form from Planning Center People to our Wix website. The code given is not compatible with Wix and we keep getting a "parsing error unexpected token" message.
Here are the instructions from the PCP website:
Step 1: Include the ChurchCenterModal script tag on your webpage in the of your document:
Step 2: Add a link to your website (the location, name, and style is up to you):
" data-open-in-church-center-modal="true">Fill out our form!
Alternatively, if your website's content management system doesn't allow you to control the html of the link, you can also use a parameter in the URL itself:
?open-in-church-center-modal=true">Fill out our form!
Bob:
I think you need to do two things on your Wix site.
You need to add the code that is required in the header section of your page
Step 1: Include the ChurchCenterModal script tag on your webpage in
the of your document:
You do this in your site dashboard->settings->tracking tools and analytics page. Just cut and paste the code in a head section after click Add Tool.
You need to use the alternate link method for getting the form
Alternatively, if your website's content management system doesn't
allow you to control the html of the link, you can also use a
parameter in the URL itself:
Give
online
To use this you should add a button on your page and create an onClick handler that calls wix-fetch. Using the URL only not the rest of the HTML.
Should look something like this:
export function button1_click(event) {
//Add your code for this event here:
fetch("https://<your subdomain>.churchcenter.com/giving?open-in-
church-center-modal=true");
}
Hope that helps.
Steve

How to post script at blogger, create script view at template

Someone know how to create script view at blogger.com?
i need to post script like this picture at my blog
Do you mean add a script too your blog? It can be done with it
With gadget
choose 'Tata Letak' menu on left, and on your page view find 'Tambah Gadget' and choose 'HTML/Javascript' then add your script.
Edit whole page
Or you can edit your whole page, choose 'Template' menu on left and click 'edit HTML' button, then add your script.
Then you can add a syntax highlighter, depending on this article
http://www.bungfrangki.com/2015/07/membuat-syntax-highlighter-otomatis-di-blogger.html
http://www.mybloggertricks.com/2015/04/SyntaxHighlighter-Shortcode-for-Blogspot.html
I guess it should have code option but If it doesn't When you are going to add new post there's an option to see the HTML codes in your post Go there and put your codes in <code> tag.
To display codes in blogger posts, from your editor press Quote button and insert your code. this will put your code between <blockquote> </blockquote>
image description here
and you can style the <blockquote> with CSS.

Showing all posts from a specific category

I want to create "view all posts" link to show all posts of a specific category in wordpress.
But as a newcomer I can't handle it. Can you tell me to create that type of link, which code should I write in functions.php file and which code should I write in page to create and show the link to visitors. Please make clear answer. I am very new,please.
Use the plugin Display Posts Shortcode.
Create a page and add the shortcode to it
Add a link to that page in the menu f your choice