Hi guys,
I want to know how to make the greeting text on the homepage editable from the Control Panel by the admin.
In fact what I want to do is to make an introduction text of the company editable and then link to a page with more details which is also editable by the admin.
Like the information link on the left panel, but I need some text to be displayed on the homepage.
Any ideas ?
I want to know how to make the greeting text on the homepage editable from the Control Panel by the admin.
In fact what I want to do is to make an introduction text of the company editable and then link to a page with more details which is also editable by the admin.
Like the information link on the left panel, but I need some text to be displayed on the homepage.
Any ideas ?
Search chinese language support and other language support... there are a few threads about this regarding changing your charset in the language/french/french.php file and/or databaseHeilong wrote:
But, as I'm using french language, the specials characters like é or à, are displayed like this : ? .
Any help about that ?
I'm using version 0.7.7 and I did exactly what was written in the readme file. and for my version of OC I changed the 2nd line as mentionned
my admin menu is still not displayed.Add the following lines to "admin/extension/module/menu.php":–
$view->set('text_homepage', $language->get('text_homepage'));
$view->set('homepage', $url->rawssl('homepage'));
NOTE: If using OpenCart 0.7.7 or 0.7.8, the second line should read as follows:–
$view->set('homepage', $url->ssl('homepage'));
I don't have that version anymore. I'm using the 0.7.9 version but do you have this part
Any instructions on editing the menu.tpl ?Edit your store‘s "(path to your store)/admin/template/default/module/menu.tpl" file by inserting the following line:–
['', '', '', null, null],
before the line that reads –
['', '', '', null, null]
That's weird. I know the version for 0.7.8 works because I had it working before I moved to 0.7.9
Are you saying that when you go to Admin and go to Catalog, there is no Home Page on the menu ?
Have you installed any other contributions/modules since installing the Home Page contribution, which may have overwritten the menu
Did the SEO or Import/Export modules overwrite your menu.tpl
Have you downloaded the menu.tpl and had another look to see if those lines are still in there?
Do you have it working on a local version which would indicate there is something wrong with the file in your online site.
Also check this
Note there is no 'raw' for version 0.7.7 and 0.7.8
Are you saying that when you go to Admin and go to Catalog, there is no Home Page on the menu ?
Have you installed any other contributions/modules since installing the Home Page contribution, which may have overwritten the menu
Did the SEO or Import/Export modules overwrite your menu.tpl
Have you downloaded the menu.tpl and had another look to see if those lines are still in there?
Do you have it working on a local version which would indicate there is something wrong with the file in your online site.
Also check this
Code: Select all
$view->set('homepage', $url->rawssl('homepage'));
NOTE: [color=red]If using OpenCart 0.7.7 or 0.7.8[/color], the second line should read as follows:–
$view->set('homepage', $url->ssl('homepage'));
Last edited by jty on Thu Nov 13, 2008 4:12 pm, edited 1 time in total.
Hi Hellong,
I've just done a test on this. I installed a clean 0.7.7 with no mods, then added the current homepage package (following the instructions - in fact, I copied and pasted from the documentation into the relevant files) and everything worked as it should. I can only conclude that you must have made a mistake somewhere while editing the menu files, maybe a typo? eg. did you forget the comma at the end of the line?
Fido-X.
I've just done a test on this. I installed a clean 0.7.7 with no mods, then added the current homepage package (following the instructions - in fact, I copied and pasted from the documentation into the relevant files) and everything worked as it should. I can only conclude that you must have made a mistake somewhere while editing the menu files, maybe a typo? eg. did you forget the comma at the end of the line?
Fido-X.
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool
If you're not living on the edge ... you're taking up too much space!
Hi guys,
The problem was actually a mistake in the admin menu.tpl file, some lines not well commented. Now it's working.
But I still have a problem of characters encoding, I'm using french in my website and everything I write after a special french character for home page description all the after is not displayed on the homepage.
MySQL database setting set to "utf8_unicode_ci" even for the homepage and homepage_description tables.
Any ideas what to do ? Maybe when inserting values in the database ? i'm investigating...
The problem was actually a mistake in the admin menu.tpl file, some lines not well commented. Now it's working.
But I still have a problem of characters encoding, I'm using french in my website and everything I write after a special french character for home page description all the after is not displayed on the homepage.
MySQL database setting set to "utf8_unicode_ci" even for the homepage and homepage_description tables.
Any ideas what to do ? Maybe when inserting values in the database ? i'm investigating...
Who is online
Users browsing this forum: No registered users and 6 guests