I'm trying to install a Magento theme.I am trying to install it by coping theme's app,skin and js folder into magento's app,js and skin folder.Theme works okay except the home page.
In homepage's content section i have add this:
<div>
{{block type="catalog/product_list" template="catalog/product/my_template.phtml"}}
</div>
which loads theme's template and sets its design but in my case it doesn't apply the template, What i lack here?
Other Pages like About us,Contact us are working according to theme but not homepage..
In the other pages which are working,content written in content section is directly a data,where in homepage it is a reference to a template called "my_template.phtml"..
help me guys!
Related
We know that we can use pages or components in ionic. These pages and components contain .html files, which have html markup. When we build the app, all these files are bundled into the app.
My question is whether we can use or embed external .html files and act on that .html file.
For example: if we have a login page which contains username and password fields and submit button. We have already defined css for this page. There is a requirement for my project to embed external .html file and use it as login page. It may have a different css.
if you mean that you have html tags in JSON response for example and you want to add them to ionic just do :
<div [innerHTML]="your-JSON-response-Html"></div>
I'd like to integrate dokuwiki as part of a Bootstrap site, within a div. Is this possible? I've tried a php include:
<?php include('dokuwiki/index.php'); ?>
but this effectively redirects - it just generates a completely new page, replacing the existing html. Note that the Bootstrap plugin doesn't do the job.
For a quick solution, it might be the time to use an HTML Frame.
in typo3 admin site, I am using TemplaVoilà to make html templates. I have many pages in my site, so I wonder if there is a way that I can check which page is using which html template in one overall page, instead of checking it one by one, something like:
contact page: home.html
employer page: employer.html
...
You can use a hook to add this information in the TemplaVoila s module.
I am having difficulty getting a form to show on a magento store I am working on. the site already has a contact form so I've copied the form.phtml file and renamed it brochure.phtml.
I've created a static page on the CMS section and added this line of code based on this qusetion
{{block type="core/template" template="contacts/brochure.phtml"}}
When I view the page though nothing shows up. What am I doing wrong? I've never used magento before so please be as detailed in your answers if you can.
CMS -> Pages ->Select your page -> Select "Content" on the left side navigation
Post this code there
{{block type="core/template" name="contactForm" form_action="/contacts/index/post" template="contacts/brochure.phtml"}}
make sure your brochure.phtml file is in the same folder as the form.phtml file. If your CMS page is coming up with the header, body format and the rest of the website layout but the middle content section is plain white then it is not loading your brochure.phtml. If this is the case I would then try loading the default form, so replace "brochure.phtml" with "form.phtml" and reload the page. If you see the default form then you know your brochure.phtml file is in the wrong location.
Hope this fixes your problem.
So I am working on Joomla 1.5 and retro fitting an existing website to work with this CMS. I've got most of the templates down and I have created Modules for Side navigation on the internal pages. However, on the original website, php in clauses are used to change the class of the link to show the current page the visitor was on (e.g
<a <?php if ($page=="career_opportunities") echo "class=\"currentpage\""; ?> href="?page=career_opportunities">Career Opportunities</a><br/>
<a <?php if ($page=="locations") echo "class=\"currentpage\""; ?> href="?page=locations">Practice Locations</a>
</div>
is it possible for me to maintain this structure in the new side navigation menu I created in joomla? Do I have to make it HTML customized type Module? Do I need to find a way to capture the current page's ID? Where should I begin?
Thank you in advance
You can do it by using css also which will be much easy for you to handle this using css.