11
JMorris
Re: Links at the bottom of my page as XOOPS
  • 2007/6/22 17:32

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


Again, you're confusing themes with templates. Please see XOOPS for Dummies.

You may also want to read What is a theme and what is a template?
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

12
BlueStocking
Re: Links at the bottom of my page as XOOPS

Using my site as a reference..
To change the theme footer you would
find this type code in your theme.html
and insert your links at the place I have pointed out in red. Using the html link format.
The code may look different but it will be similar in nature.

Good luck

<!-- End center-left blocks loop -->
    <!-- 
Start center-right blocks loop -->
<{foreach 
item=block from=$xoops_crblocks}> <{if $block.title != ''}>
    <
div class="blockTitle"><{$block.title}></div>
<{/if}>
    <
div class="blockContent"><{$block.content}></div>
<{/foreach}>
    <!-- 
End center-right blocks loop -->
  </
div>
  <
hr style="width:90%; height:1px; clear:both; text-align:center;" />
[
b][color=660000]ADD YOUR LINKS HERE[/color][/b]
  <
div id="ftr"><{$xoops_footer}><br />Theme by <a href="http://mywebresource.com/" title="MyWebResource" target="_blank">MyWebResource</a></div
</
div>
</
body>
https://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

13
JMorris
Re: Links at the bottom of my page as XOOPS
  • 2007/6/22 17:43

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


<{$xoops_footer}>


If your theme has the above SMARTY variable in it, like the above code does, just go to System Admin »» Preferences Main »» Meta Tags and Footer then add what you want in the Footer box and click GO!.

Your code will now display in the footer of your site.
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

14
BlueStocking
Re: Links at the bottom of my page as XOOPS

Thank you.
https://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

15
psaxtiri
Re: Links at the bottom of my page as XOOPS
  • 2007/6/22 18:19

  • psaxtiri

  • Not too shy to talk

  • Posts: 185

  • Since: 2007/6/17


Wow I was outside for shopping and I open my pc and saw 2 pages of answers!!

Frankly I have a “Meta Tags and Footer” at the admin.
Ok now the html part is easy. I will put 3 links. But those links must link (!!!) somewhere.
At three different html pages with my prefer text.
You see I want to have the same model as XOOPS here. When you press “terms of use” for example to open a page inside the same site with the text of terms of use and so on.
Greece.
Xoops 2.0.18.12

16
BlueStocking
Re: Links at the bottom of my page as XOOPS

According to James post, I edited the footer as he suggested / admin/preferences/ selecting footer and adding the 'red letter' ADD YOUR LINK HERE.

Note: Going into the designers theme.html allows for editing all of the themes footer. Going through the admin panel does not.

____________

Now, Wanting the same as XOOPS has I would copy their format. 1) right click on the link terms of service and see where it leads. for Terms of Service. 2) following their lead I would design mine somewhat like it. Go to your own terms of service page and copy the entire link.
use that to build your link.
________________
You can see an example of that with following the EDIT link on my main theme page and see how it was formed to take you directly to the area I wished you to go with that link.

I didn't care about having to go to the admin panel and all that jazz to edit one block so I added this feature,
<blockquote>
  <
p align="right">JMorris >><a href="http://upnrunnin.hypermart.net/xoops02/modules/system/admin.php?fct=blocksadmin&op=edit&bid=30" target="_blank">Easy EDIT: for this block.</a><br><b>[color=990000]End useryou may leave a comment in the wiki portion of this forum.[/color]</b></p
</
blockquote>


Good luck ...
https://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

17
psaxtiri
Re: Links at the bottom of my page as XOOPS
  • 2007/6/22 19:03

  • psaxtiri

  • Not too shy to talk

  • Posts: 185

  • Since: 2007/6/17


Ok i don't want to be annoying but i haven't already a "terms of use" html page or advertise page or privacy policy.

Thats the point.

I want to make for each of them an HTML page and connect them with the links i have at the footer.

But the point is how XOOPS makes it to open at the same page?

What do i have to do?

PS: I use the default theme of Xoops
Greece.
Xoops 2.0.18.12

