How to add meta description/title to contact page in opencart - opencart

The contact page of my site is https://example.com/contact_us . On google, it shows like
which is not very good.
It seems there is no way to edit from admin panel the meta title and meta description of this page. neither on theme panel.
So, how to edit this from core files?
catalog/view/theme/default/template/information/contact.tpl
seems not having any related, and don't see a way to edit loading header just for this one page
can you have any idea ?

I hope it's 100% working for you.
Find the controller Path of Page. you wish to edit and then do the below,
PATH : catalog\controller\information\contact.php
Find:
$this->document->setTitle($this->language->get('heading_title'));
Add After:
$this->document->setDescription('My description, this is where i type my text after i remove this text.');
$this->document->setKeywords('my, keyword, this, is, the place, holder, for, my, keywords');

Related

New articles are not showing on Joomla home page

I am using JSN ESCAPE PRO template (LINK HERE) . I installed sample data but for some reson when I create new article it is not showing on home page. Does someone knows where is the problem ?
When you're editing the article, is Featured set to yes?
If it is, is your default menu item set to the type Articles ยป Featured Articles
That's the easiest way to have articles show up on the homepage, if you need more than one there.
In Joomla 2.5 the sample data home page depends on which sample data you chose. It could be the Joomla category blog view, so in that case you will want to either add your new article in that category or you will want to change the home page to another category view or maybe to featured like #Doyle-Lewis said.

How to create a static About us page in opencart

I am a beginner in using opencart.I need to create an About us page from admin and have to link it to my main menu navigation.How to get this?
Step 1 : Goto information link in catalog tab
Step 2 : click to insert a page or information page like about us
Step 3 : if you have enabled seo then you can write keyword for you aboutus page or information page then your url will be easy to use e.g below if seo is disbaled then your url will be little boring e.g(index.php?route=information/information&information_id=4)or simpler to it which will not be good to share or use
NOTE: for seo you should use .htaccess file
It very simple go to admin panel
catalog -> Information
here you can see all the static pages such as About us,Delivery Information etc
edit them and changes will appear on front page .
to insert new page
catalog -> Information -> Insert
most complex opencart themes have a module like menu that you almost always can edit in the backend, if you wish to you can add it manually, to do so locate header.tpl in catalog->view->theme->common and see if menu is called directly there probably in a section or in an external file, probably located in the same folder, if you wish to you can send me a message with further info and i would be glad to further assist you, its really simple, if you find your way around.

Trac wiki subpage linking

I have Trac wiki page with multiple subpages like
(wiki:)Rootpage/More info/Details/Details on details
I need to create links on the last subpage on this path. If I put it
[[Rootpage/More info/Details/Details on details]]
Trac suggests me to create new page, even thought it regognizes the page with same/similar name. My typing is correct.
I get a red link when I add / in front of the link like
[[/Rootpage/More info/Details/Details on details]]
but when clicking it,it causes not found -error. Confusing. Can anyone help me fix this?
The answer turned out to be hard to see whitespaces on page names.

Joomla 2.5 pagination settings from administrator

I am beginner to joomla, currently using version 2.5. I have came across a problem with pagination. In my site pagination on all the pages were working well, but suddenly, I don't see any pagination for any page. I don't realized, what setting from admin panel I have changed. I have checked the settings from the Article Manger->options->Shared Options, but all are ok.
Is there any other settings in admin panel to show pagination?
Any help appreciated.
Thanks.
You must seach this in Article Manger->options->"First Tab"
But it can be also placed in the main menu item: Menu->MainMenu->"First item" general settings...
I have realize the problem, when I put <jdoc:include type="module" name="cblogin" /> in my template file, then all the pagination links get disappeared. I have also checked with putting below code -
jimport('joomla.application.module.helper');
$mods = JModuleHelper::getModules('cblogin');
echo JModuleHelper::renderModule($mods[0]);
but, nothing has changed. Is there any other solution to load module into html code?
If you want to add modules to articles, one way is to add a custom position to the article then assign the module to that position. In the article editor add this code
[loadposition myNewPosition]
Then you can assign any module to myNewPosition on the position option. Make sure the module is assigned to all pages.

Changing metatag "title"

I need to change the title of my website, because now the title is "Home".I want to add a "like" button to the website and I want something different instead of "Home" for the title. I tried changing the meta tag for "title" but running the url through the facebookb debug tool it says:
Attempted Frozen Title Change It appears that you are trying to change
the property og:title from XX to XY. If so, you are not allowed to for
this object because too many actions have been published against it.
How can I change the title? Thank you!
Sorry if my english is full of mistakes.
There isn't any way to change it. Facebook is basically telling you too many users have the object with the original title connected on Facebook. Changing after too many actions can be seen as an attempt to be misleading.