This is a discussion on Change Template on Index page for users within the v4 Questions & Support forums, part of the Help & Support category; I don't want the "change template" button to appear for the users.... How is this fixed? Thanks......
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
I don't want the "change template" button to appear for the users....
How is this fixed? Thanks...
__________________
~~ Lorren Any advice is always appreciated. ![]() v 3.1.10 Developer; v 4 Developer |
|
#2
|
||||
|
||||
|
Where is this shown? I don't see it on the demo.. http://demo.68classifieds.com/
My guess would be to just delete it from the template, but I don't know where its at, otherwise I'd tell you about what template it is.
__________________
Version 4.0.3 Developer |
|
#3
|
||||
|
||||
|
It is in the purple template.....
See image... It is shown bottom, left. From that button you can switch back and forth between templates...even users can do this. I don't want this to happen. How do I fix please?
__________________
~~ Lorren Any advice is always appreciated. ![]() v 3.1.10 Developer; v 4 Developer |
|
#4
|
||||
|
||||
|
Just delete that part around line 98
PHP Code:
__________________
Mike-N-Tosh v3.1.10 Developer IndianaPC.org - A community website Sandbox v4.0, 4.0.1, 4.0.4, 4.0.8, 4.1b3 Templates for sale | 68 Classifieds Customizations | My blog on 68 Web Hosting | Web Design & Development I am not a 68C employee, just a user and try to help out |
|
#5
|
||||
|
||||
|
Thanks Mike!!!
__________________
~~ Lorren Any advice is always appreciated. ![]() v 3.1.10 Developer; v 4 Developer |
|
#6
|
||||
|
||||
|
A better way to do it is to surround the piece of code with this
PHP Code:
__________________
Super Mod v4 Is out and ready for download. DEMO Purchase V4 Super Mod BETA at Reduced Price Visit Me @ Classified-Sofware.co.uk **Important** - All modules with the exceptions of the Bulk Upload System will be removed from my modshop on Tuesday September 30th. If you require a module you must get it before that date. |
|
#7
|
||||
|
||||
|
Code:
{if $smarty.session.userlevel==1}
{list_templates}
</div>
{if}
It draws a blank page.
__________________
~~ Lorren Any advice is always appreciated. ![]() v 3.1.10 Developer; v 4 Developer Last edited by Soleiltan; 03-15-2008 at 08:05 PM. |
|
#8
|
||||
|
||||
|
I noticed you have " " around your "1" and maffo doesn't. Try it without the " "
__________________
Version 4.0.3 Developer |
|
#9
|
||||
|
||||
|
Yes...I added the quotes around the 1, moved around the code....still doesn't work.
__________________
~~ Lorren Any advice is always appreciated. ![]() v 3.1.10 Developer; v 4 Developer |
|
#10
|
||||
|
||||
|
Figured it out...uh, duh....
Here's the corrected code intermingling Mike's reference and Maffo's Mod. Code:
<div id="bottomnav">
{if $smarty.session.userlevel==1}{list_templates}
</div>
{/if}
__________________
~~ Lorren Any advice is always appreciated. ![]() v 3.1.10 Developer; v 4 Developer |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Coding help needed to change look of "choose an ad package" page. (Will Pay) | Greg H | v3.1 Modules & Modifications | 0 | 01-28-2008 10:25 PM |
| index page | Jessej | v3.0 Questions & Support | 1 | 01-22-2008 09:40 AM |
| Getting Google To Re-Index A Page After Title Change? | bgordon | Site Marketing | 9 | 05-15-2007 01:04 AM |
| Want To Change Page Background Color | tripper | HTML, CSS, and Design Help | 3 | 05-01-2007 05:35 PM |
| Change template layout | objelland | v3.1 Questions & Support | 5 | 12-15-2006 09:16 AM |