Support Forums

Fluid Template (Pricing Module Workflow)

This is a discussion on Fluid Template (Pricing Module Workflow) within the TemplateCodes forums, part of the Third Party Support category; A customer suggested the following enhancement as he felt that pricing does not need to be displayed when a customer ...


Go Back   68 Classifieds Forums > Third Party Support > TemplateCodes

Reply
 
Thread Tools Display Modes
Old 07-16-2009, 11:52 AM   #1
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,008
Rep Power: 74
seymourjames is a jewel in the rough
Default Fluid Template (Pricing Module Workflow)

A customer suggested the following enhancement as he felt that pricing does not need to be displayed when a customer is logged in. This makes perfect sense as there is a 'place an ad link'. There is no real point having your visitors potentially repeating part of the same process twice.

This code basically stops the pricing module from showing when you are logged in.

Here is what to do.

Find your accordion.tpl file in the directory modules/templatescodes/templates/

Replace the line

{if $adpack }

with this

{if $adpack && $smarty.session.username=='' && $smarty.cookies.username==""}

Then in each of your layout.tpl files (for each Fluid template) do exactly the same replacement. Notice it is two single quotes ' ' and then two double quotes " ". This does not show clearly in the code above.

Its up to you. We will be doing this now by default but it is a workflow choice.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds and Version 4 Templates
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
New Fluid Templates seymourjames TemplateCodes 2 07-09-2009 12:41 PM
User Add Images Workflow seymourjames Modules / Plugins / Modifications 12 11-09-2008 08:34 PM
Payment workflow seymourjames Technical Support 3 05-26-2008 11:16 AM


All times are GMT -4. The time now is 01:21 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0