18
BlueStocking
Re: Links at the bottom of my page as XOOPS

I would pull up their page, then 'save as' whole page to my desktop - from that ...design my own version of the terms of service etc. -- the save as will put the images in a folder related to the page you saved, package deal with ie6. They will all be on your desktop. Edit to your satisfaction then upload to your site. The kicker is the name you save as cannot be changed, so save as the filename you intend for live use.

the 'target_blank' on your link formation causes the link to open in a new window instead of the window it was called from.

IF you do a save as on your site then add the terms of service info center block area you will have the side link active and they will link to XOOPS pages as normal.

Seehttp://xoops-end-user.com/index.htm

I link to my various subdirectorys with html and use it often to get things done quickly and provide additional backup.
https://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

19
tom
Re: Links at the bottom of my page as XOOPS
  • 2007/6/22 19:59

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


Quote:

psaxtiri wrote:
Ok i don't want to be annoying but i haven't already a "terms of use" html page or advertise page or privacy policy.

Thats the point.

I want to make for each of them an HTML page and connect them with the links i have at the footer.

But the point is how XOOPS makes it to open at the same page?

What do i have to do?

PS: I use the default theme of Xoops


Bluestocking is pretty much confusing the matter here, ok:

a. if you need a content module to display the tos, disclaimers, etc, etc, then choose one, I tend to use the smart modules alot as I like their usability.

You can find their modules at:

http://www.smartfactory.ca/

have a look at smartsections.

If your theme contains the xoops_footer smarty tag as mentioned before in my post, then you can add the links in the XOOPS admin:

admin ---> system ---> Meta Tags and Footer

If the theme your using doesn't have that smarty tag then you can either add it yourself and make the changes in your admin, or hard code the links into your theme.

to open a page in the same window use the target='self'

<a href="http://yourlink" target="_self">link title</a>

I believe the default theme has the smarty tags in them, however it's been a long time since I played with the default theme, so don't quote me on that.

I hope this is of help.

PM me if your still stuck and we can msn or something.

[edit] by omitting the target frame self it should load in the same page though.
Kind Regards.
Tom

http://bassmanthemes.com
http://www.xoopslance.com

20
psaxtiri
Re: Links at the bottom of my page as XOOPS
  • 2007/6/22 20:23

  • psaxtiri

  • Not too shy to talk

  • Posts: 185

  • Since: 2007/6/17


Quote:

tom wrote:
Quote:

psaxtiri wrote:
Ok i don't want to be annoying but i haven't already a "terms of use" html page or advertise page or privacy policy.
Thats the point.
I want to make for each of them an HTML page and connect them with the links i have at the footer.
But the point is how XOOPS makes it to open at the same page?
What do i have to do?
PS: I use the default theme of Xoops

Bluestocking is pretty much confusing the matter here, ok:
a. if you need a content module to display the tos, disclaimers, etc, etc, then choose one, I tend to use the smart modules alot as I like their usability.
You can find their modules at:
http://www.smartfactory.ca/
have a look at smartsections.
If your theme contains the xoops_footer smarty tag as mentioned before in my post, then you can add the links in the XOOPS admin:
admin ---> system ---> Meta Tags and Footer
f the theme your using doesn't have that smarty tag then you can either add it yourself and make the changes in your admin, or hard code the links into your theme.
to open a page in the same window use the target='self'
<a href="http://yourlink" target="_self">link title</a>
I believe the default theme has the smarty tags in them, however it's been a long time since I played with the default theme, so don't quote me on that.
I hope this is of help.
PM me if your still stuck and we can msn or something.
[edit] by omitting the target frame self it should load in the same page though.


Ok last post for today.
When I say at the same window I don’t mean at the same browser window but at the main page of my site.
Try to click on terms of use at Xoops. U see? It goes to the text but you are still at the same page.

PS: my theme contains the xoops_footer smarty tag
Greece.
Xoops 2.0.18.12

Login

Who's Online

148 user(s) are online (93 user(s) are browsing Support Forums)


Members: 0


Guests: 148


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits