Updatable Page Title Adobe Business Catalyst - html

Look here.
I want to update the BC page title tag so that it updates and shows the correct page title on every page. Right now it's in the website template and it needs to stay there for ease for customer editing.

{tag_pagetitle} Displays current page title. Must be used within the title tag of the template.
eg.
<!-- TemplateBeginEditable name="doctitle" -->
<title>{tag_pagetitle}</title>
<!-- TemplateEndEditable -->

Related

Link to ID tag from a different page does not jump to section

I have reusable navbar with links to id/sections as follows:
<!-- Item -->
<section id="item"></section>
<!-- Link -->
Item
This works on the homepage as intended. However, when linking from another page (such as http://localhost:3000/blog) the link only takes me to the top of the landing page and not to the actual id. The window location still says it's http://localhost:3000/#item though.
Clicking again once on the landing page works.

HTML elements being misplaced while loading view within another view in codeigniter

I have called a view within another view
<!-- right area ends -->
</div><!--row marginTR-30px ends-->
</div><!--container marg-top-bnr ends-->
<!-- blog area ends -->
<?php $this->load->view('common/footer'); ?>
<?php $this->common_lib->compared_salon(); ?>
</div><!--body-inner salon-profile ends -->
Top
Here I have rendered my view footer after these element and html comment
<!-- right area ends -->
</div><!--row marginTR-30px ends-->
</div><!--container marg-top-bnr ends-->
<!-- blog area ends -->
But when it's loaded, the entire element available inside the footer view goes to some of its parent element as I'm able to see it with inspect element
Click here to see it in large view
All social icons are horizontally aligned, but due to tag structure change while loading view, its look is totally changed.
Earlier it's running well, I'm unable to find solution. According to me all footer tag element should come after these line, but it's showing before it.
<!-- right area ends -->
</div><!--row marginTR-30px ends-->
</div><!--container marg-top-bnr ends-->
<!-- blog area ends -->
Unfortunately you have not shown any of the HTML associated with your issue.
My educated guess is that your divs are "up the spout". I'd be looking at the actual HTML Source and making sure your pairs are where you expect them to be.
If you "had it working" and now it's not - it's very easy to have this happen (read as - I've done this myself on the odd occassion ).
UPDATE:
So out of all that code you provided, I found
<div class="marginT-30px social clearfix">
</div>
I'm Not sure if 6 x 4 is ever equal to 12! :)
I'd be going over that code with a fine tooth comb. I've no idea what or where marginT-30px and friends are set.

Is it possible to make an extra page from scratch in Blogger?

I want to add pages to a blog (in Blogger - https://www.blogger.com/home), but I want a different format and style for each of the pages on the blog.
I tried going to [Blog Name] -> Pages -> New page but the pages that are made uses the template of the main page, including the sidebar and header. Honesty, it looked no different from a blog post.
Can I create a completely blank page and add in all the HTML myself? Or is this not possible with Blogger?
Thanks!!
It is possible, but does require you to go into the editor and do some work.
Blogger uses xml, so you can write conditional tags. So above all of your content you could put the conditional tag, write up all of your HTML and then wrap the whole blog within the else statement.
Within the specific markup you'll need to include the whole tags for the content, like:
<!-- page title -->
<h1><a class='post-link' expr:href='data:i.link'><data:i.title/></a></h1>
<!-- page content -->
<data:i.body/>
otherwise you won't see whatever content you added within the page editor.
<b:if cond='data:blog.url == data:blog.canonicalHomepageUrl + "p/yourpageurl.html"'>
<!-- specific site markup -->
<b:else/>
<!-- All of the normal markup -->
</b:if>

Mediawiki: entering code into skin to only appear on certain pages?

Background
I am trying to add a Facebook Comment box into my Mediaskin php file, but when I use the code below the box appears on every page.
Code
<!-- /debughtml -->
</div>
<br />
<center><div class="fb-comments" data-width="800" data-num-posts="100" data-colorscheme="dark"></div></center>
<!-- /bodyContent -->
Question
How can I make the facebook comments appear only on read pages (pages with index.php?title= in the URL, but without &action=edit at the end of the URL?

Displaying adsense ads with dynamic information

I want to display ads on ad sense from dynamic content, I.E call an API and send in some keywords to get ads, is this possible?
E.G:
Adsense.GetAdsForKeywords("car, subaru, auckland");
Or failing that, have some mark up on the page for words to be used with adsense E.G
<span class="adsense-words">car,subaru,auckland</span>
you can't choose keywords for your ads , Google automatically choose ads for your site based on the text content of your site, as mentioned here Link .
but you can do Section Targeting , to emphasize the content between the section, you can use it as folows
<!-- google_ad_section_start -->
your preferred content goes here, google will emphasize more on this section, you can put your keywords span here
<span class="adsense-words">car,subaru,auckland</span>
<!-- google_ad_section_end -->
reference on section targeting