Support Forums

Creating New Pages w/links

This is a discussion on Creating New Pages w/links within the Technical Support forums, part of the Technical Support Forums category; I couldn't find what I am trying to do in a search, so here's my question. If this is in ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 11-24-2008, 10:17 AM   #1
Member
 
Join Date: Nov 2008
Posts: 51
Rep Power: 12
RandyB will become famous soon enough
Default Creating New Pages w/links

I couldn't find what I am trying to do in a search, so here's my question.

If this is in the wrong forum, please move or advise me for future reference.

I'll try to explain the best I can. Two questions:

First Question:
I created a new page using the "page editor" option called "coupons".
I added some info to my newly created coupons page and four links.

These links I added will call the appropriate php files that I will create separately and have in another folder on my site. When a link is selected I would like these php files to open within the "content" area where, the coupon page is located (same area and page).

This is the code I tried but opens a new page which is not what I want.
I would like the link below, when clicked to call the franklin.php page I create.

<p style="text-align: center;"><a href="http://www.maloneads.com/coupons/franklin.php" target="self">Franklin County Coupons</a></p>

I'm assuming I need to use a certain "target" tag and/or smarty Though I have no clue to using smarty variables.

Second Question:
Also, can my newly created coupon pages when called scroll within the "content" area?
I would hate for my page to become a mile long.

Thanks,
Randy
__________________
New user as of 11-23-08 / 68 Classifieds Ver. 4.0.9 Developer Edition
Currently modifying the "Default Template" and everything else I can!
This script makes me feel like "a kid in a candy store"!
www.maloneads.com - my work slowly in progress.

Last edited by RandyB; 11-24-2008 at 01:32 PM.
RandyB is offline  
Old 11-24-2008, 12:24 PM   #2
Member
 
Join Date: Nov 2008
Posts: 51
Rep Power: 12
RandyB will become famous soon enough
Default

Okay I looked through templates and tried this:

<a href="{$smarty.const.URL}/coupons/franklin.php">Franklin County Coupons</a>

Though every time I save the HTML for the "coupon" page I created it turns into this:

<p style="text-align: center;"><a href="http://maloneads.com/administration/{$smarty.const.URL}/coupons/franklin.php">Franklin County Coupons</a></p>

Adding " http://maloneads.com/administration/ " after I save the page.
( I had this problem also when I tried " <p style="text-align: center;"><a href="http://www.maloneads.com/coupons/franklin.php" target="self">Franklin County Coupons</a></p> " ) Somehow I corrected the previous attempt to stop it from appending the URL and administration to the link.

Then the actual link, when clicked, on the page turns to this:

http://maloneads.com/administration/{$smarty.const.URL}/coupons/franklin.php

I be baffled, I'm not profecient in php or databases, though I can usually hack away and make things work.

Any help would be appreciated.
Thanks
__________________
New user as of 11-23-08 / 68 Classifieds Ver. 4.0.9 Developer Edition
Currently modifying the "Default Template" and everything else I can!
This script makes me feel like "a kid in a candy store"!
www.maloneads.com - my work slowly in progress.
RandyB is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating registered user benefits Martin Kay Pre Sales Questions 9 09-21-2008 12:35 PM
Creating A Site Map Of Search Results seymourjames Technical Support 4 07-24-2008 01:45 PM
Creating a test site crystal Technical Support 5 06-10-2008 08:31 AM
Links PAges/Scripts Tim_A Site Marketing 2 02-16-2007 09:07 AM


All times are GMT -4. The time now is 03:50 PM.


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