OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Home ID is hard coded in the template (0 viewing) 

OrdaSoft template Support

Go to bottom Favoured: 0

Home ID is hard coded in the template

alfoto (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Home ID is hard coded in the template 11 Years ago
Karma: 0  
The casualclothes template has the home id hard coded in the index.php file to avoid showing it and place the slideshow at top:
<?php if($_GET['Itemid']!='101'{ ?>

How is it supposed this will work in a multilanguage site ? The home ID is not a fixed number.


Also, which purpose has this code? :

<jdoc:include type="modules" name="mod_sale_top" style="none" /> <!-- This position for sale panel on ordasoft page. Do not delete! -->
Logged Logged
The administrator has disabled public write access.
Ulanovatem (User)
Gold Boarder
Posts: 295
graphgraph
User Offline Click here to see the profile of this user
OrdaSoft
Re:Home ID is hard coded in the template 11 Years ago
Karma: 7  
Hello,

1. Thank you for report about code, please delete
109 line and 114 line

2. You can delete this module position. You have the right to make any changes in template, please don't forget about "terms and condition"
ordasoft.com/News/Latest/terms-and-conditions.html

Best Regards,
OrdaSoft team
Logged Logged
Last Edit: 2013/03/06 09:21 By Ulanovatem.
The administrator has disabled public write access.
alfoto (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Re:Home ID is hard coded in the template 11 Years ago
Karma: 0  
This doesn't answer my question about a multilanguage site. The Id changes.
The correct way for a template is asking about the home id's to avoid and not only hard coding the one you have in the sample
Logged Logged
The administrator has disabled public write access.
Ulanovatem (User)
Gold Boarder
Posts: 295
graphgraph
User Offline Click here to see the profile of this user
OrdaSoft
Re:Home ID is hard coded in the template 11 Years ago
Karma: 7  
Sorry, what is "multilanguage site" and "hard coding " - these not connected!!!

We wrote to you how you may remove that, we show to you how you may use that.

If you have other questions or error please create new post with new questions.
Please not mess many questions in one post.


Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»