[Skip to main content](#vessel-content)

#   Category view change LIST to DIV: unexpected T\_Var

##

- **[theweasel68](/forum/user/13135-theweasel68 "View theweasel68's Profile")**
- [![theweasel68's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/13135-theweasel68 "View theweasel68's Profile") Topic Author
- [ Offline](/forum/user/13135-theweasel68)

Less More

- Posts: 48
- Thank you received: 0
-
-

13 years 9 months ago [\#89466](#89466) by [theweasel68](/forum/user/13135-theweasel68 "View theweasel68's Profile")  *[Category view change LIST to DIV: unexpected T\_Var](/forum/3-bug-report/78231-category-view-change-list-to-div-unexpected-t-var#89466 "HikaShop 2.1  Hi,  under HIKASHOP / DISPLAY / CATEGORY LISTING - when I change the setting from &quot;Type of Layout = List&quot; to &quot;Type of Layout = Div&quot;, then I get following error in the frontend:  Parse error: syntax error, unexpected T&#95;VARIABLE in /components/com&#95;hikashop/views/category/tmpl/listing&#95;title.php on line 10  I think this is a bug in HikaShop, and not my configuration?  Thx")* was created by *[theweasel68](/forum/user/13135-theweasel68 "View theweasel68's Profile")*

HikaShop 2.1

Hi,

under HIKASHOP / DISPLAY / CATEGORY LISTING - when I change the setting from "Type of Layout = List" to "Type of Layout = Div", then I get following error in the frontend:
**Parse error: syntax error, unexpected T\_VARIABLE in /components/com\_hikashop/views/category/tmpl/listing\_title.php on line 10**

I think this is a bug in HikaShop, and not my configuration?

Thx

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODIzMS1jYXRlZ29yeS12aWV3LWNoYW5nZS1saXN0LXRvLWRpdi11bmV4cGVjdGVkLXQtdmFyP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 9 months ago [\#89467](#89467) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Category view change LIST to DIV: unexpected T\_Var](/forum/3-bug-report/78231-category-view-change-list-to-div-unexpected-t-var#89467 "HikaShop 2.1  Hi,  under HIKASHOP / DISPLAY / CATEGORY LISTING - when I change the setting from &quot;Type of Layout = List&quot; to &quot;Type of Layout = Div&quot;, then I get following error in the frontend:  Parse error: syntax error, unexpected T&#95;VARIABLE in /components/com&#95;hikashop/views/category/tmpl/listing&#95;title.php on line 10  I think this is a bug in HikaShop, and not my configuration?  Thx")*

Hi,

What is present at this line ? That: Code:

&lt;?php$link = $this-&gt;getLink($this-&gt;row-&gt;category_id,$this-&gt;row-&gt;alias);?&gt;

If it is, add a white space just before the $link variable.

We have corrected it on our end. Thanks.

PS: to edit this view go in HikaShop &gt; Display &gt; Views, and edit the view "category / listing_title".

The following user(s) said Thank You: [theweasel68](/forum/user/13135-theweasel68 "View theweasel68's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODIzMS1jYXRlZ29yeS12aWV3LWNoYW5nZS1saXN0LXRvLWRpdi11bmV4cGVjdGVkLXQtdmFyP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.044 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
