in my language/english/controller/home.php file, the paragraph that I inserted that says specializing in, etc is writing over the paragraph that starts with log yourself in, etc here is my code I have tried everything, including inserting more paragraph commands and nothing is working thanks much
Specializing in vintage and discontinued perfume, vintage jewelry and vintage purses. ';
// Text
$_['text_greeting'] = '
Log yourself in if you are a returning customer,
create an account ,
or browse the store by clicking on a category on the left.
Specializing in vintage and discontinued perfume, vintage jewelry and vintage purses. ';
// Text
$_['text_greeting'] = '
Log yourself in if you are a returning customer,
create an account ,
or browse the store by clicking on a category on the left.
Leave those lines there and add what you want below them, eg.dmbrownfield wrote: these are the only 2 lines of code in this file. what do I change in this file? thanks.
Code: Select all
<div class="heading"><?php echo $heading_title; ?></div>
<?php echo $text_greeting; ?>
[color=blue]<p>Specializing in vintage and discontinued perfume, vintage jewelry and vintage purses.</p>[/color]
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!
The suggested fix did not work. I don't understand why I could add almost a whole page of text to the file but not this one line - I will do without it.
What you were doing in Home.php was assigning your text to the variable $text_greeting which was echoed to the screen in home.tpl.
When you tried to do the same thing with your specials, it was being displayed immediately on the screen.
When you then run the home.tpl, it overwrites you specialty text.
You should do all screen display in the tPL files to maintain the flow of display.
When you tried to do the same thing with your specials, it was being displayed immediately on the screen.
When you then run the home.tpl, it overwrites you specialty text.
You should do all screen display in the tPL files to maintain the flow of display.
Brent
Who is online
Users browsing this forum: No registered users and 2 guests