Download  |  Search  |  Log in  |  FAQ  |  Memberlist  |  Online  |  TYPO3.org Developer Resource
Home » TypoScript » Other
Post new topic   Reply to topic Page 1 of 1 [3 Posts] macinabanners weird link problem
Author Message
comkreet



Joined: 11 Aug 2006
Posts: 4

PostPosted: 11 Aug 2006 - 10:23 am    Post subject:  macinabanners weird link problem
Subject description: very weird link problem
Reply with quote

Hello

I have a very very very weird problem with a macinabanner plugin.

Everything is working fine, banners are showing perfectly random with links ext ext

Now the BIG problem ... NON of the other page are working IF you click on there button in the menu !!
BUT if you enter the url (index.php?id=20) before you clicked on the link it display's perfect !!!!!!!

if i delete the banner script in the TSconfig everything is working perfect


here is the problemsite

http://www.credopartners.be/index.php?id=1 - this page displays OK

now click on a link in the menu ... and bam ERROR

change the ID number to a page that you didn't visit and voila its working

i hope someone can help me !

Thanks

dries[/u]
Back to top
View user's profile Send private message
comkreet



Joined: 11 Aug 2006
Posts: 4

PostPosted: 16 Aug 2006 - 7:34 am    Post subject: Reply with quote

here is the setup script
i use the tx_automaketemplate_pi1 to


Line:  Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# Configuring the Auto-Parser:
plugin.tx_automaketemplate_pi1 {
  # Read the template file:
  content = FILE
  content.file = fileadmin/template/main.html

    # Here we define which elements in the HTML that
    # should be wrapped in subpart-comments:
  elements {
    BODY.all = 1
    BODY.all.subpartMarker = DOCUMENT_BODY

    HEAD.all = 1
    HEAD.all.subpartMarker = DOCUMENT_HEADER
    HEAD.rmTagSections = title

    TD.all = 1

  }

    # Prefix all relative paths with this value:
  relPathPrefix = fileadmin/template/
}

# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
    # Feeding the content from the Auto-parser to the TEMPLATE cObject:
  template =< plugin.tx_automaketemplate_pi1
    # Select only the content between the <head>-tags
  workOnSubpart = DOCUMENT_HEADER
}

# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
    # Feeding the content from the Auto-parser to the TEMPLATE cObject:
  template =< plugin.tx_automaketemplate_pi1
    # Select only the content between the <body>-tags
  workOnSubpart = DOCUMENT_BODY








#### banner shitze TOP
subparts.bannertop < plugin.tx_macinabanners_pi1
subparts.bannertop {
# show banners with this attribute. Options are: top, left, bottom, right
placement = top
#mode to show banners. Options are: all, random
mode = random
# list of page IDs where the banners should be taken from (comma seperated. i.e.: 1,5,7)
pidList = 62
# levels of recursion to search for banners
recursive = 2
# Limit number of banners
results_at_a_time = 2
}
marks.bannertop < subparts.bannertop


#### banner shitze rechts
subparts.bannerrechts < plugin.tx_macinabanners_pi1
subparts.bannerrechts {
# show banners with this attribute. Options are: top, left, bottom, right
placement = right
#mode to show banners. Options are: all, random
mode = random
# list of page IDs where the banners should be taken from (comma seperated. i.e.: 1,5,7)
pidList = 62
# levels of recursion to search for banners
recursive = 2
# Limit number of banners
results_at_a_time = 2
}
marks.bannerrechts < subparts.bannerrechts



###hoofd menu  ###
subparts.main_menu = HMENU
subparts.main_menu.entryLevel = 0
subparts.main_menu.1 = TMENU
subparts.main_menu.1 {
   expAll = 0
   NO.allWrap = <hr>&nbsp;&nbsp;|<br>
   }
subparts.main_menu.2 = TMENU
subparts.main_menu.2 {
expAll = 1
NO {
allWrap = &nbsp;&nbsp;&nbsp;&nbsp;|<br>

beforeImg = media/bullets/bullet1_n.gif
beforeROImg = media/bullets/bullet1_h.gif
RO = 1
   }
}


#### sub menu

/// menu - click toon subpaginas vanuit een DIR
subparts.sub_menu = TEXT
subparts.sub_menu.value = SUB MENU
subparts.sub_menu = HMENU
subparts.sub_menu.special = directory
subparts.sub_menu.special.value = 2
subparts.sub_menu.1 = TMENU
subparts.sub_menu.1.NO {
   linkWrap= <div id="submenu_item">|</div>
   }

###main_content###
subparts.main_content < styles.content.get
subparts.main_content.renderObj.stdWrap.wrap=<div id="kader"> | </div><br>

}

# Default PAGE object:
page = PAGE
page.typeNum = 0

# Copying the content from TEMPLATE for <body>-section:
page.10 < temp.mainTemplate

# Copying the content from TEMPLATE for <head>-section:
page.headerData.10  < temp.headTemplate


 Show complete code
Back to top
View user's profile Send private message
comkreet



Joined: 11 Aug 2006
Posts: 4

PostPosted: 17 Aug 2006 - 7:14 am    Post subject: Reply with quote

Crying or Very sad Crying or Very sad
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Home » TypoScript » Other
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum