Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / Create new position in edit field

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

× OLD Forum post could be checked here : forum.joomprod.com

Create new position in edit field

More
11 years 8 months ago #10044 by loic
Replied by loic on topic Create new position in edit field
Hello,

Are you seeing the position when you edit a field in the backend ?

Is the position visible in the front end ?

What files have you modified to add this position ?

Best regards.
The following user(s) said Thank You: adarr
More
11 years 8 months ago #10047 by catalinads
Replied by catalinads on topic Create new position in edit field
Yes. When i edit a field in back end i see it.
Yes it's visible in front end
To add this position i used php myadmin : adsmanager_positions. i copied one and saved as a new one.
In lang file i gaved it a name.

The problem is that will save me the position of a field only if i use edit field mode.. and then save

When i Go to Details view .. i see myy fields in left in the place where you cand drag and drop them in diff. positions.

I have tried to edit positions.php(in admin/components/adsmanager). I copied a position ..i pasted it and then i replaced the id ..with the new position id.
I have new place there but without a name... and is not saveing the fields i drag there
<div class="fieldsarea">
								<span class="title"><?php echo htmlspecialchars($this->positions[7]->name) ?></span>
								<input type="text" size="50" id="title_position_<?php echo $this->positions[7]->id?>" name="title_position_<?php echo $this->positions[7]->id?>" value="<?php echo htmlspecialchars($this->positions[7]->title) ?>" />
								<ul id="fields_<?php echo $this->positions[7]->id?>" class="connectedSortable"></ul>
								<input type="hidden" id="listfields_<?php echo $this->positions[7]->id?>" name="listfields_<?php echo $this->positions[7]->id?>" />
							</div>
[attachment=958]pos.jpg[/attachment]



i think i have to do something more
Attachments:
The following user(s) said Thank You: adarr
More
11 years 8 months ago #10070 by tompap
Replied by tompap on topic Create new position in edit field
Are you sure about : $this->positions[7]

you can do <?php var_dump($this->positions) ?>
to see if 7 is correct maybe it's just 6 ?
The following user(s) said Thank You: adarr
More
11 years 8 months ago #10083 by catalinads
Replied by catalinads on topic Create new position in edit field
I used 6 and is working.
But i want to ask you why 6 ..if the id is 7. You can see in picture.
also i have seen that starts from 0...to 5 . Important is that work.
How to save it ... to not loose at the next update of adsmanager?
Attachments:
The following user(s) said Thank You: adarr
More
11 years 8 months ago #10121 by loic
Replied by loic on topic Create new position in edit field
Hello,

Like Tompap suggested, did you try to do <?php var_dump($this->positions) ?> ?

What was displayed by that ?

Best regards.
The following user(s) said Thank You: adarr
More
11 years 8 months ago #10125 by catalinads
Replied by catalinads on topic Create new position in edit field
worked with 6 instead 7 .
i was curious why use 6 ..when the id is 7 ...
i've seen there that starts from 0 to 5
Topic is resolved.
Just tell me how to save that.. in case i will update my adsmanager at next version.
Like an ovveride
The following user(s) said Thank You: adarr
Moderators: perry
Time to create page: 0.168 seconds
Powered by Kunena Forum